zoukankan      html  css  js  c++  java
  • spm完成dmp在windows系统上导入详细过程

    --查询dmp字符集
    cat spmprd_20151030.dmp |od -x|head -1|awk '{print $2 $3}'|cut -c 3-6
    select nls_charset_name(to_number('0345','xxxx')) from dual;
    
    spm完成dmp在windows系统上导入详细过程
    
    create tablespace SPMSIT datafile 'D:DATASDATA01.dbf' size 200m autoextend on next 10m maxsize unlimited;
    
    create tablespace DATA01 datafile 'D:DATASDATA01.dbf' size 200m autoextend on next 10m maxsize unlimited;
    
    create user spmdev
      identified by "spmdev"
      default tablespace SPMSIT
      temporary tablespace TEMP
      profile DEFAULT;
      
    grant connect,resource,dba to spmdev;
      
    create user queryuser
      identified by "queryuser"
      default tablespace SPMSIT
      temporary tablespace TEMP
      profile DEFAULT;
      
    create user spmquery
      identified by "spmquery"
      default tablespace SPMSIT
      temporary tablespace TEMP
      profile DEFAULT;
    
    create user spmprd
      identified by "spmprd"
      default tablespace SPMSIT
      temporary tablespace TEMP
      profile DEFAULT;
      
    环境变量设置导入session字符集
    变量名:NLS_LANG
    变量值:SIMPLIFIED CHINESE_CHINA.ZHS16GBK
    
    imp spmdev/spmdev@orcl fromuser=spmprd touser=spmdev file=D:datasspmprd_20151030.dmp IGNORE=Y
    
    --导入数据库tns
    BJ_FJEPMS_DEV=
      (DESCRIPTION=
        (ADDRESS=
          (PROTOCOL=TCP)
          (HOST=xxxxxxxxxxxx)
          (PORT=1521)
        )
        (CONNECT_DATA=
          (SID=orcl)
        )
      )
  • 相关阅读:
    php 3des加密解密
    mysql 用命令导入导出
    ubuntu16.04对硬盘进行分区格式化并设置开机自动挂载
    nginx
    iostat (转https://www.cnblogs.com/ftl1012/p/iostat.html)
    zabbix
    zabbix
    mac 录屏
    利用elasticsearch-dump实现es索引数据迁移附脚本
    rdbtool
  • 原文地址:https://www.cnblogs.com/rigid/p/4939256.html
Copyright © 2011-2022 走看看