June 18, 2013

Post: Shard-Query EC2 images available

Query. Each image comes pre-loaded with the data used in the previous Shard-Query blog post. The data in thein the system. To get an even distribution, the test data was hashed over the values in the date_id column. There will be another blog post about the

Post: Intro to OLAP

the amount of time that it takes to keep the tables updated and in the complexity of the many scripts or jobs which might be necessary to keep the tables in

Post: Flexviews - part 3 - improving query performance using materialized views

to get the results you want, but more quickly. More on this later. SQL features used in the query Incremental refresh doesn’t support all of thegets a special column `mview$pk` which is an auto_increment BIGINT surrogate key for the table

Post: Identifying the load with the help of pt-query-digest and Percona Server

in the table above shows the Count of number of times this query was executed. Now let’s take a look at the values in the 95% columnthe query, by using a LIMIT clause or by filtering based on the option_name column, or you might even compress the values stored in the option_value column

Post: Beware the Innodb Table Monitor

NAME ID ————————————– Basically you can see every table, every column, and every index in that table.  Once you get the output, you just DROP the tablequeries in SHOW PROCESSLIST that were stuck in the ‘Opening Tables‘ state, uh-oh. I dug through the

Post: Shard-Query adds parallelism to queries

the queries in that same blog post. The original queries tend to filter on the Year column. I partitioned the table into months using the FlightDate column using the

Post: Percona Server 5.1.58-12.9

in the Slow Query Log patch. Bug Fixed: #794774 (Oleg Tsarev). Querying global_temporary_tables caused the server to crash in some scenarios due to

Post: Eventual Consistency in MySQL

the information in KEY_COLUMN_USAGE, we can write a query to fetch every distinct KEY_COLUMN_USAGE.CONSTRAINT_NAME where the REFERENCED_* columns

Post: Hijacking Innodb Foreign Keys

to get rid of them, yet this leaves you up for a final bite – dropping foreign keys requires table rebuild. Yes you gettable reference in fact and if you create the table with same name again it will need to be able to satisfy foreign key conditions (have column child table