Reputation: 185
I have a relatively big InnoDB table (~20m rows) and I want to add an index to a column.
The table is being read from and written to frequently, so I want the table to still be usable while the index is being added.
How can I achieve this?
I currently see two options:
Is there a better way?
Thanks :)
MySQL version: 5.0.51
Upvotes: 3
Views: 991
Reputation: 8441
2nd option would be great but how can you achieve this? I recommend MySQL Workbench
Upvotes: 2