June 19, 2013

Post: Troubleshooting MySQL Memory Usage

have configured MySQL to use reasonable global buffers, such as innodb_buffer_size, key_buffer_size etc, you have…while true do date >> ps.log ps aux …There is a max_heap_table_… used by current MEMORY tables: mysql> select sum…have created which temporary tables (both in memory and not): mysql> select

Post: Shard-Query turbo charges Infobright community edition (ICE)

…, instead replacing them with the dimension keys: select dim_date.date_id, origin.airport_id as …can be confirmed by examining the contents of the date dimension: mysql> select count(*), min(FlightDate), max(FlightDate) from … improve the performance of queries which have to examine a large amount of …

Post: Shard-Query EC2 images available

byhave any indexes (not even primary keysdate NOT NULL, `date_id` smallint(6) NOT NULL, PRIMARY KEY (`date_id`), KEY `FlightDate` (`FlightDate`), KEY `Year` (`Year`,`Quarter`,`Month`,`DayOfWeek`), KEY `Quarter` (`Quarter`,`Month`,`DayOfWeek`), KEYMaxselectmysql-inno.sock [mysqld] socket=/tmp/mysql

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

have happened since the backup was taken. Replaying the binary logs brings the database up-to-date by…prevent wide innodb primary keys on the MV. mysql> select mview$pk as…sec) *If you use MIN/MAX/COUNT_DISTINCT, a secondary… out-of-date and must be refreshed: mysql> select sum(total_lines) from …

Post: How Percona does a MySQL Performance Audit

…commands: date uname …mysql> show global variables like ‘%table_size%’; +———————+———–+ | Variable_name | Value | +———————+———–+ | maxmysql.* tables, running mk-duplicate-keyHaving found the desired information about the queries by…(rewriting non-SELECT queries…

Post: A case for MariaDB's Hash Joins

date DEFAULT NULL, `l_commitDATE` date DEFAULT NULL, `l_receiptDATE` dateby MySQL 5.5 is as follows: SELECThave scaled down the time taken by MySQL

Post: Distributed Set Processing with Shard-Query

…, GROUP BY, SUM, COUNT, MIN*, and MAX* are distributable…via ON DUPLICATE KEY UPDATE is the … does not have to have any idea of…but right now only MySQL storage nodes are …date AS `dim_date` ON (ontime_fact.date_id = dim_date.date_id) WHERE dim_date.Year IN (2008) GROUP BY 1 ORDER BY NULL [1] => SELECT

Comment: ORDER BY ... LIMIT Performance Optimization

have given the query & cnf details. SelectDATE`,`DESCRIPTION`,`OTHER_INFO`,`CATEGORY`,`REMARKS`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 CNF ——- [mysqld] socket = /var/lib/mysql/mysql.sock skip-locking key_buffer = 384M max