June 20, 2013

Post: Implementing SchemaSpy in your MySQL environment

… Percona 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-connector-java.jar Example Schema CREATE TABLE… the table sizes and an easy way to use the search feature of your browser to zero in on a particular table Constraints…

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

… CVE-2012-5627 vulnerability, where an unprivileged MySQL account owner could perform brute-force …for the User Statistics tables in INFORMATION_SCHEMA (CLIENT_STATISTICS, INDEX_STATISTICS, TABLE_STATISTICS, THREAD_…. Under very rare circumstances, deleting a zero-size bitmap file at the right moment…

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

… sort via ALTER TABLE ENABLE KEYS. my.cnf [mysqld] datadir=/mnt/mysql56/data basedir=/usr/local/mysql socket=/var/lib/mysql/mysql.sock user=justin innodb_buffer_pool_size=64G innodb_log_file_size=4G innodb_file_per_table innodb…_locks_hash_instances=32 table_open_cache_instances=8 sort_buffer_size=128k read_rnd_buffer_size=8M join_buffer_size=8M default_tmp…

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

mysql> SHOW CREATE TABLE test\G *************************** 1. row *************************** Table: test Create Table: CREATE TABLE

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

… id=”attachment_13396″ align=”alignright” width=”247″] Percona Server for MySQL version 5.6.11-60.3[/caption] Percona is glad… available here and from the Percona Software Repositories). Based on MySQL 5.6.11, including all the bug fixes in it… tablespace size. Bug fixed #1169494. Fixed the RPM package dependencies issues. Bug fixed #1186831. Reduced the overhead from the Handle Corrupted Tables

Comment: INSERT INTO ... SELECT Performance with Innodb tables.

… inside InnoDB 334 mysql tables in use 4, locked 4 3264 lock struct(s), heap size 440760, 799203 row lock(s) MySQL thread id 38, OS thread handle 0x2b3c1c776940, query id 16838101 localhost root Copying to tmp table create table t as…

Post: ZFS on Linux and MySQL

…+ spares + OS partition mirror) and I limited the ARC size to 4GB.  I don’t want to start …have to start the snapshot while holding a “flush tables with read lock” and the flush operation will … ZFS on Linux is a very interesting solution for MySQL backup servers.  All backup solutions have an impact …

Post: More on MySQL transaction descriptors optimization

…–num-threads=<1..1024> –test=oltp.lua –oltp_tables_count=8 –oltp-table-size=1000000 –rand-init=on –report-interval=1 –rand-type…=120 –max-requests=0 –percentile=99 –mysql-user=root –mysql-db=sbtest8t1M –mysql-table-engine=INNODB –mysql-socket=/tmp/mysql.sock –oltp-point-selects=1 –oltp…

Post: Rotating MySQL slow logs safely

MySQL bug 65481 explains that the HUP signal also flushes tables in addition to logs. Flushing tables can impact running queries. Disable MySQL…: /var/mysql/slow_query.log { nocompress create 660 mysql mysql size 1G dateext missingok notifempty sharedscripts postrotate /usr/local/bin/mysql -e…

Post: Benchmarking Percona Server TokuDB vs InnoDB

… run: sysbench –test=insert_roll.lua –oltp-table-size=10000 –mysql-user=root –oltp-tables-count=32 –mysql_table_engine=tokudb –oltp_auto_inc=on –max… = 16M binlog_cache_size = 16M max_heap_table_size = 64M sort_buffer_size = 4M join_buffer_size = 4M thread_cache_size = 1000 query_cache_size = 0 query…