June 19, 2013

Post: InnoDB: look after fragmentation

… table from mysqldump, the query that scans data by primary key was slow. How slow ? Let me show. The query in question is (Q1… | +——————————+——-+ 2 rows in set (0.00 sec) and extended stats: # Query_time: 17.765369 Lock_time: 0.000137 Rows_sent: 1…-primary options to force dump in primary key order. So notes to highlight: InnoDB fragmentation may hurt your query significantly, especially when…

Post: Percona Testing: Innodb crash / recovery tests available

… + validation, but we use the random query generator for generating our transactions.  …-generation code seemed very, very slow I just like the randgen (it… DBUG_EXECUTE_IF(“crash_commit_after_log“, DBUG_SUICIDE();); DBUG_EXECUTE_IF(“crash…kewpie/randgen/” is not a core dump: Is a directory No stack. …

Post: Heikki Tuuri Innodb answers - Part I

…locks) the rows if they were not matched by query where clause when it was not resolved by …which slows down throughput. If we could control the checkpointing rate we could use an 8G write ahead log and tell innodb to do a full write of the database (basically dump memory to disk)…

Post: Recovery after DROP & CREATE

…’/root/src/recovery-tool/s_tools/dumps/default/SYS_INDEXES’ REPLACE INTO TABLE `…_name) -> )ENGINE=InnoDB DEFAULT CHARSET=utf8; Query OK, 0 rows affected (0.56 sec) #… lot of manual work and thus slow There is no way to differentiate… that case we can scan the redo log: # ./s_tables /var/lib/mysql/ib…