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

Written By
July 11, 2012 05:56AM
Re: How to index a 1.5 billion rows
July 17, 2012 10:06PM
July 19, 2012 09:46PM
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.