Vcenter server使用的好处
2015-10-22 20:23
218 查看
一般来说,expdp备份的步骤如下:
注:数据泵只能在oracle服务端使用,此处可以备份多个加条件的表
1、创建DIRECTORY
create directory etl_dump as 'D:\oracle\dir_dp';
2、授权
Grant read,write on directory etl_dump to etl_qy;
3、备份
expdp scott/tiger@orcl directory=ETLDUMP dumpfile=aaq1.dmp tables=emp,dept QUERY = 'EMP:"where deptno =20"','DEPT:"where deptno <=20 and deptno >=10"'
4、恢复
impdp liuyy_001/liuyy_001@orcl dumpfile = aaq1.dmp tables = emp,dept directory=ETLDUMP REMAP_SCHEMA=scott:liuyy_001
注:数据泵只能在oracle服务端使用,此处可以备份多个加条件的表
1、创建DIRECTORY
create directory etl_dump as 'D:\oracle\dir_dp';
2、授权
Grant read,write on directory etl_dump to etl_qy;
3、备份
expdp scott/tiger@orcl directory=ETLDUMP dumpfile=aaq1.dmp tables=emp,dept QUERY = 'EMP:"where deptno =20"','DEPT:"where deptno <=20 and deptno >=10"'
4、恢复
impdp liuyy_001/liuyy_001@orcl dumpfile = aaq1.dmp tables = emp,dept directory=ETLDUMP REMAP_SCHEMA=scott:liuyy_001
相关文章推荐
- ios8中的UIScreen
- 关于使用 no-js (Modernizr)
- CoreData 基础
- Windows API教程文件系统
- 小小菜之Cocos2d-x游戏开发旅程——Lua打包apk
- 三、状态机的设计指导原则
- 关于使用 no-js (Modernizr)
- 黑马程序员——java学习日记八
- python装饰器学习笔记
- 函数
- 顺时针打印矩阵
- 项目39.4-1输入一个正整数,判断其是否为一个回文数(例1221、12321都是回文数,正着看、倒着看,是同一个数)。
- IOS 判断设备屏幕尺寸、分辨率
- Problem of Precision(矩阵快速幂)
- Struts2和Spring整合
- Linux Block Device Number Management
- iOS 设备的屏幕尺寸、分辨率及其屏幕边长比例详细情况是怎样的?
- Ubuntu下安装Libsvm(解决raise Exception('LIBSVM library not found.'))总结汇总
- Codevs P1997 守卫者的挑战
- 错排