zoukankan      html  css  js  c++  java
  • Oracle 常用操作

    //创建临时表空间
        create temporary tablespace test_temp
        tempfile 'E:\oracle\product\10.2.0\oradata\testserver\test_temp01.dbf'
        size 50m
        autoextend on
        next 50m maxsize 2048m
        extent management local;
    //创建数据表空间
        create tablespace test_data
        logging
        datafile 'E:\oracle\product\10.2.0\oradata\testserver\test_data01.dbf'
        size 50m
        autoextend on
        next 50m maxsize 2048m
        extent management local;
    //创建用户并指定表空间
        create user testserver_user identified by testserver_user
        default tablespace test_data
        temporary tablespace test_temp;
    //给用户授予权限
        grant connect,resource to testserver_user;

        grant unlimited tablespace,create session to testserver_user;

    //删除表空间

    DROP TABLESPACE test_data NCLUDING CONTENTS AND DATAFILES;

     

  • 相关阅读:
    catalina_home与catalina_base
    log4j配置
    lsof
    定时任务-crontab
    access日志配置
    java常识
    mysql事务隔离级别与实现原理
    文件描述符设置
    gpio 預設值
    synchronous interrupt and asynchronous interrupt
  • 原文地址:https://www.cnblogs.com/chjw8016/p/2185121.html
Copyright © 2011-2022 走看看