--创建表空间“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装完提示这个?如何解决?
- 在存储过程中为什么不能这样写?
- 测试存储过程的时候报ora-01480的错误,怎么处理?
- invalid username/password: logon denied 可能因为tnsnames 写错而产生吗
- pl/sql,developer和Jdevelopoer,还有application各有何不同
- 请问哪些错误会导致出现“没有监听器”错误?
- 请高手讲解一下Statement关闭后ResultSet是否能继续使用的相关知识??
- 关于oracle 9i中文版服务器有防火墙客户端不能访问
- oracle 存储过程创建错误
- 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;