Is there a way to add Auto Increment to an existing column without having mysql rebuild the entire table?
Edit - I am doing an ALTER
, but it takes ages and ages, because mysql rebuilds the entire table structure. What this question is about is whether there is a way to speedup this process - after all, the logical operation of adding "auto increment" shouldn't have to touch any table data, it's just how mysql is implemented.