白天的时候,做了一个获取dmp文件的schema实验,特此记录一下。

参考文章:如何获取dmp文件的schema  -- by 我的烟灰缸

http://oradb.cc/2017/07/10/%E5%A6%82%E4%BD%95%E8%8E%B7%E5%8F%96dmp%E6%96%87%E4%BB%B6%E7%9A%84schema/

示例:

第一步:导出hr用户下的数据信息

[oracle@localhost ~]$ expdp hr/12 directory=DATA_PUMP_DIR dumpfile=1.dmp logfile=1.log

Export: Release 11.2.0.4.0 - Production on Sat Feb 10 22:12:27 2018

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "HR"."SYS_EXPORT_SCHEMA_01": hr/******** directory=DATA_PUMP_DIR dumpfile=1.dmp logfile=1.log
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 1.251 GB
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type SCHEMA_EXPORT/TABLE/GRANT/CROSS_SCHEMA/OBJECT_GRANT
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE
Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_INDEX/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/VIEW/VIEW
Processing object type SCHEMA_EXPORT/VIEW/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type SCHEMA_EXPORT/TYPE/TYPE_BODY
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/POST_TABLE_ACTION
Processing object type SCHEMA_EXPORT/MATERIALIZED_VIEW
Processing object type SCHEMA_EXPORT/TABLE/MATERIALIZED_VIEW_LOG
Processing object type SCHEMA_EXPORT/JOB
Processing object type SCHEMA_EXPORT/REFRESH_GROUP
. . exported "HR"."TEST121201" 153.4 MB 10000000 rows
. . exported "HR"."TEST_3" 131.2 MB 9900001 rows
. . exported "HR"."TEST0103" 113.4 MB 8000000 rows
. . exported "HR"."TEST0123" 58.10 MB 3000000 rows
. . exported "HR"."TABLE1" 5.984 KB 11 rows
. . exported "HR"."TABLE2" 58.10 MB 2999998 rows
. . exported "HR"."TEST0122" 41.92 MB 3000000 rows
. . exported "HR"."T22" 19.22 MB 10000 rows
. . exported "HR"."A" 16.35 MB 435819 rows
. . exported "HR"."B" 16.35 MB 435820 rows
. . exported "HR"."TEST_1" 14.61 MB 666666 rows
. . exported "HR"."T1" 8.458 MB 87261 rows
. . exported "HR"."TEST" 8.456 MB 87231 rows
. . exported "HR"."TEST0309" 7.404 MB 87273 rows
. . exported "HR"."TEST2" 8.456 MB 87231 rows
. . exported "HR"."LIST_EXAMPLE_1":"PART01" 5.429 KB 1 rows
. . exported "HR"."LIST_EXAMPLE_1":"PART03" 5.429 KB 1 rows
. . exported "HR"."RANGE_EXAMPLE_1":"PART04" 5.851 KB 1 rows
. . exported "HR"."T2":"Q1"."SYS_SUBP182" 385.6 KB 26785 rows
. . exported "HR"."T2":"Q1"."SYS_SUBP183" 532.3 KB 37500 rows
. . exported "HR"."T2":"Q2"."SYS_SUBP184" 523.8 KB 35715 rows
. . exported "HR"."T2":"Q2"."SYS_SUBP185" 724.1 KB 50000 rows
. . exported "HR"."TT_1" 6.717 MB 68467 rows
. . exported "HR"."TEST012302" 4.187 MB 400000 rows
. . exported "HR"."T" 3.633 MB 171270 rows
. . exported "HR"."T_1" 4.132 MB 41779 rows
. . exported "HR"."TEST1212" 2.209 MB 199998 rows
. . exported "HR"."TEST_2" 1.460 MB 66666 rows
. . exported "HR"."EMP_TEST" 582.0 KB 98 rows
. . exported "HR"."TEST4" 152.1 KB 6666 rows
. . exported "HR"."TEST1222" 151.7 KB 10000 rows
. . exported "HR"."TEST3" 152.0 KB 6666 rows
. . exported "HR"."EMPLOYEE" 102.8 KB 10000 rows
. . exported "HR"."TEST1207" 5.468 KB 1 rows
. . exported "HR"."BOOKS" 9.421 KB 1 rows
. . exported "HR"."BUFFER_BUSY" 5.429 KB 2 rows
. . exported "HR"."COUNTRIES" 6.367 KB 25 rows
. . exported "HR"."DEPARTMENTS" 7.007 KB 27 rows
. . exported "HR"."DEPT_80" 11.81 KB 34 rows
. . exported "HR"."DEPT_80_1" 11.81 KB 34 rows
. . exported "HR"."EMP" 8.523 KB 13 rows
. . exported "HR"."EMPLOYEES" 16.81 KB 107 rows
. . exported "HR"."EMP_DATA" 16.81 KB 107 rows
. . exported "HR"."EMP_DATA2" 16.81 KB 107 rows
. . exported "HR"."EMP_DATA_1130" 16.81 KB 107 rows
. . exported "HR"."EXAMPLE_1" 5.453 KB 3 rows
. . exported "HR"."EXAMPLE_2" 5.429 KB 1 rows
. . exported "HR"."EXPTABLE" 18.00 KB 1000 rows
. . exported "HR"."JOBS" 6.992 KB 19 rows
. . exported "HR"."JOB_HISTORY" 7.054 KB 10 rows
. . exported "HR"."JOIN_A_B_MV" 6.25 KB 29 rows
. . exported "HR"."LOCATIONS" 8.273 KB 23 rows
. . exported "HR"."MV1" 16.80 KB 107 rows
. . exported "HR"."PERSONS" 9.312 KB 1 rows
. . exported "HR"."PRINT_MEDIA" 5.453 KB 1 rows
. . exported "HR"."REGIONS" 5.476 KB 4 rows
. . exported "HR"."TEST012301" 6.109 KB 19 rows
. . exported "HR"."TEST0301" 5.437 KB 1 rows
. . exported "HR"."TEST0307" 20.93 KB 1000 rows
. . exported "HR"."TEST1218" 7.859 KB 200 rows
. . exported "HR"."TEST1219" 5.554 KB 12 rows
. . exported "HR"."T_EMP" 8.554 KB 107 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q1_1998"."SYS_SUBP82" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q1_1999"."SYS_SUBP86" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q1_2000"."SYS_SUBP90" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q2_1998"."SYS_SUBP83" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q2_1999"."SYS_SUBP87" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q2_2000"."SYS_SUBP91" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q2_2000"."SYS_SUBP92" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q2_2000"."SYS_SUBP93" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q2_2000"."SYS_SUBP94" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q2_2000"."SYS_SUBP95" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q2_2000"."SYS_SUBP96" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q2_2000"."SYS_SUBP97" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q2_2000"."SYS_SUBP98" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q3_1998"."SYS_SUBP84" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q3_1999"."SYS_SUBP88" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q3_2000"."CH_C" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q3_2000"."CH_I" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q3_2000"."CH_P" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q3_2000"."CH_S" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q3_2000"."CH_T" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q4_1998"."SYS_SUBP85" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q4_1999"."SYS_SUBP89" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q4_2000"."SYS_SUBP100" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q4_2000"."SYS_SUBP101" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q4_2000"."SYS_SUBP102" 0 KB 0 rows
. . exported "HR"."COMPOSITE_SALES":"SALES_Q4_2000"."SYS_SUBP99" 0 KB 0 rows
. . exported "HR"."CUSTOMERS_PART":"P1"."P1_EAST" 0 KB 0 rows
. . exported "HR"."CUSTOMERS_PART":"P1"."P1_OTHER" 0 KB 0 rows
. . exported "HR"."CUSTOMERS_PART":"P1"."P1_WEST" 0 KB 0 rows
. . exported "HR"."CUSTOMERS_PART":"P2"."P2_EAST" 0 KB 0 rows
. . exported "HR"."CUSTOMERS_PART":"P2"."P2_OTHER" 0 KB 0 rows
. . exported "HR"."CUSTOMERS_PART":"P2"."P2_WEST" 0 KB 0 rows
. . exported "HR"."CUSTOMERS_PART":"P3"."P3_EAST" 0 KB 0 rows
. . exported "HR"."CUSTOMERS_PART":"P3"."P3_OTHER" 0 KB 0 rows
. . exported "HR"."CUSTOMERS_PART":"P3"."P3_WEST" 0 KB 0 rows
. . exported "HR"."DEPENDENT" 0 KB 0 rows
. . exported "HR"."EMPLOYEES_DEMO" 0 KB 0 rows
. . exported "HR"."EXAMPLE_4" 0 KB 0 rows
. . exported "HR"."EXM_1" 0 KB 0 rows
. . exported "HR"."HASH_PRODUCTS":"SYS_P41" 0 KB 0 rows
. . exported "HR"."HASH_PRODUCTS":"SYS_P42" 0 KB 0 rows
. . exported "HR"."LATER" 0 KB 0 rows
. . exported "HR"."LIST_1" 0 KB 0 rows
. . exported "HR"."LIST_EXAMPLE":"PART02" 0 KB 0 rows
. . exported "HR"."LIST_EXAMPLE_1":"PART02" 0 KB 0 rows
. . exported "HR"."MLOG$_EMPLOYEES" 0 KB 0 rows
. . exported "HR"."RANGE_EXAMPLE":"PART01" 0 KB 0 rows
. . exported "HR"."RANGE_EXAMPLE":"PART02" 0 KB 0 rows
. . exported "HR"."RANGE_EXAMPLE":"PART03" 0 KB 0 rows
. . exported "HR"."RANGE_EXAMPLE_1":"PART01" 0 KB 0 rows
. . exported "HR"."RANGE_EXAMPLE_1":"PART02" 0 KB 0 rows
. . exported "HR"."RANGE_EXAMPLE_1":"PART03" 0 KB 0 rows
. . exported "HR"."RECT_TAB" 0 KB 0 rows
. . exported "HR"."TEST0108" 0 KB 0 rows
. . exported "HR"."TEST0109" 0 KB 0 rows
. . exported "HR"."TEST0110" 0 KB 0 rows
. . exported "HR"."TEST0112" 0 KB 0 rows
. . exported "HR"."TEST0226" 0 KB 0 rows
. . exported "HR"."TEST120701" 0 KB 0 rows
. . exported "HR"."TEST120702" 0 KB 0 rows
. . exported "HR"."TEST1229" 0 KB 0 rows
. . exported "HR"."TEST_1208" 0 KB 0 rows
. . exported "HR"."TEST_1211" 0 KB 0 rows
. . exported "HR"."TOMS" 0 KB 0 rows
. . exported "HR"."TOMS1" 0 KB 0 rows
. . exported "HR"."TT" 0 KB 0 rows
Master table "HR"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
******************************************************************************
Dump file set for HR.SYS_EXPORT_SCHEMA_01 is:
/oracle/app/oracle/admin/mydb/dpdump/1.dmp
Job "HR"."SYS_EXPORT_SCHEMA_01" successfully completed at Sat Feb 10 22:15:16 2018 elapsed 0 00:02:45

第二步:获取dump文件的ddl和dml

这时的impdp不会真正的导入

[oracle@localhost ~]$ impdp \'/ as sysdba\' directory=DATA_PUMP_DIR dumpfile=1.dmp logfile=imp.log sqlfile=getsql.txt

Import: Release 11.2.0.4.0 - Production on Sat Feb 10 22:16:04 2018

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYS"."SYS_SQL_FILE_FULL_01" successfully loaded/unloaded
Starting "SYS"."SYS_SQL_FILE_FULL_01": "/******** AS SYSDBA" directory=DATA_PUMP_DIR dumpfile=1.dmp logfile=imp.log sqlfile=getsql.txt
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type SCHEMA_EXPORT/TABLE/GRANT/CROSS_SCHEMA/OBJECT_GRANT
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE
Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_INDEX/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/VIEW/VIEW
Processing object type SCHEMA_EXPORT/VIEW/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type SCHEMA_EXPORT/TYPE/TYPE_BODY
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/POST_TABLE_ACTION
Processing object type SCHEMA_EXPORT/MATERIALIZED_VIEW
Processing object type SCHEMA_EXPORT/TABLE/MATERIALIZED_VIEW_LOG
Processing object type SCHEMA_EXPORT/JOB
Processing object type SCHEMA_EXPORT/REFRESH_GROUP
Job "SYS"."SYS_SQL_FILE_FULL_01" successfully completed at Sat Feb 10 22:16:14 2018 elapsed 0 00:00:08

第三步:根据命令,查找出导出direction的路径,然后跳转至该路径:

SQL> col OWNER for a6
SQL> col DIRECTORY_NAME for a30
SQL> col DIRECTORY_PATH for a80
SQL> select * from dba_directories; OWNER DIRECTORY_NAME DIRECTORY_PATH
------ ------------------------------ --------------------------------------------------------------------------------
SYS SUBDIR /oracle/app/oracle/product/11.2.0/dbhome_1/demo/schema/order_entry//2002/Sep
SYS SS_OE_XMLDIR /oracle/app/oracle/product/11.2.0/dbhome_1/demo/schema/order_entry/
SYS BFILE_DIR /oracle/test/
SYS LOG_FILE_DIR /oracle/app/oracle/product/11.2.0/dbhome_1/demo/schema/log/
SYS MEDIA_DIR /oracle/app/oracle/product/11.2.0/dbhome_1/demo/schema/product_media/
SYS DATA_FILE_DIR /oracle/app/oracle/product/11.2.0/dbhome_1/demo/schema/sales_history/
SYS XMLDIR /oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/xml
SYS ORACLE_OCM_CONFIG_DIR /oracle/app/oracle/product/11.2.0/dbhome_1/ccr/hosts/localhost.localdomain/state
SYS DATA_PUMP_DIR /oracle/app/oracle/admin/mydb/dpdump/
SYS ORACLE_OCM_CONFIG_DIR2 /oracle/app/oracle/product/11.2.0/dbhome_1/ccr/state 10 rows selected.
[oracle@localhost ~]$ cd /oracle/app/oracle/admin/mydb/dpdump/
[oracle@localhost dpdump]$ ls
1.dmp 1.log dp.log getsql.txt imp.log import.log

第四步、查看生成的txt

[oracle@localhost dpdump]$ more getsql.txt
-- CONNECT SYS
ALTER SESSION SET EVENTS '10150 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '10904 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '25475 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '10407 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '10851 TRACE NAME CONTEXT FOREVER, LEVEL 1';
ALTER SESSION SET EVENTS '22830 TRACE NAME CONTEXT FOREVER, LEVEL 192 ';
-- new object type path: SCHEMA_EXPORT/USER
-- CONNECT SYSTEM
CREATE USER "HR" IDENTIFIED BY VALUES 'S:6589ECB449396797439193B98DA03EEA7517E9EE6CAB8DCA45DC94D97533;8811D693B708D1E5'
DEFAULT TABLESPACE "USERS"
TEMPORARY TABLESPACE "TEMP";
-- new object type path: SCHEMA_EXPORT/SYSTEM_GRANT
GRANT GLOBAL QUERY REWRITE TO "HR";
GRANT QUERY REWRITE TO "HR";
GRANT CREATE MATERIALIZED VIEW TO "HR";
GRANT CREATE PUBLIC DATABASE LINK TO "HR";
GRANT CREATE DATABASE LINK TO "HR";
GRANT CREATE SEQUENCE TO "HR";
GRANT CREATE VIEW TO "HR";
GRANT CREATE SYNONYM TO "HR";
GRANT CREATE ANY TABLE TO "HR";
GRANT UNLIMITED TABLESPACE TO "HR";
GRANT ALTER SESSION TO "HR";
GRANT CREATE SESSION TO "HR" WITH ADMIN OPTION;
-- new object type path: SCHEMA_EXPORT/ROLE_GRANT
GRANT "RESOURCE" TO "HR";
GRANT "DBA" TO "HR";
-- new object type path: SCHEMA_EXPORT/DEFAULT_ROLE
ALTER USER "HR" DEFAULT ROLE ALL;
-- new object type path: SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
-- CONNECT HR BEGIN
sys.dbms_logrep_imp.instantiate_schema(schema_name=>SYS_CONTEXT('USERENV','CURRENT_SCHEMA'), export_db_name=>'MYDB', inst_scn=>'');
COMMIT;
END;
/
-- new object type path: SCHEMA_EXPORT/TYPE/TYPE_SPEC
-- CONNECT SYS ALTER SESSION SET NLS_LENGTH_SEMANTICS=BYTE; CREATE TYPE "HR"."PERSON_T"
OID '5EA32C5CD3A616C9E055000000000001' AS OBJECT (name VARCHAR2(100), ssn NUMBER)
NOT FINAL;
/ ALTER TYPE "HR"."PERSON_T"
COMPILE SPECIFICATION
PLSQL_OPTIMIZE_LEVEL= 2
PLSQL_CODE_TYPE= INTERPRETED
PLSQL_DEBUG= FALSE PLSCOPE_SETTINGS= 'IDENTIFIERS:NONE' / ALTER SESSION SET NLS_LENGTH_SEMANTICS=BYTE; ………………………… 更多内容不展示在这

从create user "HR"可以看出,该dmp文件的schema为hr。

获取dmp文件的schema的更多相关文章

  1. 【故障处理】IMP-00010错误 12C的dmp文件导入11G

    [故障处理]IMP-00010错误 12C的dmp文件导入11G 1  BLOG文档结构图 2  前言部分 2.1  导读和注意事项 各位技术爱好者,看完本文后,你可以掌握如下的技能,也可以学到一些其 ...

  2. 【exp/imp】将US7ASCII字符集的dmp文件导入到ZHS16GBK字符集的数据库中

    [exp/imp]将US7ASCII字符集的dmp文件导入到ZHS16GBK字符集的数据库中 1.1  BLOG文档结构图 1.2  前言部分 1.2.1  导读和注意事项 各位技术爱好者,看完本文后 ...

  3. 转-【exp/imp】将US7ASCII字符集的dmp文件导入到ZHS16GBK字符集的数据库中

    原帖地址:http://blog.csdn.net/lihuarongaini/article/details/71512116 1.2  前言部分 1.2.1  导读和注意事项 各位技术爱好者,看完 ...

  4. [转]Windows 7 蓝屏后获取 MEMORY.DMP 文件及注意事项

    转自:http://hi.baidu.com/guicomeon/item/d6753a177fc76f0f8fbde46a 系统默认会在 C:\Windows 目录下创建 MEMORY.DMP 文件 ...

  5. Oracle----SQL语句积累 (Oracle 导入 dmp文件)

    Oracle----SQL语句积累 (Oracle 导入 dmp文件) Oracle SQL PL  导入dum文件 1.数据库DBA权限: 注意:这个是在cmd命令行中直接输入,不需要进入Oracl ...

  6. 关于Oracle dmp文件导入随笔

    进入博客园已经两年多了,每次想写点什么,都是给自己个各种借口,不了了之~今天就从Oracle数据库最长用的导入开始吧! 1.低版本的exp/imp可以连接到高版本(或同版本)的数据库服务器,比如:10 ...

  7. WinDbg分析DMP文件方法完全攻略

    前言:在C++实际开发过程中,开发出来的程序,一般情况下由开发人员进行单元测试,然后移交给测试人员进行测试.在开发人员测试出现的bug,我们可以直接在本地进行调试.如果测试人员测试出崩溃级别的bug, ...

  8. 如何生成转储(dmp)文件--工具篇

    转储文件也就是我们常说的dump文件.可以把转储文件看成软件的某个时刻的一个快照.转储文件一般都是在软件出现问题时手动生成或者程序自动生成.下面我们介绍几种生成转储文件的方法. 1. 任务管理器 任务 ...

  9. 20181112-PostgreSQL数据库dmp文件导入(记录一次数据导入)

    20181112-PostgreSQL数据库dmp文件导入 标注:dmp文件导入,场景:多个schema导入 1. 环境准备: postgres集群master节点上,postgres用户执行以下操作 ...

随机推荐

  1. mysql 查询表死锁 和结束死锁的表步骤

    1.查询是否锁表 show OPEN TABLES ; 2.查询进程 show processlist 查询到相对应的进程===然后 kill    id 3.查看正在锁的事务 SELECT * FR ...

  2. bootrom脚本的创建

    bootrom脚本的创建     以下以压缩版bootrom 为例,基于Powerpc 平台,详细介绍压缩版bootrom 的生成过程及执行流程,从而使读者对bootrom有一个彻底的了解.这对于Vx ...

  3. java.sql.SQLException: Access denied for user 'sa'@'localhost' (using password: YES)

    1.错误描述 ERROR:2015-05-01 23:43:04[localhost-startStop-1] - HHH000319: Could not get database metadata ...

  4. LINQ 按多个字段排序(orderby、thenby、Take)

    LINQ 按多个字段排序(orderby.thenby.Take) orderby  子句解析为 OrderBy()方法,orderby descending 子句解析为OrderBy Descend ...

  5. 用OpenStack界面轻松创建虚拟机的你,看得懂虚拟机启动的这24个参数么?

    看这篇文章之前,保证看过以下文章: 我是虚拟机内核我困惑?! Qemu,KVM,Virsh傻傻的分不清 裸用KVM创建虚拟机,体验virtualbox为你做的10件事情 大家从OpenStack页面上 ...

  6. python爬虫--爬取某网站电影信息并写入mysql数据库

    书接上文,前文最后提到将爬取的电影信息写入数据库,以方便查看,今天就具体实现. 首先还是上代码: # -*- coding:utf-8 -*- import requests import re im ...

  7. Js - JQ事件委托( 适用于给动态生成的脚本元素添加事件)

    最近一段时间打了一个大仗,现在总算消停点,才有时间来做个总结吧算是: 移动端遇到一个项目,是一个列表的侧滑栏,在我这里用jq写的交互事件.自测各方面都挺好的,美滋滋的给了研发.研发也美滋滋的开始开发. ...

  8. webpack中hash与chunkhash区别和需要注意的问题

    项目发布时,为了解决缓存,需要进行md5签名,这时候就需要用到 hash 和 chunkhash等. 问题一:hash问题 使用 hash 对js和css进行签名时,每一次hash值都不一样,导致无法 ...

  9. 《Master Bitcoin》学习笔记02——比特币的交易模型

    比特币的交易模型 模型基本描述 前面一篇学习笔记01提到了一个交易模型(第三章的内容),在第五章中,除了对这个模型做个详细介绍之外,其实和我上一篇理解的交易模型差不多,一个交易包含输入与输出,比特币是 ...

  10. 【learning】多项式乘法&fft

    [吐槽] 以前一直觉得这个东西十分高端完全不会qwq 但是向lyy.yxq.yww.dtz等dalao们学习之后发现这个东西的代码实现其实极其简洁 于是趁着还没有忘记赶紧来写一篇博 (说起来这篇东西的 ...