zoukankan      html  css  js  c++  java
  • oracle建立表空间

    //创建临时表空间

    create temporary tablespace test_temp
    tempfile 'E:oracleproduct10.2.0oradata estserver est_temp01.dbf'
    size 32m
    autoextend on
    next 32m maxsize 2048m
    extent management local;
    //创建数据表空间

    create tablespace test_data
    logging
    datafile 'E:oracleproduct10.2.0oradata estserver est_data01.dbf'
    size 32m
    autoextend on
    next 32m maxsize 2048m
    extent management local;
    //创建用户并指定表空间

    create user username identified by password
    default tablespace test_data
    temporary tablespace test_temp;
    //给用户授予权限

    grant connect,resource to username;
    //以后以该用户登录,创建的任何数据库对象都属于test_temp 和test_data表空间,这就不用在每创建一个对象给其指定表空间了

  • 相关阅读:
    旅行计划
    两只塔姆沃斯牛
    迷宫
    异或序列
    异或之和
    素数个数
    SAC E#1
    [JSOI2010]Group 部落划分 Group
    [USACO12FEB]附近的牛Nearby Cows
    [HNOI2008]Cards
  • 原文地址:https://www.cnblogs.com/rongkang/p/4573715.html
Copyright © 2011-2022 走看看