How can I do this with MySQL partitions

Posted by Uffo on Stack Overflow See other posts from Stack Overflow or by Uffo
Published on 2010-06-01T10:57:34Z Indexed on 2010/06/01 11:33 UTC
Read the original article Hit count: 217

Filed under:
|
|

I have a table with millions of rows and I want to create some partions, but I really don't know how I can to this. I mean I want to have the data which is starting with the ID 1 -> 10000 to be on partition one, and and the data that is starting with the ID 10001 -> 20000 to be on partition two; and so on...?Can you give me an example how to do it?

I have searched a lot on the internet and I read a lot of documentation, but I still don't understand how it needs to be done!

Best Regards,

© Stack Overflow or respective owner

Related posts about mysql

Related posts about mysql-query