Re: How to index a 1.5 billion rows
> 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.)
Subject
Views
Written By
Posted
3685
July 10, 2012 02:46AM
2980
July 11, 2012 05:56AM
1971
July 17, 2012 12:57AM
Re: How to index a 1.5 billion rows
1956
July 17, 2012 10:06PM
1716
July 18, 2012 10:18AM
1778
July 19, 2012 09:46PM
1877
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.