June 19, 2013

Post: 10+ Ways to Crash or Overload MySQL

with Merge tables for example – creating and accessing few merge tables with 1000 of subtables will likely cause your MySQLAnother possibility is to use queries which use large temporary tables

Post: Air traffic queries in InfiniDB: early alpha

Query Q4: mysql> SELECT Carrier, count(*) FROM ontime WHERE DepDelay > 10 AND YearD=2007 GROUP BY Carrier ORDER BY 2 DESC; I had another surprise with queryQuery Q9: Q9: select Year ,count(*) as c1 from ontime group by Year; Time: 9.54 sec Ok, so there is summary table with queries

Post: Air traffic queries in LucidDB

Another interesting metric is datasize after load. In LucidDB db file after load takes 9.3GB. UPDATE 27-Oct-2009 From metadata tableMySQL via JDBC driver) just in SQL queries (compare with

Post: Sphinx 0.9.8 is released just in time for OSCON 2008

Another interesting point is Sphinx grouping performance. For example on the same 15M document collection countingMySQL with best covering index (so no temporary table or sorting is needed for group by). Note that with

Post: ANALYZE: MyISAM vs Innodb

tables and see how values change: mysql> update antest set c=NULL; Querytable with same data though we can see Innodb stats are a bit off from reality too. MySQL version note: This is from MySQL

Post: Joining on range? Wrong!

tables with enough data to serve our purpose. Our hypothetical sales queryfrom join one way or another. For our example queryUPDATE items_ordered SET itm_order_date = DATE(itm_order_timestamp); Now the rewritten query: EXPLAIN SELECT COUNT(1) FROM…8569, #19548). Some replies from MySQL indicate this …

Post: The perils of InnoDB with Debian and startup scripts

tables, InnoDB uses over 3.5G of memory for its data dictionary (the subject for anotherUpdating | updatefrom the last 15 seconds ———- SEMAPHORES ———- OS WAIT ARRAY INFO: reservation count 39125236, signal countmysql tables in use 7, locked 0 MySQL thread id 6424, query

Post: Just do the math!

…things not working any more with response times for individual queries taking half an hour …like this ? Say you have query like “SELECT page,count(*) cnt FROM logs GROUP BY page … Another aspect is the temporary table – the number of rows MySQL can insert/update depends on whenever temporary table

Post: Sphinx: Going Beyond full text search

… thousands of search queries per day. The count of forum posts…mysql.com” links were stored in one table group and “google.co.uk” on another… lot of resources to update or periodically build for …with Sphinx. This also uses fair amount of tricks using fake full text search to retrieve all posts from