ITPub博客

首页 > 数据库 > Oracle > When you issue "ALTER TABLESPACE xxx READ ONLY",what will oracle do?

When you issue "ALTER TABLESPACE xxx READ ONLY",what will oracle do?

原创 Oracle 作者:empo007 时间:2007-02-11 12:43:10 0 删除 编辑

- 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/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    126
  • 访问量
    1098960