首页 > 数据库 > Oracle > 笔记: Oracle 10g中一些操作持有锁的小节
Lock mode in which the process requests the lock:
¦ 0 - none
¦ 1 - null (NULL)
¦ 2 - row-S (SS)
¦ 3 - row-X (SX)
¦ 4 - Table share (S)
¦ 5 - Table Share and Row-X (SSX)
¦ 6 - Table exclusive (X)
Conclusion in 10gR2.
1> create index az_obj_id. (4-TM)
2>
alter index az_obj_id rebuild online; (2-TM and 4-TM)
3>
alter index az_obj_id rebuild; (4-TM and 3-TM)
4>
alter table az move tablespace test; (6-TM)
5>
alter table az shrink space; (3-TM and 6-TM But the amount of time for TM 6 is far more less than ALTER TABLE MOVE)
6>
alter table az shrink space COMPACT; (3-TM only)
and then alter table az shrink space; (6-TM only)
Please see shrinkSpaceIn10g.doc in the same direcotry to find the mechanism for SHRINK SPACE in Oracle 10g.
7> truncate table az;(DDL) (6-TM)
[@more@]推荐文章:
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/76065/viewspace-1015707/ ,如需转载,请注明出处,否则将追究法律责任。