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
2nd option would be great but how can you achieve this? I recommend MySQL Workbench
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.