accessing information_schema.partitions causes plans to change

Bug #1192354 reported by Sergei Glushchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
High
Sergei Glushchenko
5.5
Fix Released
High
Sergei Glushchenko
5.6
Fix Released
High
Sergei Glushchenko

Bug Description

This is to track upstream bug http://bugs.mysql.com/bug.php?id=69179.
All credits to Justin Swanhart.

[9 May 4:22] Justin Swanhart
Description:
MySQL 5.6 supposed supports persistent statistics.

I enabled persistent statistics in my "my.cnf" and I also enabled them with the ALTER TABLE statement. However, in my testing, a read-only workload quickly resets the statistics as evidenced by query plans changes which result in severe performance loss.

In my testing, the first few batches of test queries will execute in 20 seconds or less with the data in the buffer pool, but then a batch of queries will start taking 80 seconds or more. An examination of the EXPLAIN plan on one of the queries in the batch shows a query plan change.

Reproduction steps are described in upstream bug report.

Tags: upstream

Related branches

tags: added: upstream
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

In order to set triage, what is the reason for copying a MySQL bug to Percona Server bug db?

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Found it.

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Sergei -

Please submit the bugfixes to the upstream bug report.

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Upstream fix in 5.5.34.

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-680

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.