June 18, 2013

Post: High-Performance Click Analysis with MySQL

…/O capacity. What does this have to do with InnoDB?  Data clustering. InnoDB‘s primary keys define the physical order rows are… it write out a CSV file and import that with LOAD DATA INFILE.  Keep those big fat log files out of the…, then piping the results back up to the master with LOAD DATA INFILE, which kind of emulates row-based replication in a way…

Post: Announcing Percona Server 5.5.25a-27.1

…. When used with no argument, the LOAD_FILE() function will always return NULL. The LOAD DATA INFILE and SELECT INTO OUTFILE statements will fail… #1000221 (Alexey Kopytov). Server started with skip-innodb crashes on SELECT * FROM INNODB_TABLE_STATS or INNODB_INDEX_STATS. Bug fixed #896439 (Stewart…

Comment: The relationship between Innodb Log checkpointing and dirty Buffer pool pages

…. This big transaction is a load data infile sql from a file 1.5GB within huge characters and load data infile into a table and single longblob column. finally, when I am sure lunch commit command a few seconds after load into table complete, then immediately force shutdown server, it happened situation that was not what I think ACID for innodb

Post: Faster MySQL failover with SELECT mirroring

… shared storage or DRBD, although those provide stronger guarantees against data loss if mysqld crashes. And you can use the standby… information_schema.innodb_buffer_pool_content group by 1, 2, 3 into outfile ‘/tmp/buffer-pool-contents.txt’; I loaded this file into a table on my laptop with LOAD DATA INFILE and kept it for later. I…

Post: Recover BLOB fields

… not supported by Percona InnoDB Recovery Tool. The reason consists in a special way InnoDB stores BLOBs. An InnoDB table is stored in…` varchar(120), `N_FIELDS` int(10), PRIMARY KEY (`ID`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 Here COMPACT format is used, which is… upload the table back you should utilize UNHEX function: mysql> LOAD DATA INFILE ‘/path/to/datafile’ REPLACE INTO TABLE FIELDS TERMINATED BY ‘\t…

Comment: Adventures in archiving

…… basically you can create, load (data infile), and drop. Also some considerable changes in transforming schemas from regular innodb to brighthouse storage engine, so… are no update/deletes, you can simply do a daily load of the new data.

Comment: How to recover deleted rows from an InnoDB Tablespace

I deleted one row in a innodb table to test how to recovery the data with file_per_table setting and followed…-1337640335/FIL_PAGE_INDEX/0-10847/>data/table1.recovery LOAD DATA INFILE ‘/var/tmp/percona-data-recovery-tool-for-innodb-0.5/dumps/default/table1′ REPLACE…

Comment: Predicting how long data load would take

engine=innodb one CSV datafile 100 million rows sorted in primary key order (order is important to improve bulk loading times – remember innodb clustered primary keys) truncate ; set autocommit = 0; load data infile into … commit; runtime 10-15…

Post: Concurrent inserts on MyISAM and the binary log

… INSERT… SELECT statements that were running against the table, selecting data from it and inserting into another table. Let’s look… the old trick of SELECT INTO OUTFILE followed by LOAD DATA INFILE. You can use InnoDB instead. Or you can do something more elaborate…

Comment: Duplicate indexes and redundant indexes

… tables repair by sort typically would not be used on LOAD DATA INFILE/ALTER TABLE for Innodb tables insert buffer would not work.