标签: oracle insert locking rebuild shrink
我有一个包含1亿行的表,我想更快地插入这个表。不幸的是,我不能使用带有APPEND提示的insert,因为禁止使用锁定表。 表有两个索引,因此,如果我尝试rebuild index或coalesce,插入会更快吗?或许我应该SHRINK这张桌子? coalesce或rebuild index online会锁定此表吗?
APPEND
rebuild index
coalesce
SHRINK
rebuild index online