Just some hints for my own reference and to help others
- use RAID10 and ext4 for database files
- check available and cached threads for MySQL (monitor)
- use InnoDB - whole database in ONE FILE (!)
- run mysqltuner.pl now and then
- monitor IO wait
- monitor size of tables via MySQL and overall size of InnoDB file itself
- use RAID10 and ext4 for database files
- check available and cached threads for MySQL (monitor)
- use InnoDB - whole database in ONE FILE (!)
- run mysqltuner.pl now and then
- monitor IO wait
- monitor size of tables via MySQL and overall size of InnoDB file itself
Code:
SELECT table_name,sum(data_length+index_length ) / 1024 / 1024 "MB" FROM information_schema.TABLES WHERE table_schema'"zabbix";

Comment