- acquire AT lock exclusive
- set datafile not modifyable
- Wait on any active TX to commit
(If a TX touches the tablespace at this time it gets ORA-372)
- Finish off updating TS to read only
- Release AT lock
AT lock是tablespace的enqueue,目的是串行化对表空间的并发操作
[@more@]来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/85922/viewspace-899155/ ,如需转载,请注明出处,否则将追究法律责任。