Bug #69179 accessing information_schema.partitions causes plans to change
Submitted: 9 May 2013 4:22 Modified: 23 Sep 2013 15:08
Reporter: Justin Swanhart Email Updates:
Status: Duplicate Impact on me:
Category:MySQL Server: InnoDB storage engine Severity:S2 (Serious)
Version:5.6.11, 5.5.31, 5.6.13 OS:Any
Assigned to:
Tags: innodb, performance, statistics
Triage: Needs Triage: D2 (Serious)

File: Maximum allowed size is 3MB.

If the data you need to attach is more than 3MB, you should create a compressed archive of the data and a README file that describes the data with a filename that includes the bug number (recommended filename: mysql-bug-data-69179.zip) and upload one to sftp.oracle.com. A free Oracle Web (SSO) account (the one you use to login bugs.mysql.com) and a client that supports SFTP are required in order to access the SFTP server.

To upload the file to sftp.oracle.com:

  1. Open an SFTP client and connect to sftp.oracle.com. Specify port 2021 and remote directory /support/incoming/.
  2. Log in with your newly created Oracle Web account (email address) and password.
  3. Upload the archive to /support/incoming.
  4. Once you have uploaded the file, add a comment to this bug to notify us about it.
Example: sftp -oPort=2021 -oUser=email sftp.oracle.com:/support/incoming

Usage Notes: This directory is unlistable, which means that once you have uploaded your file, you will not be able to see it. A file cannot be uploaded more than once with the same filename. The filename must be changed before attempting to upload the file again. The filename should always start with mysql-bug- prefix. Files are retained on the SFTP server for 7 days and then permanently removed.

[26 May 2013 4:31] Justin Swanhart
run this script and the plan will change

Attachment: test.sql (text/x-sql), 633.39 KiB.

[27 May 2013 19:19] Justin Swanhart
SSB schema with partitions

Attachment: ssb_schema_partitioned.sql (text/x-sql), 6.19 KiB.

[29 May 2013 8:26] Umesh Shastry
Test case with results...

Attachment: 69179.txt (text/plain), 20.56 KiB.

[30 May 2013 5:37] Umesh Shastry
Test case with results...

Attachment: 69179.txt (text/plain), 11.20 KiB.