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

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;

===
现在是粗俗了,在路上遇见人类的迎娶仪仗,也不过当作性交的广告看,不甚留心。---鲁迅

    分享到:

Leave a Reply

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