總結-表空間傳輸
Collecting the tablespace information for constraints
-----------------------------------------------------
execute dbms_tts.transport_set_check(ts_list=>'USERS',incl_constraints=>TRUE,full_check=>TRUE);
or
execute dbms_tts.transport_set_check(ts_list=>'USERS,INDX',incl_constraints=>TRUE,full_check=>TRUE);
check the temp table named "transport_set_violations" so as to observe the detail constraints information related to another
tablespace
----------------------------------------------------------------------
select * from transport_set_violations
before exp the tablespace information
-------------------------------------
alter tablespace USERS read only;
--->tablespace checkpoint will be performed
alter tablespace indx read only;
export the dict information for that tablespace USERS
------------------------------------------------------
exp transport_tablespace=y tablespaces=USERS file=D:\USERS.dmp
username:sys/password@icmnlsdb as sysdba
or
exp tablespaces=users,indx transport_tablespace=y file=exp_users_indx.dmp
username:sys/password@icmnlsdb as sysdba
after exported tablespace,we have to backup the OS file for it and gather them to be one of the backupset so as to transfer
to our target machine
-----------------------------------------------------------------------
How to import the backup tablespace which has been transferred from original target
--------------------------------------------------------------------
imp transport_tablespace=y datafiles='d:\backupdb\users01.dbf','d:\backupdb\users02.dbf'
username:sys/passw0rd@rmdb as sysdba;
or
imp transport_tablespace=y tablespaces=users,indx file=exp_users_indx.dmp
datafiles='D:\ORACLE\ORADATA\ICMNLSDB\USERS01.DBF','D:\ORACLE\ORADATA\ICMNLSDB\INDX01.DBF'
username:sys/passw0rd@rmdb as sysdba;
Online the tablespace
----------------------------------------------------------------------------
alter tablespace users read write;
alter tablespace indx read write;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12361284/viewspace-666/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 關於oracle可傳輸表空間的總結Oracle
- MySQL 傳輸表空間MySql
- Oracle 表空間傳輸Oracle
- oracle表空間傳輸Oracle
- Oracle傳輸表空間Oracle
- MySQL表空間傳輸MySql
- oracle可傳輸表空間TTS小結OracleTTS
- mysql之 表空間傳輸MySql
- 傳輸表空間操作-OracleOracle
- Oracle傳輸表空間(TTS)OracleTTS
- Oracle 傳輸表空間-RmanOracle
- 跨平臺表空間遷移(傳輸表空間)
- 【傳輸表空間】使用 EXPDP/IMPDP工具的傳輸表空間完成資料遷移
- 基於可傳輸表空間的表空間遷移
- Oracle傳輸表空間學習Oracle
- Oracle 傳輸表空間-EXPDP/IMPDPOracle
- Oracle 傳輸表空間-EXP/IMPOracle
- 傳輸表空間自包含理解
- Oracle表空間傳輸詳解Oracle
- 【傳輸表空間】使用 EXPDP/IMPDP工具的傳輸表空間完成資料遷移[轉]
- undo表空間總結
- oracle 傳輸表空間一例Oracle
- Oracle可傳輸表空間測試Oracle
- 5.7 mysql的可傳輸表空間MySql
- 表空間傳輸讀書筆記筆記
- 【XTTS】Oracle傳輸表空間xtts增量方式TTSOracle
- 傳輸表空間(從Linux到Windows)LinuxWindows
- 傳輸表空間及問題處理
- oracle表空間傳輸的限制條件Oracle
- 實戰RMAN備份傳輸表空間
- 使用Oracle可傳輸表空間的特性複製資料(7)實戰RMAN備份傳輸表空間Oracle
- Oracle表空間維護總結Oracle
- 臨時表空間操作總結
- ORACLE臨時表空間總結Oracle
- 12c 資料泵傳輸表空間
- 資料泵 TTS(傳輸表空間技術)TTS
- 聊聊Oracle可傳輸表空間(Transportable Tablespace)(上)Oracle
- 聊聊Oracle可傳輸表空間(Transportable Tablespace)(中)Oracle