1. 程式人生 > >Oracle匯入、匯出資料庫dmp檔案

Oracle匯入、匯出資料庫dmp檔案

版本

1、例項資料完全匯出

即匯出指定例項下的所有資料

exp username/[email protected]/orcl file=d:/daochu/test.dmp full=y

2、使用者資料匯出

即匯出指定例項下指定使用者的資料,如下為匯出使用者myoracle1和使用者myoracle2的資料

exp username/[email protected]/orcl file=d:/daochu/test.dmp owner=(myoracle1,myoracle2)

3、具體表資料匯出

即匯出指定例項下指定使用者下的具體表的資料,如下即為匯出例項orcl,使用者username下的t_user表和t_role表的資料

exp username/[email protected]/orcl file=d:/daochu/test.dmp tables=(t_user,t_role)