June 19, 2013

Post: XtraDB/InnoDB CPU bound benchmarks on 24cores server

…_table_size=64M max_prepared_stmt_count=1000000 query_cache_size=0 skip_grant_tables skip_locking sort_buffer_size=64K table_cache=2048 thread_cache… proud of. We definitely we will look how to fix it as next step, read detailed investigation what is the reason of performance drop…

Post: Shard-Query EC2 images available

is the complete InnoDB schema from one shard. The schema is duplicated 20 times (but not the ontime_fact data): DROP TABLETABLES symbolic-links table-definition-cache=16384 table-open-cache=128 thread-cache-size=32 thread-stack=256K tmp-table

Post: Knowing what pt-online-schema-change will do

CACHE */ `guest_…is not the optimal index. The technical details behind the creation of the SQL statements for copying the table are beyond thedefinitions?  If a column is defined as “NOT NULL” but the tool does “col IS NULL”, something iswhat the tool will do.  Read and think carefully about the

Post: Finding your MySQL High-Availability solution – Replication

what is the most popular HA solution for MySQL, replication. High Availability solution for MySQL: Replication This HA solution is thecaches warm up. Finally, it is well known that with MySQL, altering a table means recreating the whole table and it is

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

The definition of the MV is stored internally, and represents the actual SQL that defines the view. A simple API call is made to associate the SQL definition with thethe orders, order_lines and customers tables directly (the tables on which dashboard_customer_sales is built), then the

Post: InnoDB Full-text Search in MySQL 5.6 (part 1)

… of the way, let’s get to it. Here is our basic table definition for the DIR dataset. The table for the…20 16:09 FTS_00000000000000ad_BEING_DELETED_CACHE.ibd -rw-rw—-. 1 mysql mysql 98304…the table, run an OPTIMIZE or two, delete some data, and see what happens: mysql> set global innodb_ft_aux_table

Post: Index Condition Pushdown in MySQL 5.6 and MariaDB 5.5 and its performance impact

I have been working with Peter in preparation for the talk comparing the optimizer enhancements in MySQL 5.6 and MariaDB 5… Now let’s take a look briefly at what this enhancement actually is, and what is it aimed at. Index Condition Pushdown Traditional B… as range scans, where index parts after the part on which range condition is applied cannot be used for filtering records. For…

Post: SHOW INNODB STATUS walk through

Definition of foreign key which failed as well as the closest match which was located in parent table. There isis reported which is basically what transaction is doing it…is displayed. For writes Innodb has to ensure data makes it to the disk – just passing it to OS cache is not enough. This is

Post: Multi Range Read (MRR) in MySQL 5.6 and MariaDB 5.5

the secondary index definition can result in a lot of Random I/O. The purpose of MRR isis > 0 then it means Handler_mrr_rowid_refills + 1 MRR range scans had to be performed. As in the tablethe optimizer chooses the wrong query execution plan. Let’s take a look at what are the

Post: What's required to tune MySQL?

the variety and severity of problems we write about here. Examples include what happens when you have query cachethe word “tuning,” because database tuning is an activity that can be done endlessly, with little definition