May 24, 2012

Post: Predicting how long data load would take

size to perform load effectively Load Options There two main ways to load data in MySQL you can use Multiple value insert (standard mysqldump output) or LOAD DATA INFILE

Post: INSERT INTO ... SELECT Performance with Innodb tables.

LOAD DATA INFILE ‘/tmp/tbl1.txt’ INTO TABLE tbl2; instead of: INSERT INTO tbl2 SELECT * from tbl1; INSERT…process rows by small bulks, which do not …size 224576 MySQL thread id 1794751, query id 6994931 localhost root Sending data insert into test select * from sample ——– As you can see INSERT

Post: MySQL Users Conference - Innodb

… – you have to specify compressed block size, this is the size to which you expect each page to … not yet know answer for – for example will LOAD DATA INFILE be optimized same way as for MyISAM tables … all insert cases – in fact if the insert is single value insert or the number of values in the bulk

Comment: MySQL Server Variables - SQL layer or Storage Engine specific.

Any idea how the bulk_insert_buffer_size affects inserts when using INSERT INTO … SELECT versus LOAD DATA INFILE. This is mainly for new tables without existing data.

Post: Ultimate MySQL variable and status reference list

…bootstrapblogpercona.commanual bulk_insert_buffer_…data_pending_readsblogpercona.commanual Innodb_data_pending_writesblogpercona.commanual Innodb_data_readblogpercona.commanual Innodb_data_readsblogpercona.commanual Innodb_data_writesblogpercona.commanual Innodb_data… slave_load_tmpdirblogpercona….