June 18, 2013

Post: Missing Data - rows used to generate result set

random index lookups row accesses in the same table) but this is very valuable data point to optimize queryto see (for example as another slow query log record) is the number of rows which MySQL used to generate…think how to fix the situation. For example if you have clause like TITLE LIKE “%MYSQL%” …

Post: Replaying database load with Percona Playback

data set or queries. Those tools just run random queries against random generated data. The best way toIn the example I’m going to show how to meassure the impact of my.cnf changes replaying a slow query

Post: MySQL EXPLAIN limits and errors.

generating” step, instead plan is generated as a part of query execution, sometimes being dynamic based on data. With EXPLAIN MySQLin queries. In general in my opinion EXPLAIN needs serious overhaul so it can be used with GUI tool to

Post: Fishing with dynamite, brought to you by the randgen and dbqp

to speak highly of the random query generator as a testing tool and thought I would share a story that shows howin the ‘rows’ section tells the data generator to produce 50 tables, with sizes from 1 row to

Post: Analyzing air traffic performance with InfoBright and MonetDB

to find how to execute command from command line using included sqlline utility, and I did not understand how to do that, so I generatedquery in InfoBright. MySQL is really stupid here, and EXPLAIN for this query

Post: Database access Optimization in Web Applications.

to count amount of rows in the table (no joking). Sometimes you would see 100 stories selected so one randomdata by single row read. Check number of rows which actually need to be used to generate result sets Sometimes query needs to use many rows to

Post: How adding another table to JOIN can improve performance ?

in huge IN lists and suboptimal execution for large ranges. Lets take a look at very typical reporting query which queries datato learn about MySQL Optimizer gotchas :) At the same time I figured out how to make MySQL Optimizer to do what we want to

Post: Cache Miss Storm

random arrivals the worse case is worse) which takes 25 seconds toto generate in case of cache miss. To find first one for memcached you can use mk-query-digest toto changes to content interest or launch of new features. Use Smarter Cache Especially with memcache it is you who decide how to