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


Subject
Views
Written By
Posted
2596
January 30, 2013 06:23AM
Re: Index with partitioning
1535
February 01, 2013 10:20PM
1759
February 04, 2013 08:03AM
1544
February 07, 2013 10:09PM
1493
February 08, 2013 06:55AM
1369
February 09, 2013 01:22PM
2139
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.