June 19, 2013

Post: Implementing SchemaSpy in your MySQL environment

… Server 5.6.10 sandbox: description=MySQL driver=com.mysql.jdbc.Driver connectionSpec=jdbc:mysql://127.0.0.1:5610/schemaspy driverPath=/usr/share/java/mysql… specific for MySQL, but note that SchemaSpy works for pretty much all the popular RDBMS out there. java -jar schemaSpy_5.0.0.jar -t mysql -u msandbox_ro -p msandbox -meta schemaspy.meta…

Comment: Replication in MySQL 5.6: GTIDs benefits and limitations - Part 1

Yes, because MySQL 5.6 GTID is fundamentally broken in the design. You don’t … cluster of MySQL 5.6 and MariaDB 10 using GTID. You will be kept plenty busy trying to get even a pure MySQL 5.6 gtid…

Comment: Replication in MySQL 5.6: GTIDs benefits and limitations - Part 1

You can replicate from MySQL 5.6 to MariaDB 10.0 or vice versa. You just won’… MariaDB compatible without merging all of the crap that is MySQL 5.6 global transaction ID, I would very much like to hear…

Comment: Replication in MySQL 5.6: GTIDs benefits and limitations - Part 1

@Kristian Does it mean that MariaDB 10 is incompatible with MySQL 5.6 GTID? You cannot replicate to/from a MySQL 5.6 host using GTIDs?

Post: Migrating between MySQL schemas with Percona Xtrabackup

…_old Make sure that the files are owned by mysql: chown mysql:mysql /var/lib/mysql/orig_old/* For each table, run: ALTER TABLE…_SCHEMA.TABLES WHERE TABLE_SCHEMA=’orig’ AND ENGINE=’InnoDB’; EOF mysql -N -B <<'EOF' > import-ddl.sql SELECT CONCAT(‘ALTER TABLE… was using on my test VM: Percona Server 5.5.30 Xtrabackup 2.0.6 Some other use cases that come to mind…

Post: ZFS on Linux and MySQL

… server can easily handle the write load of all the MySQL instances.  The original idea was to configure them with raid… correctly. We got decent tpcc performance, nearly 37k NoTPM using 5.6.11 and xfs.  Then, since ZFS on Linux is available… together, ZFS on Linux is a very interesting solution for MySQL backup servers.  All backup solutions have an impact on performance…

Comment: Replication in MySQL 5.6: GTIDs benefits and limitations - Part 2

… (and in my opinion bad) part of the design of MySQL 5.6 global transaction ID. In general, there is no ordering implied…

Comment: Replication in MySQL 5.6: GTIDs benefits and limitations - Part 1

… hurdle in the future for people wanting to switch from MySQL 5.6 to MariaDB 10.

Comment: Replication in MySQL 5.6: GTIDs benefits and limitations - Part 1

… are part of the reason we decided not to merge MySQL 5.6 global transaction ID into MariaDB. In MariaDB global transaction ID…

Post: Webinar: SQL Query Patterns, Optimized

… type of query objective, and show how you can use MySQL 5.6 built-in methods to analyze them for optimal query efficiency…