oracle导入导出工具exp/imp
                 jopen
                 12年前
            
                    - 全库导出
- 按用户导出
- 按表导出
1、查看exp 参数
  [oracle@honey lost+found]$  exp help=y
                          - 速度慢,由于exp连接到数据库需要先select要导出的数据,再通过SGA、PGA传输给exp。
- 如果此连接断开,则exp需从头开始导出,没有断点续传的功能。
- 消耗服务端资源,只能服务端业务的前提下使用。
四、imp导入数据
  1、查看imp参数
  [oracle@honey lost+found]$  imp help=y
  
  
2、按用户导入
  [oracle@honey lost+found]$  imp system/systempassword@orcl001   fromuser=olap  touser=user001  ignore=y  file=/home/lost+found/olap.dmp
  
  注意:要确认touser=user001 这个oracle用户user001是否存在。
  简言之就是:导入数据前需要在目标数据库中创建对应的用户,并给用户相应的权限和用户在自己默认表空间上的配额。
  3、按表导入:
  [oracle@honey lost+found]$  imp system/systempassword@orcl001  tables=tab1  fromuser=olap,user001  touser=user001,user001  ignore=y  file=/home/lost+found/olap1.dmp
  
                    