zoukankan      html  css  js  c++  java
  • Oracle数据库Linux下的导入IMP

    和相关篇的EXP相对应的用了如下的导入方法。

    [oracle@localhost ~]$ imp

    Import: Release 11.2.0.1.0 - Production on Fri Sep 26 16:17:48 2014

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

    Username: opr001
    Password:

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

    Import data only (yes/no): no >【回车】-----选择默认的意思

    Import file: expdat.dmp > tachiai.dmp

    IMP-00002: failed to open tachiai.dmp for read -----这里出了个错误,于是我指定了绝对路径
    Import file: expdat.dmp > /opt/oracle/tachiai.dmp

    Enter insert buffer size (minimum is 8192) 30720>【回车】-----选择默认的意思

    Export file created by EXPORT:V11.02.00 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses JA16SJIS character set (possible charset conversion)
    List contents of import file only (yes/no): no >【回车】-----选择默认的意思

    Ignore create error due to object existence (yes/no): no >【回车】-----选择默认的意思

    Import grants (yes/no): yes >【回车】-----选择默认的意思

    Import table data (yes/no): yes >【回车】-----选择默认的意思

    Import entire export file (yes/no): no > 【回车】-----选择默认的意思
    Username: opr001

    Enter table(T) or partition(T:P) names. Null list means all tables for user
    Enter table(T) or partition(T:P) name or . if done:【回车】-----选择默认的意思

  • 相关阅读:
    使脱排油烟机能够听懂你的话(超级简单的方法)
    解决手机无法连接【小米AI音箱】播放音乐问题
    相机稳定器使用注意点
    Scrapy基本命令
    Linux环境下的Scala环境搭建
    Linux基本操作
    MySQL常用操作
    PySpark笔记
    Linux环境下配置及启动Hadoop(伪集群)
    idea: unable to import maven project
  • 原文地址:https://www.cnblogs.com/niutouzdq/p/3995012.html
Copyright © 2011-2022 走看看