May 23, 2012

Comment: Percona Toolkit 2.1 with New Online Schema Change Tool

Quick question… does the pt-online-schema-change tool work at tables using the MyISAM storage engine? Would it work to convert a table from MyISAM to InnoDB?

Comment: How to load large files safely into InnoDB with LOAD DATA INFILE

… helpful article! It is just what I needed to convert a 330GB MyISAM database to InnoDB with reasonable effort. I have tested your Perl… it works for me like a charm transferring the biggest table we have (160GB , varchar columns). Also, rather then time’ing… commands in the loop (second shell), I added –show-warnings to the command line, because otherwise things may go wrong unnoticed…

Post: Multi Range Read (MRR) in MySQL 5.6 and MariaDB 5.5

… example. Suppose you have the following query executed on the InnoDB table: SELECT non_key_column FROM tbl WHERE key_column=x… have converted a lot of point primary key lookups to one or more range primary key lookup. Thereby, converting Random access to one or… dataset (InnoDB tables) with a Scale Factor of 2 (InnoDB dataset size ~5G). I did not use Scale Factor of 40 (InnoDB dataset size…

Post: Faster Point In Time Recovery with LVM2 Snaphots and Binary Logs

…If you are using InnoDB, it is also …  Origin     Snap%  Move Log Copy%  Convert   lv_root                 VolGroup -wi-ao  5…to deactivate/activate the original logical volume to start the merging. So let’s see if our salaries table is restored. mysql> SHOW TABLES; +———————+ | Tables

Post: Announcement of Percona XtraDB Cluster 5.5.20 GA release

… easy and affordable for everyone. You can convert your existing MySQL replication setup into a … operations against table This is an General Availability release. We did our best to eliminate bugs … of the art: Galera – synchronous replication for InnoDB Happy clustering! mbgc=’f5f5f5′;ww=’320′;mbc=’…

Post: Moving from MyISAM to Innodb or XtraDB. Basics

… some feature differences between MyISAM and Innodb though well it is typically easily spotted by converting tables to Innodb on restored backup. Full text search… MyISAM but would not fit to Innodb, though this is an exception. Space Innodb Tables tend to be larger. Again converting schema will show you some…

Post: Quick tip: how to convert tables to InnoDB

… you have a bazillion tables to convert from MyISAM to InnoDB, but they are mixed in with other tables that are already InnoDB, or are another storage engine that you don’t want to touch. mk-find –engine MyISAM –exec “ALTER TABLE

Post: Pitfalls of converting to InnoDB

We often recommend to our clients to convert their current database from MyISAM tables to InnoDB. The transfer by itself in most cases is almost plain… echo “Converting table $t” mysql -u$DBUSER -p$DBPWD -e “alter table $t type=InnoDB” $DBNAME; done There is the standard script mysql_convert_table_format…

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

It is rather typical for systems to start as MyISAM but as system growths to move to Innodb. The reason of the move could… Innodb tables. So what can you do ? Leave Tables as MyISAM The beauty of MySQL storage engines is you do not have to convert all tables at once. In some cases full text search is used on secondary small tables which do not…

Post: Performance gotcha of MySQL memory tables

… per second while converting table to MyISAM I get about 600 deletes per second and about 4000 deletes per second for Innodb (with log… be surprised to see MyISAM being significantly slower than Innodb – in this case the table is small and fully fits in Innodb Buffer Pool and log flush on transaction commit was also disabled, meaning Innodb could…