June 18, 2013

Post: MySQL and the SSB - Part 2 - MyISAM vs InnoDB low concurrency

used: 5.6.11, custom compiled to remove performance_schema For the InnoDB tests, a 64GB buffer pool was used. O_DIRECT was used so, there was no caching of data at the filesystem level. The InnoDB indexes were built using ALTER TABLE fast index creation (merge sort). For the MyISAM tests I used a 10GB key buffer. I used

Post: Migrating between MySQL schemas with Percona Xtrabackup

… the buffer pool.  Note that this can be somewhat mitigated using innodb_old_blocks_time, but that is outside the scope of… < /tmp/orig.schema.sql Ensure innodb_import_table_from_xtrabackup = 1  (dynamic variable) Prepare the backup using the –export flag:  innobackupex –apply… TABLE_SCHEMA=’orig’ AND ENGINE=’InnoDB‘; EOF For full disclosure, here are the versions I was using on my test VM: Percona…

Post: Percona Server 5.6.11-60.3 first Release Candidate now available

…: Transaction objects are now allocated calling calloc() directly instead of using InnoDB heap allocation. This may improve write performance for high levels… the innodb_data_home_dir variable didn’t have the path separator at the end. Bug fixed #1181887. Changed page tracking used… to indicate an incomplete result set. Bug fixed #1185040. The INNODB_CHANGED_PAGES table couldn’t be queried if the log…

Post: Implementing SchemaSpy in your MySQL environment

… basis which has given me time to explore new tools using their environments.  One tool that I am finding very helpful…) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 CREATE TABLE `child_A` ( `id` int(10…_1` FOREIGN KEY (`parent_id`) REFERENCES `parent` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 Notice that in the case of child…

Post: Percona Server 5.1.69-14.7 now available: A drop in replacement for MySQL

… the package dependency. Bug fixed #1003776. XtraDB changed page tracking used to hold the log system mutex for the log reads… if a bitmap file I/O error occurs after an INNODB_CHANGED_PAGES query started returning data to indicate an incomplete… if changed page tracking is enabled. Bug fixed #1184517. The INNODB_CHANGED_PAGES table couldn’t be queried if the log…

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

… new features that MySQL 5.6 brought: GTID-based replication, InnoDB Fulltext, Memcached integration, a more complete performance schema, online DDL… it would break 99% of all applications out there that use MySQL, for which we at Percona tend to find redundant… are engine-dependent, like redundant suffixes for secondary keys in InnoDB. As some of this redundancies could be necessary, depending on…

Post: Percona Server for MySQL 5.5.31-30.3 now available

… has introduced innodb_read_views_memory and innodb_descriptors_memory status variables in the Extended Show Engine InnoDB Status to improve InnoDB memory usage… could cause a memory leak if query cache was used together with InnoDB. Bug fixed #1170103. Fixed the RPM packaging regression that…

Post: ZFS on Linux and MySQL

… many scripts ready for the task.  Snapshots work best with InnoDB, with MyISAM you’ll have to start the snapshot while… ray flip a bit on a drive, instead of crashing InnoDB, it will be caught by ZFS and the data will… availability and disk usage On purpose, I allocated mirror pairs using drives from different controllers.  That way, if a controller dies…

Comment: ZFS on Linux and MySQL

Yes, since XFS uses transactional model, metadata checksums may be sufficient. With full data … before. @Nils, In a way that is true. Imagine running InnoDB over XFS, you will end with two sets of checksums – one that of InnoDB and other of XFS itself. In case of InnoDB, the block size – 16k – is much…

Post: Choosing a MySQL HA Solution - Post-Webinar Q&A

… of having binary logs which are no longer complete or useful for point-in-time recovery. Generally if you’re considering… – I have personally only worked with one customer that’s using 5.6), is that I question its readiness. There have… –skip-grant-tables and insert a few rows into an InnoDB table, but trying to run a simple mysqlslap just hung…