May 26, 2012

Comment: Benchmarking single-row insert performance on Amazon EC2

… only a few GB of main memory). The cost of querying this database will be 10 times higher with this partitioning… 100 disk seeks to answer a random query, assuming you can get each index query down to one disk seek.) I claim… the new partition starts getting too big, so Inno starts slowing down again. The factor of 4 speedup that occurs when…

Comment: Too many connections? No problem!

…=America/Caracas log-slow-queries=/var/log/mysql-slow-queries.log long_query_time=15 log-queries-not-using-indexes query_cache_type=1 query_cache_size=32M…

Comment: Benchmarks challenges of XtraDB Cluster

… on multiple ports/ips to vary distribution of writes/reads, slow queries/fast queries, etc.

Comment: Innodb Performance Optimization Basics

Hi, I am facing major issues with slow query output. The tables are in InnoDB with MySQL 5 and …

Post: Join Optimizations in MySQL 5.6 and MariaDB 5.5

query time for MySQL 5.6 becomes approximately equal to that of MySQL 5.5. MariaDB 5.5 is quite slow as compared to both MySQL 5.5 and MySQL 5.6. For MariaDB 5.5 the query time decreases…_init’. Is it because of this that the query on MariaDB 5.5 is slow as compared to MySQL 5.6. Next…

Comment: Solving INFORMATION_SCHEMA slowness

I’ve just hit the INFORMATION_SCHEMA slowness today when I began the tests to integrate the pt-… taking the tool about one hour just to finish this query: “SELECT table_schema, table_name FROM information_schema.key_column_usage WHERE …” After setting innodb_stats_on_metadata = 0, that query run almost instantly (btw, Thank you Peter!). If I may…

Post: Troubleshooting MySQL Memory Usage

… memory. There are implicit MEMORY tables which are allocated for query execution, which size can be controlled by tmp_table_size…. In Percona Server you can do better as you can query temporary tables too: mysql> select sum(data_length+index_length… good tools to detect memory leaks like valgrind are too slow to run in production. So the best thing to do…

Post: MariaDB 5.3 is released as GA!

… all-staff meeting last week, so we are a little slow to blog about this and acknowledge the great work that… the server much faster with the binary log enabled Faster queries through speedier joins, faster subqueries, and elimination of useless tables…

Post: Slow Query Log analyzes tools

… to specify slow query time in microseconds rather than seconds and allows you to log all queries in slow query log by setting long_query_time… Slow Query Log – Especially after the changes to log all queries slow query log may be growing too rapidly to follow, so we implemented slow query log…

Post: MySQL Slow query log in the table

As of MySQL 5.1 get MySQL slow query log logged in mysql.slow_log table instead of the file as you had… over again you can create stored procedure, something like LAST_SLOW_QUERIES and use it instead, just remember unless you add extra… to aggregate log entirely in SQL finding most frequent slow query types or queries which load server the most. The other handly feature…