Home > Database > Mysql Tutorial > body text

Oracle学习笔记:exp数据导出工具用法

WBOY
Release: 2016-06-07 17:05:55
Original
857 people have browsed it

首先通过UE等编辑软件打开dmp文件或者在Linux下执行如下然后察看第二、三字节。如果dmp文件很大,比如有2G以上(这也是最常见的情

1、导出工具的参数详解

2、常用导出命令

完全模式导出(整个数据库)

  • 用户模式导出(导出用户ing下面的所有对象)

  • exp system/oracle owner=ing file=demo2.dmp log=demo2.log  
  • 表模式导出(导出用户ing下的dept表)

  • exp system/oracle tables=ing.dept file=demo3.dmp log=demo3.log  
  • 带where条件的导出(导出用户ing下dept表的前两行)

  • 模糊导出(导出用户ing下以de开头的表)

  • exp system/oracle@orcl tables=ing.de% file=demo5.dmp log=demo5.log  
  • 3、通过dmp文件察看Oracle字符集
    首先通过UE等编辑软件打开dmp文件或者在Linux下执行如下然后察看第二、三字节。如果dmp文件很大,比如有2G以上(这也是最常见的情况),用文本编辑器打开很慢或者完全打不开,可以用以下命令(在linux主机上):

  • 0345  
  •  

    4、导出权限问题

    如果是普通用户导出、导入,,需要授予权限

    5、字符集问题

    在导出的时候最还设置客户端的字符集和数据库一样。

  • [oracle@linux exp]$ echo $NLS_LANG  
  • SIMPLIFIED CHINESE_CHINA.ZHS16GBK  
  • linux

    source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!