--创建表空间“test9i”:
create tablespace test9i datafile 'test9i.ora' size 2000M;
alter tablespace test9i add datafile 'test9i1.ora' size 2000M;
--创建临时表空间“test9i_temp”:
create temporary tablespace test9i_temp tempfile 'test9i_temp.ora' size 1000M;--创建用户“test9i”
create user test9i identified by test9i
default tablespace test9i
temporary tablespace test9i_temp
quota unlimited on test9i;--为用户“test9i”赋权限
grant connect,resource to test9i with admin option;
create tablespace test9i datafile 'test9i.ora' size 2000M;
alter tablespace test9i add datafile 'test9i1.ora' size 2000M;
--创建临时表空间“test9i_temp”:
create temporary tablespace test9i_temp tempfile 'test9i_temp.ora' size 1000M;--创建用户“test9i”
create user test9i identified by test9i
default tablespace test9i
temporary tablespace test9i_temp
quota unlimited on test9i;--为用户“test9i”赋权限
grant connect,resource to test9i with admin option;
解决方案 »
- 在oracle中添加24小时制的时间
- oracle 中怎么用函数控制游标实现如mssql中的滚动游标的效果
- 查询其他用户的表可以不写shema直接写表名么?
- 请帮我把这个子语句里面的TS字段 拿出来(因为外面有group by)
- 大家好啊!有事请教!!
- 我是新手,那位能告诉我关于日期的问题
- 如何在ORACLE编写脚本实现数据库备份功能?
- 那位高手知道在oracle中建立索引一般需要多长时间?索引建立的时间和什么有关系? 回答就有分!在先等!!
- java通过jdbc使用oracle的一个错误,高手请进
- 虚拟机里面“无法解析连接描述符中指定的SID”
- oracle:NO Listner错误
- ORCAL 数据库的服务端该如何配置
没用过oracle9i,大虾们多教教啊
没用过oracle9i,大虾们多教教啊
1. 要指定表空间名;
2. 指定和表空间物理对应的数据文件及属性;
3. 指定区的管理参数;
4. 指定段的管理参数;
5. 指定其他属性
logging / nologging
Permanent / Temporary 等创建表空间语法:
Create tablespace 表空间名
datafile ‘文件全名’ [size 数字K/M] [AUTOEXTEND ON
NEXT 数字k/m MAXSIZE 数字k/m ]
[Extent Management local / dictionary]
[Uniform size ..k/m] [Autoallocate] [default storage]
[Segment Space Management Auto/manual]
[logging | nologging]
[Permanent | Temporary]
[Online | Offline]创建表空间举例:Create tablespace tablespace_name
datafile ‘filename’
size 10m autoextend on next 2m
extent management local uniform size 3m autoallocate
segment space management auto
logging
permanent
online
LOGGING
DATAFILE 'D:\oracle\data\JBXX.ORA' SIZE 10M EXTENT MANAGEMENT
LOCAL SEGMENT SPACE MANAGEMENT AUTO;
ALTER DATABASE
DATAFILE 'D:\oracle\data\JBXX.ORA' AUTOEXTEND
ON NEXT 500M;