MySQL Forums
Forum List  »  Partitioning

Re: Index with partitioning
Posted by: Rick James
Date: February 01, 2013 10:20PM

> I disable the index for better insert performance.

Probably that is a mistake.

There are many variables that lead to whether that might be wise. Please provide SHOW CREATE TABLE. The ENGINE, the PRIMARY KEY, etc., matter. And explain how much is being added each time -- one partition's worth? part of a partition? other?

In my opinion, the Fact table should (usually) have nothing but a PRIMARY KEY, usually an AUTO_INCREMENT. The useful indexes will be on the Summary tables. Most queries will use the summary tables. Only 'point' queries, via the PK, will touch the Fact table.

Options: ReplyQuote

Written By
January 30, 2013 06:23AM
Re: Index with partitioning
February 01, 2013 10:20PM
February 04, 2013 08:03AM
February 07, 2013 10:09PM
February 08, 2013 06:55AM
February 09, 2013 01:22PM
February 14, 2013 12:26PM

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.