June 18, 2013

Post: Ultimate MySQL variable and status reference list

myisam_data_pointer_sizeblogpercona.commanual myisam_max_sort_file_sizeblogpercona.commanual myisam_mmap_sizeblogpercona.commanual myisam_recoverblogpercona.commanual myisam_recover_optionsblogpercona.commanual myisam_recover_optionsblogpercona.commanual myisam

Post: How much space does empty Innodb table take ?

How much space would empty MyISAM table take ? Probably 8K for .frm file, 1KB for .MYI file … own. As we populate table we will see Free space will remain at zero as Data_length is small: mysql> show table status like “test_innodb… at certain point you will see Innodb Free space to become non zero: mysql> show table status like “test_innodb” \G *************************** 1. row *************************** Name…

Post: Efficient Boolean value storage for Innodb Tables

tables: mysql> show table status like “%bool%” \G *************************** 1. row *************************** Name: bbool Engine: MyISAM Version: 10 Row_format: Fixed Rows: 2097152 Avg_row_length: 7 Data

Post: How much overhead is caused by on disk temporary tables

… in practice. mysql> show global status like “key%”; +————————+———+ | Variable_name | Value…—–io—- –system– —–cpu—— r b swpd free buff cache si…MyISAM tables may not scale proportionally with table size, even when all data fits in memory MEMORY temporary tables

Comment: MySQL Server Memory Usage

show_innodb_status‘, ’167091′ ‘Com_show_keys’, ’136′ ‘Com_show_logs’, ’0′ ‘Com_show_master_status‘, ’105′ ‘Com_show_ndb_status‘, ’0′ ‘Com_show_new_master’, ’0′ ‘Com_show_open_tablesMyISAM which isnt used. sort_buffer_size=2M query_cache_size=10M # Might be increased thread_cache_size=40 table

Post: Living with backups

free of any cost. On the contrary, it’s more like doing very heavy queries against each tableMyISAM tables which have dedicated buffers only to store indexes, while the actual data is always read from disk. The active portions of tables…= $dbh->prepare(‘SHOW GLOBAL STATUS LIKE “Threads_connected…

Comment: COUNT(*) for Innodb Tables

… approximate number of rows as fast in Innodb as in myisam tables using “SHOW TABLE STATUS” command it will varry from real number to small… Rows: 11861 Avg_row_length: 222 Data_length: 2637824 Max_data_length: 0 Index_length: 5718016 Data_free: 5219811328 Auto_increment: 56416 Create_time…

Comment: InnoDB vs MyISAM vs Falcon benchmarks - part 1

SHOW TABLE STATUS: show table status\G *************************** 1. row *************************** Name: normal Engine: Falcon Version: 10 Row_format: Dynamic Rows: 1000 Avg_row_length: 0 Data_length: 10000 Max_data_length: 0 Index_length: 0 Data_free

Post: Is there room for more MySQL IO Optimization?

… files, binary log, FRM files, MySQL MyISAM system tables etc. Starting MySQL 5.5 MySQL… the table as it would be in the production over time: mysql> show table status like “post_channel…row_length: 75 Data_length: 20975714304 Max_data_length: 0 Index_length: 9047113728 Data_free: 6291456 Auto_…

Post: Using LVM for MySQL Backup and Replication Setup

…disk based storage engines It works with MyISAM and Innodb and BDB, It also …data back and standard MySQL crash recovery, and it can be reduced even further. More on this later. Freetables, but before that you should probably record binary log position which is done by running SHOW MASTER STATUS