zoukankan      html  css  js  c++  java
  • 数据泵:导入导出dblink

    环境介绍:12c->19c

    [oracle@enmoedu1 dpdump]$ expdp system/oracle directory=DATA_PUMP_DIR dumpfile=STATE_2018112201_%U.dmp logfile=STATE_112210.log include=db_link full=y

    Export: Release 12.2.0.1.0 - Production on Fri Jun 4 15:45:56 2021

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

    Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
    Starting "SYSTEM"."SYS_EXPORT_FULL_01": system/******** directory=DATA_PUMP_DIR dumpfile=STATE_2018112201_%U.dmp logfile=STATE_112210.log include=db_link full=y
    Processing object type DATABASE_EXPORT/SCHEMA/DB_LINK
    Master table "SYSTEM"."SYS_EXPORT_FULL_01" successfully loaded/unloaded
    ******************************************************************************
    Dump file set for SYSTEM.SYS_EXPORT_FULL_01 is:
    /u01/app/oracle/admin/PROD/dpdump/STATE_2018112201_01.dmp
    Job "SYSTEM"."SYS_EXPORT_FULL_01" successfully completed at Fri Jun 4 15:46:01 2021 elapsed 0 00:00:04

    [oracle@rac1 dpdump]$ impdp system/oracle directory=DATA_PUMP_DIR dumpfile=STATE_2018112201_%U.dmp logfile=STATE_112210.log

    Import: Release 19.0.0.0.0 - Production on Fri Jun 4 15:46:05 2021
    Version 19.3.0.0.0

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

    Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01": system/******** directory=DATA_PUMP_DIR dumpfile=STATE_2018112201_%U.dmp logfile=STATE_112210.log
    Processing object type DATABASE_EXPORT/SCHEMA/DB_LINK
    Job "SYSTEM"."SYS_IMPORT_FULL_01" successfully completed at Fri Jun 4 15:46:10 2021 elapsed 0 00:00:03

    SQL> select owner,object_name from dba_objects where object_type='DATABASE LINK';

    OWNER
    --------------------------------------------------------------------------------
    OBJECT_NAME
    --------------------------------------------------------------------------------
    SYS
    SYS_HUB

    PUBLIC
    TESTLINK1.ENMOEDU.COM

  • 相关阅读:
    c#基础问题笔记(一)
    自动化技术中的进给电气传动研习笔记2
    自动化技术中的进给电气传动研习笔记1
    汉字在电脑中是如何存储与编码的呢?
    三十分钟掌握STL
    python练习:函数2
    python练习:函数3
    Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is prohibited; form ResumeForm needs updating.
    vue 数组对象取对象的属性: Cannot read property 'xxxx' of undefined
    python练习:函数4
  • 原文地址:https://www.cnblogs.com/houzhiheng/p/14865925.html
Copyright © 2011-2022 走看看