2.用户模式:備份某個用戶模式下的所有對象。業務數據庫通常採用的備份方式
exp username/password file=test.dmp log=test.log 3.表模式:备份某个用户模式下指定的对象(表)。業務數據庫通常採用的備份方式
沒有使用這種方式,但參照給出的example應該爲以下模式
exp username/password grants=y tables=(tables_name1,tables_name2)
or
exp username/password grants=y tables=(T1:P1,T1:P2)
數據導入:
imp的example與exp的相同
Example: IMP SCOTT/TIGER
Or, you can control how Import runs by entering the IMP command followed
by various arguments. To specify parameters, you use keywords:
Format: IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
今天用了下,不過沒有找到如何將數據導入到指定的數據庫中
imp username/password file=test.dmp ignore=y 這種導入方式,只能將文件導入到當前用戶下ignore=y 會強制覆蓋