oracle数据库在线创建唯一索引的问题
create unique index index_name on table_name (column);
在线创建时会组塞dml操作,直到创建唯一索引成功,dml才正常操作
所以在线创建索引时,为了减少性能,不阻塞dml操作
[color=darkred]最好加上online 关键字
[color=darkred]create unique index index_name on table_name (column) online;
本文由风哥教程整理发布,仅用于学习测试使用,转载注明出处:http://www.fgedu.net.cn/10327.html
