Search This Blog

Sunday, July 21, 2013

MySQL :: Re: How to create partition on existing table?

MySQL :: Re: How to create partition on existing table?:

you can use ALTER TABLE to add partitioning to the table, 
keep in mind though that this will actually create the 
new partitioned table first, then copy over all the 
existing data, and finally drop the old unpartitioned 
table. So this operation may take a while and will 
temporarily use twice the disk space (which in the case 
of InnoDB is not given back to the operating system ...) 

No comments:

Post a Comment