MySQL Forums
Forum List  »  Partitioning

Re: Partitioning increasing query time
Posted by: Rick James
Date: December 10, 2010 11:49AM

This is a common misconception about PARTITION. Certain types of queries can benefit from PARTITIONing, others cannot, and may even get worse. Provide more details, and maybe we can help fix your case.
* SHOW CREATE TABLE tbl\G -- engine, indexes
* SHOW TABLE STATUS LIKE 'tbl'\G -- sizes
* EXPLAIN SELECT ...\G -- clues of inefficiencies
* EXPLAIN PARTITIONS SELECT ...\G -- which partition(s) it decided to use
* SHOW VARIABLES LIKE '%buffer%'; -- cache size
and surround them with [ code ] and [ / code ]

Options: ReplyQuote


Subject
Views
Written By
Posted
2309
December 09, 2010 07:38AM
Re: Partitioning increasing query time
1289
December 10, 2010 11:49AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.