June 19, 2013

Post: Migrating between MySQL schemas with Percona Xtrabackup

… used Xtrabackup simply to clone a server (for replication or migration) or migrate an existing schema to a new server.  However, given… target database:  mysql orig_old < /tmp/orig.schema.sql Ensure innodb_import_table_from_xtrabackup = 1  (dynamic variable) Prepare the backup… FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA=’orig’ AND ENGINE=’InnoDB‘; EOF mysql -N -B <<'EOF' > import-ddl.sql SELECT CONCAT…

Post: Follow these basics when migrating to Percona XtraDB Cluster for MySQL

… prevent them from moving forward. If you are thinking of migrating your workload to Percona XtraDB Cluster, make sure to go… so. However, if you can, you should consider moving to InnoDB altogether. There are very few reasons to stay with MyISAM…

Post: Keynotes, BOFs, and the Community Networking Reception at Percona Live MySQL Conference and Expo

… Engineer, Oracle Topic: “MySQL 5.6: What’s New in InnoDB” Dmitri Kravtchuk, MySQL Performance Architect, Oracle Topic: “MySQL 5.6…: “Percona Server 5.6” Jay Janssen, Consulting Lead, Percona Topic: “Migrating to Percona XtraDB Cluster” Mark Atwood, Vipul Sabhaya, and Jim…

Post: Webinar: MyISAM to InnoDB migration

Register now for a free Percona webinar about migrating your MyISAM databases to InnoDB. Save the date: Dec 1, 2010 at 9…. With the change in default storage engine from MyISAM to InnoDB in the upcoming MySQL 5.5 release, we expect that… wanting to learn more about the benefits of switching to InnoDB, as well as topics such as: What kind of contraindications…

Post: Should you move from MyISAM to Innodb ?

… but instantly break upon upgrading to Innodb. Features The MyISAM features which forbid moving to Innodb are typically Full Text Search and… Archive) for logging. Innodb Needs Tuning As a final note about MyISAM to Innodb migration I should mention about Innodb tuning. Innodb needs tuning. Really…

Post: COUNT(*) for Innodb Tables

I guess note number one about MyISAM to Innodb migration is warning what Innodb is very slow in COUNT(*) queries. The part which… also can’t be solved by simple singe counter for Innodb tables as different transactions may see different number of rows…. This can be faster or slower both for MyISAM and Innodb depending on various conditions. In real applications there are much…

Post: What to do with MySQL Full Text Search while migrating to Innodb ?

… we often run into during migration is Full Text Search indexes which are not supported for Innodb tables. So what can you… for full text search queries. This approach is helpful if migration has to be performed very quickly and it takes a…. Use “Shadow” MyISAM Table You can keep main data in Innodb but build a “shadow” MyISAM table which is used for…

Post: InnoDB Full-text Search in MySQL 5.6 (part 1)

… be a migration to InnoDB, but due to their use of MyISAM FTS, the idea of a complete or partial migration was, for one reason or another, an impractical solution. So, when FTS for InnoDB was first announced… global innodb_ft_aux_table=’test/dir_test_innodb‘; mysql> set global innodb_optimize_fulltext_only=1; mysql> select * from information_schema.innodb_ft…

Post: Moving from MyISAM to Innodb or XtraDB. Basics

… on migrating MyISAM to Innodb or some other reason but recently I see a lot of questions about migration from MyISAM to Innodb. Webinar… in MyISAM but would not fit to Innodb, though this is an exception. Space Innodb Tables tend to be larger. Again converting… most important values to check are innodb_flush_log_at_trx_commit, innodb_buffer_pool_size and innodb_log_file_size. There are…

Post: Migrating several single standalone MySQL server to one Percona XtraDB Cluster... MariaDB to the rescue !

… that will be the dedicated slave convert the table in InnoDB configure and start the replication finally perform SST on the… slave of all production servers, changed the table engine to InnoDB on it and chose one node of the PXC to… that MariaDB server. It worked like a charm and the migration of production to Percona XtraDB Cluster became very easy. Thank…