MySQL Forums
Forum List  »  MyISAM

Re: How to index a 1.5 billion rows
Posted by: Rick James
Date: July 17, 2012 10:06PM

> the 25 millionth account was created a new section
That would require some form of sequence number (eg, AUTO_INCREMENT) on which to base the PARTITIONing.
You could also use the DATETIME or TIMESTAMP.

In either case, use "RANGE" partitioning, and write a script to run periodically to create a new partition in advance of its need.

Please provide SHOW CREATE TABLE.

What kind of data are you storing?

What will the SELECTs be?

> the optimum criterion for partitioning
That depends on the SELECTs.

(These are questions you should have answered long before getting a billion rows.)

Options: ReplyQuote


Subject
Views
Written By
Posted
2771
July 11, 2012 05:56AM
Re: How to index a 1.5 billion rows
1793
July 17, 2012 10:06PM
1620
July 19, 2012 09:46PM
1709
July 29, 2012 04:42AM


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.