May 24, 2012

Post: MySQL opening .frm even when table is in table definition cache

0.000011> [pid 19876] close(32) = 0 <0from several code paths in the server: DROP TABLE RENAME TABLE DROP VIEW open table filling INFORMATION_SCHEMAhow this is used is that in the DROP TABLE code path, MySQL uses this magic byte to work out which Storage Engine to ask to drop

Post: Side load may massively impact your MySQL Performance

to spare. We’re using Percona Server 5.5To understand it we should take a look at the buffer pool contents. mysql [localhost] {msandbox} (information_schema) > select concat_ws(‘.’, t.schema

Post: How Percona does a MySQL Performance Audit

5 5 iostat -dx 5 5 If you don’t know how to read these, there’s a full explanation in our book, High Performance MySQLserver and see what I think about it. If the server is not heavily loaded, I may even do some INFORMATION_SCHEMA queries todropped from InnoDB, for example. (The INFORMATION_SCHEMA

Post: Shard-Query EC2 images available

5.2pl1. Requires m1.large or larger ami-8eb648e7 shard-query-innodb-demo-64bit x86_64 Percona Server 5.5schema from one shard. The schema is duplicated 20 times (but not the ontime_fact data): DROP

Post: Connecting orphaned .ibd files

How let’s connect actor.ibd from sakila database taken from some MySQL server. 0. Create empty InnoDB tablespace. 1. Create the table: mysqlto drop

Post: High-Performance Click Analysis with MySQL

to my next point: Use InnoDB Assuming that you will use the stock MySQL serverto scan the whole table to query for informationto think about how to avoid enormous tables that are hard tofrom star schemas, another tactic I see people try a lot is to build “flexible schemas

Post: MySQL extensions for hosting

to some newly purchased hardware. But how to avoid the undesired situation that you only sort out the least active customers fromto SUPER users only or restricting regular users to see their own statistics only information_schema support to