oracle查看修改表空间属性状态

Posted on Posted in Database

oracle表空间有四种状态ONLINE,READ WRITE,READ ONLY和OFFLINE,READ WRITE和READ ONLY是ONLINE的特殊情况。

查询表空间状态:

sql> select tablespace_name,status from dba_tablespaces;

修改表空间状态:

sql> alter tablespace tablespace_name offline/online/read only/read write;

===
[erq]

Leave a Reply

Your email address will not be published. Required fields are marked *