June 19, 2013

Post: Dynamic row format for MEMORY tables

… 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… VARCHAR(4096) NOT NULL DEFAULT ”, PRIMARY KEY (id)) ENGINE=MEMORY ROW_FORMAT=DYNAMIC DEFAULT CHARSET=latin1; Also we modify the sysbench non-transactional…

Comment: Adventures in archiving

…). #drop table if exists $table_dynamic; create table $table_dynamic like $table; alter table $table_dynamic row_format=dynamic; insert into $table_dynamic select * from $table limit…; create table $table_16 like $table; alter table $table_16 row_format=compressed key_block_size=16; insert into $table_16 select…

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…) 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… which are often stored outside the page. COMPRESSED row format is similar to DYNAMIC when it comes to handling blobs and will use…

Post: Real-Life Use Case for "Barracuda" InnoDB File Format

… to Barracuda file format using new InnoDB plugin recently released by Oracle. First thing I’ve tried was DYNAMIC row format. After 3,5…/O load. This was related to the fact that with DYNAMIC row format InnoDB was able to keep an entire PRIMARY index in… and I’ve tried to convert this table using COMPRESSED row format. This time conversion took 1,5 hours and results were…

Post: Trying Archive Storage Engine

… this case. Original Table: *************************** 1. row *************************** Name: requests_061111 Engine: MyISAM Version: 9 Row_format: Dynamic Rows: 8048913 Avg_row_length: 252 Data_length: 2030206088 Max… table compression gives us: *************************** 1. row *************************** Name: requests_061111 Engine: ARCHIVE Version: 9 Row_format: Dynamic Rows: 8048913 Avg_row_length: 0 Data_length: 0 Max…

Post: Air traffic queries in InfiniDB: early alpha

…, so I had to transform the input files into a format that cpimport could understand. Total load time was 9747 sec… there, it shows Name: ontime Engine: InfiniDB Version: 10 Row_format: Dynamic Rows: 2000 Avg_row_length: 0 Data_length: 0 Max_data_length: 0… cannot, it will automatically switch the query to run in row-by-row mode. but query took 667 sec : so I skip…

Comment: InnoDB vs MyISAM vs Falcon benchmarks - part 1

… 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… Collation: latin1_swedish_ci Checksum: NULL Create_options: Comment: 1 row in set (0.00 sec) The file size was 354MB…

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 own… very similarly to how indexes are stored. Summary: Beware of dynamic row format tables with many columns they might bite you with surprise…

Post: Percona Server 5.5.15-21.0

….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… tables. This implementation is based on the Dynamic Row Format (DFR) introduced by the mysql-heap-dynamic-rows patch. DFR is used to store column…

Post: Data compression in InnoDB for text and blob fields

…. With the original InnoDB Antelope file format you have the choice of ROW_FORMAT=COMPACT and ROW_FORMAT=REDUNDANT where InnoDB stored the first 768… file format (available since InnoDB plugin 1.1 or MySQL 5.5) you can now leverage table compression by specifying ROW_FORMAT=COMPRESSED… the  dynamic variable innodb_file_format=BARRACUDA (don’t forget to set it in my.cnf!): SET GLOBAL innodb_file_format=BARRACUDA; One…