【练习】更改表空间状态

1.将tool表空间设置为只读状态。

SQL> alter tablespace tool read only;

Tablespace altered.

SQL> select tablespace_name,status from dba_tablespaces where tablespace_name='TOOL'; 

TABLESPACE_NAME                STATUS
------------------------------ ---------
TOOL                           READ ONLY

2.将test1表空间offline。

SQL> alter tablespace test1 offline;

Tablespace altered.
    
SQL> select tablespace_name,status from dba_tablespaces where tablespace_name='TEST1';

TABLESPACE_NAME                STATUS
------------------------------ ---------
TEST1                          OFFLINE
原文地址:https://www.cnblogs.com/tomatoes-/p/6040768.html