zoukankan      html  css  js  c++  java
  • NCC搭环境 导数据等等

    导入数据

    --创建表空间
    CREATE TABLESPACE NNC_DATA01 DATAFILE 'D:Databaseoracleoradataorcl
    nc_data01.dbf' SIZE 500M AUTOEXTEND ON NEXT 50M EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256K ; 
    CREATE TABLESPACE NNC_INDEX01 DATAFILE 'D:Databaseoracleoradataorcl
    nc_index01.dbf' SIZE 500M AUTOEXTEND ON NEXT 50M EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128K ; 
    --表空间扩展
    ALTER TABLESPACE NNC_DATA01 ADD DATAFILE 'D:oracleappLenovooradataorclNNC_DATA02.DBF' SIZE 4096M AUTOEXTEND ON NEXT 32M MAXSIZE 10240M;【扩展表空间】
    -- 创建用户
    CREATE USER TEST_USER IDENTIFIED BY TEST_USER DEFAULT TABLESPACE NNC_DATA01 TEMPORARY TABLESPACE TEMP QUOTA  UNLIMITED  ON NNC_DATA01;
    --授权
    GRANT CREATE SESSION TO TEST_USER;
    GRANT CREATE TABLE TO TEST_USER;
    GRANT CREATE TRIGGER TO TEST_USER;
    GRANT CREATE VIEW TO TEST_USER;
    GRANT UNLIMITED TABLESPACE TO TEST_USER;
    grant read,write on directory DPDIR2 to TEST_USER;
    grant connect,dba to TEST_USER;    
    

      

    --从NCC0918用户导到TEST_USER
    impdp TEST_USER/TEST_USER@localhost/orcl directory=dpdir2 dumpfile=NCC200520201014.dmp remap_schema=NCC0918:TEST_USER TABLE_EXISTS_ACTION=REPLACE FULL=Y logfile=NCC200520201014.log;

      

    安装plsql

    版本:plsql12

    注册信息:

    PLSQL Developer 12.0.7 注册码
    product code: 4vkjwhfeh3ufnqnmpr9brvcuyujrx3n3le 
    serial Number:226959 
    password: xs374ca

    实例地址:

    https://www.oracle.com/database/technologies/instant-client/winx64-64-downloads.ht

    plsql下载地址

    https://www.allroundautomations.com/registered-plsqldev/


    前端环境搭建


    NCC 2005

  • 相关阅读:
    python计算时间差的方法
    Apache Prefork、Worker和Event三種MPM分析
    nagios监控mysql
    linux安装nagios客户端
    简单易懂的snmpd.conf配置文件说明
    Linux基本监控项目
    python 2.0 s12 day5 常用模块介绍
    python2.0 s12 day4
    ubuntu常用系统命令
    ubuntu编译安装libimobiledevice,查看ios 日志
  • 原文地址:https://www.cnblogs.com/zhongxiaoze/p/13853967.html
Copyright © 2011-2022 走看看