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


Warning: array_rand(): Array is empty in /srv/htdocs/wp-content/plugins/easy-random-quotes/kl-easyrandomquotes.php on line 268

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 *