資料庫匯入匯出的問題

2021-08-14 10:41:23 字數 871 閱讀 3706

測試資料庫版本12.2.0.1.0(redhat),正式資料庫是客戶已有的11.2.0.1.0(win),正式資料庫上新建例項了srmhirain

匯出:nohup expdp itf/handitf#hr@srmtest directory=dump_dir dumpfile=exp_itf_201801031030_%u.dmp logfile=exp_itf_201801031030.log parallel=4 version=11.2.0.1.0

匯入:impdp itf/handitf#hr@srmhirain directory= dump_dir dumpfile=exp_itf_201801031030_%u.dmp logfile=imp_itf.log table_exists_action = replace remap_schema=itf:itf remap_tablespace=itf_data:itf_data parallel=4 version=11.2.0.1.0

問題:

問題分析:

許可權:itf使用者自己建的directory預設有讀寫許可權,本地data_dmp上的許可權開啟了

單執行緒:匯入匯出都必須是單執行緒

最終單執行緒匯入匯出成功了

有時間得好好研究下,linux資料庫匯入到windows,只能用單執行緒匯入匯出嘛?

匯入匯出資料庫

1.匯出整個資料庫 mysqldump u 使用者名稱 p 資料庫名 匯出的檔名 2.匯出乙個表 mysqldump u 使用者名稱 p 資料庫名 表名 匯出的檔名 3.匯入資料庫 mysql 資料庫名 檔案 mysql u root 資料庫名 檔案 4.備份時,排除某張表的 mysqldump u...

資料庫匯入匯出

啥 也不說了。資料的匯出 1 將資料庫 test 完全匯出 使用者名稱 system 密碼manager 匯出到d daochu.dmp中 exp system manager test file d daochu.dmp full y 2 將資料庫中 system 使用者與sys 使用者的表匯出 ...

資料庫匯入匯出

檢視檔案位置 select from dba directories 建立 create or replace directory my dir as usr datapump create or replace directory my logdir as usr logs 匯出單個例項 expd...