June 18, 2013

Post: Virident vCache vs. FlashCache: Part 2

… were conducted with approximately 78GiB of data (32 tables, 10M rows each) and a 4GiB buffer pool. The cache devices were… The base MySQL configuration (configuration A) appears below: #####fixed innodb options innodb_file_format = barracuda innodb_buffer_pool_size = 4G innodb_file…_purge_threads = 1 innodb_fast_shutdown = 1 #not innodb options (fixed) back_log = 50 wait_timeout = 120 max_connections = 5000 max…

Post: Follow these basics when migrating to Percona XtraDB Cluster for MySQL

… can leave them behind. Lastly, once that bug above is fixed, and you still have MyISAM tables you wish to keep… would be good if your async master can use ROW based binlog format as well to achieve better consistency, if you have… certification becomes non-deterministic. Although the previous bug has been fixed on latest release (5.5.30-23.7.4), table…

Post: Dynamic row format for MEMORY tables

… client thread: Fixed-row format (FRF, Percona Server without this patch applied): Insertions in 900 seconds: 25962452. VmPeak: 6267692 kB Dynamic-row format (DRF): Insertions… of rows inserted). In the second test we check if the dynamic row format delivers the memory savings for VARCHAR fields agains the fixed row format

Post: Efficient Boolean value storage for Innodb Tables

… Checksum: NULL Create_options: Comment: *************************** 2. row *************************** Name: cbool Engine: MyISAM Version: 10 Row_format: Fixed Rows: 2097152 Avg_row_length: 7 Data_length: 14680064 Max… Checksum: NULL Create_options: Comment: *************************** 3. row *************************** Name: tbool Engine: MyISAM Version: 10 Row_format: Fixed Rows: 2097152 Avg_row_length: 11 Data_length: 23068672 Max…

Post: How fast can MySQL Process Data

… abstraction of storage engine which requires “row by row” processing which means function calls for each row. Lets see if we do some… table status like “m4″ \G *************************** 1. row *************************** Name: m4 Engine: MEMORY Version: 10 Row_format: Fixed Rows: 5000000 Avg_row_length: 129 Data_length: 685609952 Max…

Comment: Why MySQL could be slow with large tables ?

… which will need some tables with about 200-300 million rows. Each row consists of 2x 64 bit integers. The table structure… CHARSET=utf8 ROW_FORMAT=FIXED; My problem is, as more rows are inserted, the longer time it takes to insert more rows. I insert rows in batches of 1.000.000 rows. First insertion takes 10 seconds, next…

Comment: Why MySQL could be slow with large tables ?

… etc. I’m testing with table with ~ 10 000 000 rows generated randomly. In first table I store all events with…` (`ip_interval`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 ROW_FORMAT=FIXED AUTO_INCREMENT=10100001 ; The country codes stored in different table… select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE stat range dateline dateline 4 NULL 277483…

Post: Percona Server 5.5.15-21.0

… 5.5.15, a Fixed Row Format (FRF) is still being used in the MEMORY storage engine. The fixed row format imposes restrictions on the type of columns as it assigns on advance a limited amount of memory per row. This…. This implementation is based on the Dynamic Row Format (DFR) introduced by the mysql-heap-dynamic-rows patch. DFR is used to store…

Post: How number of columns affects performance ?

rows/sec ; 653MB/sec) t99v1 – 12.36 sec (1M rows/sec ; 93MB/sec) This shows there is surely the problem with dynamic row format table with many columns. But is it because of large number of columns or dynamic format on its… is fixed length when it is being processed). This conversion process depends on number of columns while for fixed rows the MyISAM storage format

Post: Blob Storage in Innodb

… ? This depends on 3 factors. Blob size; Full row size and Innodb row format. But before we look into how BLOBs are really… row formats (used in before Innodb plugin and named “Antelope” in Innodb Plugin and XtraDB) Innodb would try to fit the whole row…) format and the fix comes with Innodb Plugin in “Barracuda” format and ROW_FORMAT=DYNAMIC. In this format Innodb stores either whole blob on the row page…