• ssh连接Linux导出oracle数据


    [root@dbsrv1 ~]# su - oracle
    dbsrv1-> sqlplus gjtq/gjtq

    SQL*Plus: Release 11.2.0.4.0 Production on Thu Apr 21 19:46:41 2016

    Copyright (c) 1982, 2013, Oracle.  All rights reserved.


    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options

    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    dbsrv1-> expdp gjtq/gjtq directory=dmp tables="gjj_dwzz,gg_dw,gjj_grmx,gjj_grzz" dumpfile=gjtq.dmp  logfile=explog.log version=11.2.0.1.0

    Export: Release 11.2.0.4.0 - Production on Thu Apr 21 19:51:43 2016

    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, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    Starting "GJTQ"."SYS_EXPORT_TABLE_01":  gjtq/******** directory=dmp tables=gjj_dwzz,gg_dw,gjj_grmx,gjj_grzz dumpfile=gjtq.dmp logfile=explog.log version=11.2.0.1.0
    Estimate in progress using BLOCKS method...
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 8.487 GB
    Processing object type TABLE_EXPORT/TABLE/TABLE
    Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type TABLE_EXPORT/TABLE/COMMENT
    Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    Processing object type TABLE_EXPORT/TABLE/POST_TABLE_ACTION
    . . exported "GJTQ"."GJJ_GRMX"                           7.136 GB 25412209 rows
    . . exported "GJTQ"."GJJ_GRZZ"                           159.5 MB  419095 rows
    . . exported "GJTQ"."GJJ_DWZZ"                           1.192 MB    2818 rows
    . . exported "GJTQ"."GG_DW"                              719.1 KB    2818 rows
    Master table "GJTQ"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
    ******************************************************************************
    Dump file set for GJTQ.SYS_EXPORT_TABLE_01 is:
      /home/oracle/backupdata/gjtq.dmp
    Job "GJTQ"."SYS_EXPORT_TABLE_01" successfully completed at Thu Apr 21 19:52:30 2016 elapsed 0 00:00:46

  • 相关阅读:
    Android Studio精彩案例(四)《DrawerLayout使用详解仿网易新闻客户端侧边栏 》
    Android简易实战教程--第四十七话《使用OKhttp回调方式获取网络信息》
    Android Studio突然不显示logcat日志
    Xcode 调试技巧 --常用命令和断点
    (译)Objective-C 类属性
    Android简易实战教程--第四十六话《RecyclerView竖向和横向滚动》
    Android Studio 中设置代码块自动补齐
    RunLoop总结:RunLoop的应用场景(三)
    Android Studio精彩案例(三)《模仿微信ViewPage+Fragment实现方式二》
    .net学习视屏
  • 原文地址:https://www.cnblogs.com/lanjianqing/p/5419990.html
Copyright © 2020-2023  润新知