MySQL Forums
Forum List  »  MyISAM

Re: How to index a 1.5 billion rows
Posted by: Vladimir Pivovar
Date: July 17, 2012 12:57AM

Please tell me how to create new partitions after every n records into MySQL using the mechanism of partitioning?
I want after inserting each of the 25 millionth account was created a new section (which may have the counter start).
The id field is not present.
There is a field of type datetime (in unixtimestamp), the field offset (0 .. 220 million).
The offset field changes its value from 0 to 300 million when reading a new binary file

At the moment I have a table with the number of records = 2.7 billion from the data I want to smash it in sections to another table. Putting in long hand, but then the data will be inserted automatically on a schedule. Therefore it is necessary to specify the optimum criterion for partitioning automatically.

Options: ReplyQuote


Subject
Views
Written By
Posted
2908
July 11, 2012 05:56AM
Re: How to index a 1.5 billion rows
1910
July 17, 2012 12:57AM
1861
July 17, 2012 10:06PM
1713
July 19, 2012 09:46PM
1791
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.