一、expdp导出数据库1、按用户导出expdp scott/tiger@orcl DIRECTORY=oracle_dmp dumpfile=bak.dmp schemas=scott version=10.2.0.1.0;--如果10g导入11g,加上版本号2.按数据库导出expdp sy...
分类:
数据库 时间:
2015-08-07 01:44:03
阅读次数:
229
SQL> create or replace directory expdp_dir as '/home/oracle/dump';Directory created.SQL> @$ORACLE_HOME/rdbms/admin/awrextr~~~~~~~~~~~~~AWR EXTRACT~~~~...
分类:
其他好文 时间:
2015-08-05 14:43:24
阅读次数:
125
数据备份物理备份 : 底层数据块逻辑备份 :exp(export), imp(import) 导入导出工具,提取成dump文件,再将dump文件放入数据库expdp, impdp 数据蹦utilities手册里有exp -helpwhich expexp SCOTT/TIGER GRANTS=Y T...
分类:
其他好文 时间:
2015-07-31 12:12:10
阅读次数:
165
Data Pump ExportATTACHDefault: job currently in the user's schema, if there is only onePurpose(目的)Attaches the client session to an existing export jo...
分类:
其他好文 时间:
2015-07-30 22:40:16
阅读次数:
130
1.本地数据库新建一个用户test,并授予以下基本权限(尽量不要多授权,如本地权限大于远程,会导致导出失败,郁闷!):grant connect to test;grant resource to test;grant create table, create database link to te...
分类:
数据库 时间:
2015-07-29 22:35:52
阅读次数:
177
//备份数据库前的sqlplus命令创建数据库dmp存入目录sqlplus /nologconn /as sysdbaSQL> create or replace directory expdir as 'E:/Kxdb';目录已创建。cmd:// 导出数据库expdp EMMS/EMMS123 d...
分类:
数据库 时间:
2015-07-29 00:51:13
阅读次数:
188
在imp 还原数据库的时候出现问题如下; 这个问题是 你用 expdp导出的 却用客户端的 imp 导入;换成impdp导入即可。当用impdp导入(impdp EMMS/EMMS123 directory=expdir dumpfile=EMMS2.dmp) 却发现 【IMPDP】使用工具IMPD...
分类:
其他好文 时间:
2015-07-28 14:32:45
阅读次数:
282
Oracle数据泵导入导出案例Oracle数据库导入导出工具,可以使用exp/imp,但这是比较早期的工具。本文主要介绍数据泵expdp/impdp工具的使用。建立数据泵目录使用数据泵需要先建directorycreate directory dump_scott as'/home/oracle/d...
分类:
数据库 时间:
2015-07-24 20:21:09
阅读次数:
155
expdp 备份数据库、expdp/impdp简单测试操作系统层面创建目录[root@Oracle11g ~]# mkdir -p /home/oracle/db_back/修改目录的所属用户、所属组[root@Oracle11g ~]# chown -R oracle:oinstall /home...
分类:
数据库 时间:
2015-07-18 19:49:19
阅读次数:
211
----源库prodSQL>selectnamefromv$tablespace;
NAME
------------------------------
SYSTEM
SYSAUX
UNDOTBS1
USERS
TEMP
TEMP1
TEST
TEST1
EXPTEST
9rowsselected.
SQL>selectuserenv(‘LANGUAGE‘)FROMDUAL;
USERENV(‘LANGUAGE‘)
----------------------------------..
分类:
其他好文 时间:
2015-07-06 20:07:37
阅读次数:
161