标签:
Microsoft Windows [版本 10.0.10586]
(c) 2015 Microsoft Corporation。保留所有权利。
C:\WINDOWS\system32> sqlplus sys/sys@orcl as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on 星期五 8月 26 10:59:42 2016
Copyright (c) 1982, 2010, Oracle. All rights reserved.
连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> create directory exp_dir as ‘C:\Zjzsmap\databak‘; 注:C:\Zjzsmap\databak是文件存放的位置
目录已创建。
SQL> grant read,write on directory exp_dir to dd_gisqam; 注:dd_gisqam 表空间名称
授权成功。
SQL> exit;
从 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options 断开
C:\WINDOWS\system32>expdp dd_gisqam/dd_gisqam@orcl directory=exp_dir dumpfile=dd_gisqam160826.dmp schemas=dd_gisqam logfile=dd_gisqam160826.log; 注:导出语句
Export: Release 11.2.0.1.0 - Production on 星期五 8月 26 11:04:43 2016
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
启动 "DD_GISQAM"."SYS_EXPORT_SCHEMA_01": dd_gisqam/********@orcl directory=exp_dir dumpfile=dd_gisqam160826.dmp schemas=dd_gisqam logfile=dd_gisqam160826.log;
正在使用 BLOCKS 方法进行估计...
处理对象类型 SCHEMA_EXPORT/TABLE/TABLE_DATA
使用 BLOCKS 方法的总估计: 512 KB
处理对象类型 SCHEMA_EXPORT/USER
处理对象类型 SCHEMA_EXPORT/SYSTEM_GRANT
处理对象类型 SCHEMA_EXPORT/ROLE_GRANT
处理对象类型 SCHEMA_EXPORT/DEFAULT_ROLE
处理对象类型 SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
处理对象类型 SCHEMA_EXPORT/SEQUENCE/SEQUENCE
处理对象类型 SCHEMA_EXPORT/TABLE/TABLE
处理对象类型 SCHEMA_EXPORT/TABLE/INDEX/INDEX
处理对象类型 SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
处理对象类型 SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
处理对象类型 SCHEMA_EXPORT/TABLE/COMMENT
处理对象类型 SCHEMA_EXPORT/PROCEDURE/PROCEDURE
处理对象类型 SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
处理对象类型 SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
处理对象类型 SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
处理对象类型 SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS
. . 导出了 "DD_GISQAM"."AM_ATTRIBUTE" 6.968 KB 5 行
. . 导出了 "DD_GISQAM"."AM_ARTICLE_TYPE_GROUP" 6.953 KB 8 行
. . 导出了 "DD_GISQAM"."AM_FIELD_ENUM" 10.61 KB 18 行
. . 导出了 "DD_GISQAM"."AM_ROLE" 5.898 KB 2 行
. . 导出了 "DD_GISQAM"."AM_SYSTEM_LOG" 7.679 KB 2 行
. . 导出了 "DD_GISQAM"."AM_SYS_ENUM_FIELD_LIST" 6.414 KB 4 行
. . 导出了 "DD_GISQAM"."AM_USER" 7.960 KB 1 行
. . 导出了 "DD_GISQAM"."AM_ACTIVITY_DETAILS" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_APPRAISAL" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_APPRAISAL_LIST" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_ARTICLE" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_ARTICLE_HISTORY_FILE" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_ARTICLE_LINK_ENTRY" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_ARTICLE_TEMPLATE" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_CATALOGUE_CODE_LIST" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_CATEGORY" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_CATEGORY_DESCRIPTION" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_CATEGORY_GROUP" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_CUSTOM_DATUM_CATEGORY_GROUP" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_DATA_FIELD" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_DATA_FILTER" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_DATA_FILTER_FRAME_ROLE" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_DATA_FILTER_ROLE" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_DATUM_CATEGORY" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_DATUM_CATEGORY_GROUP" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_DATUM_DATA_FIELD" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_DATUM_GROUP_PRO" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_DATUM_PRO" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_DATUM_PRO_SHARE" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_DEPARTMENT" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_DEPARTMENT_USER" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_DESTROY" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_DESTROY_LIST" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_DESTROY_SOURCE" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_ENTRYS_LIDX" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_FAMILY_MEMBER" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_FRAME_ROLE_PRIVILEGE" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_LAND_USE_DETAIL" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_LAND_USE_REGISTER" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_LINK_CONTENT" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_LINK_DEF" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_LINK_INHERIT" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_LINK_PROPERTY" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_MOVE_ARCHIVES" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_MOVE_ARCHIVES_DETAIL" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_QUERY_RESULT" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_REGISTER_BACKUP_ENTRY" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_ROLE_PRIVILEGE" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_R_BACKUP_FIELD" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_SPARSE_IMAGE_NOTES" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_SPOTCHECK" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_SPOTCHECK_PROBLEM" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_STORAGE" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_SUB_DATA_FIELD" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_USE" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_USER_ROLE" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_USE_BASEFILE" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_USE_ROLL" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_USE_ROLL_PAGE" 0 KB 0 行
. . 导出了 "DD_GISQAM"."AM_WEBSERVICE" 0 KB 0 行
. . 导出了 "DD_GISQAM"."T_IDCARD" 0 KB 0 行
已成功加载/卸载了主表 "DD_GISQAM"."SYS_EXPORT_SCHEMA_01"
******************************************************************************
DD_GISQAM.SYS_EXPORT_SCHEMA_01 的转储文件集为:
C:\ZJZSMAP\DATABAK\DD_GISQAM160826.DMP
作业 "DD_GISQAM"."SYS_EXPORT_SCHEMA_01" 已于 11:05:29 成功完成 注:导出成功
C:\WINDOWS\system32> impdp system/sys@orcl directory=exp_dir dumpfile=dd_gisqam160826.dmp; 注:导入语句
标签:
原文地址:http://www.cnblogs.com/ylldbk/p/5809633.html