SQL> select username,default_tablespace,temporary_tablespace from dba_users where username='TSPITR';
USERNAME DEFAULT_TABLESPACE TEMPORARY_TABLESPACE
------------------------------ ------------------------------ ------------------------------
TSPITR TSPITR TEMP
SQL> select count(*) from tspitr.tspitr;
COUNT(*)
----------
50315
现在表tspitr的存储表空间也变为tspitr
SQL> select owner,table_name,tablespace_name from dba_tables where table_name='TSPITR';
OWNER TABLE_NAME TABLESPACE_NAME
------------------------------ ------------------------------ ------------------------------
TSPITR TSPITR TSPITR
9.将源数据库中的tspitr表空间修改为读写模式
SQL> alter tablespace tspitr read write;
Tablespace altered.
SQL> select tablespace_name,status from dba_tablespaces where tablespace_name='TSPITR';
TABLESPACE_NAME STATUS
------------------------------ ---------
TSPITR ONLINE