zoukankan      html  css  js  c++  java
  • 导入dmp文件时的注意事项

    来源于:http://bbs.csdn.net/topics/350167817

    --1表空间
    CREATE TABLESPACE newjw
    DATAFILE 'E:oracle_data
    ewjw.DBF' size 200M
    AUTOEXTEND on next 50M 
    MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL ; 
      
    
    --2.建用户
    create user newjw identified by newjw 
    default tablespace newjw;
     
    --3.赋权
    grant connect,resource,dba to newjw;
    GRANT CREATE SESSION TO newjw;
    GRANT CREATE PROCEDURE TO newjw;
    grant create any sequence to newjw;
    grant create any table to newjw;
    grant delete any table to newjw;
    grant insert any table to newjw;
    grant select any table to newjw;
    grant unlimited tablespace to newjw;
    grant execute any procedure to newjw;
    grant update any table to newjw;
    grant create any view to newjw;
    
    --4、导入数据
    imp newjw/newjw file=e:
    ewjwup
    ewjwup.dmp fromuser=导出用户名 touser=newjw

     提高导入数据:

    imp newjw/newjw file=e:
    ewjwup
    ewjwup.dmp fromuser=导出用户名 touser=newjw INDEXES=N(先不要索引) Feedback=1000000(100万行提示一次) COMMIT=Y(提交) buffer=104857600(缓存)log=E:/newjwup/
    newjwup.log
  • 相关阅读:
    2
    3
    尚学堂--网络编程
    尚学堂--线程
    尚学堂--IO
    尚学堂--容器
    谈谈两个来月在小公司的经历
    Dockerfile详解
    docker 升级后或者重装后,启动容器提示:Error response from daemon: Unknown runtime specified docker-runc
    centos7系统优化
  • 原文地址:https://www.cnblogs.com/ys-wuhan/p/6050089.html
Copyright © 2011-2022 走看看