我需要在~5M行MySQL表上创建索引.这是一个生产表,如果我运行一个CREATE INDEX语句,我担心一切都完整.
有没有办法创建该索引而不阻止插入和选择?
只是想知道我没有停止,创建索引并重新启动我的系统!
mysql indexing production alter-table table-locking
alter-table ×1
indexing ×1
mysql ×1
production ×1
table-locking ×1