June 19, 2013

Post: The small improvements of MySQL 5.6: Duplicate Index Detection

replication, InnoDB…row *************************** Table: test Create Table: CREATE TABLE `test` ( `id` int(11) NOT NULL AUTO_INCREMENTrows affected, 1 warning (0.56 sec) Records: 0 Duplicates: 0 Warnings: 1 mysql> SHOW WARNINGS\G *************************** 1. row *************************** Level

Post: Conflict Avoidance with auto_increment_increment and auto_increment_offset

…IDEMPOTENT both duplicate key error and row not found errors will be ignored. Strict Mode with row level replication will not detect all conflicts…master and slave and replication will get silently out of sync. So back of our topic of auto_increment_increment and auto_increment_offset – besides being…

Post: STOP: DELETE IGNORE on Tables with Foreign Keys Can Break Replication

rows for simplicity. CREATE TABLE `t1` ( `t1_c1` int(10) unsigned NOT NULL AUTO_INCREMENTrow *************************** Level: Error Code: 1451 Message: Cannot delete or update a parent row

Post: MySQL Users Conference - Innodb

… as bunch of others due to statement level MySQL Replication which among other requirements, needs all auto-increment values in multiple value insert to… number of rows in auto-increment batch insert is not known as we do not have to allocate sequential auto increment values if row level replication is used…

Post: Ultimate MySQL variable and status reference list

…ansiblogpercona.commanual auto_increment_incrementblogpercona.commanual auto_increment_offsetblogpercona….replication_delayblogpercona.commanual innodb_rollback_on_timeoutblogpercona.commanual Innodb_row_lock_current_waitsblogpercona.commanual Innodb_row_lock_timeblogpercona.commanual Innodb_row

Post: Adventures in archiving

AUTO_INCREMENT, `dat` blob, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE TABLE `compressed_row` ( `id` int(11) NOT NULL AUTO_INCREMENT… of Auto Increment is not recommended. #37182  #37871 #40216 If disk level is…48339 Use of statement based replication is not recommended. #48343 …

Post: High-Performance Click Analysis with MySQL

… as (day, ad).  Don’t use an auto-increment primary key, and don’t put ad first…. With Data Integrity When you’re storing several levels of aggregation, and there’s denormalization, you need… statement-based replication. You can save that work by either using MySQL 5.1′s row-based replication, or…

Post: Shard-Query EC2 images available

Row_format: Compact Rows: 6697533 Avg_row_length: 241 Data_length: 1616904192 Max_data_length: 0 Index_length: 539279360 Data_free: 4194304 Auto_incrementreplication-delay=# innodb-rollback-on-timeout innodb-rollback-segments=16 innodb-stats-auto…a good plan optimizer-prune-level=0 partition=ON port=…

Post: Heikki Tuuri answers to Innodb questions, Part II

… later 5.0 series compact row format was implemented which can help…5.0 series. Also note the “Auto Increment Issue” is finally solved in … of different operations for different levels of concurrency, specifically around mutexes and…on a separate computer, maybe a replication slave. Can you make the …