oracle 创建表空间及用户
2016-05-09 17:52
267 查看
– 创建表空间并创建用户指定刚刚创建的表空间
– 总共需要四步
– 第1步:创建临时表空间
create temporary tablespace test_temp
tempfile ‘D:\oracledata\test_temp.dbf’
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
– 第2步:创建数据表空间
create tablespace test_data
logging
datafile ‘D:\oracledata\test_data.dbf’
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
– 第3步:创建用户并指定表空间
create user test identified by test
default tablespace test_data
temporary tablespace test_temp;
– 第4步:给用户授予权限
grant dba to test;
– 总共需要四步
– 第1步:创建临时表空间
create temporary tablespace test_temp
tempfile ‘D:\oracledata\test_temp.dbf’
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
– 第2步:创建数据表空间
create tablespace test_data
logging
datafile ‘D:\oracledata\test_data.dbf’
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
– 第3步:创建用户并指定表空间
create user test identified by test
default tablespace test_data
temporary tablespace test_temp;
– 第4步:给用户授予权限
grant dba to test;
相关文章推荐
- oracle表空间不足报错的解决
- oracle中dbms_jobs(定时器)
- Linux系统(X64)安装Oracle11g完整安装图文教程另附基本操作
- 求教 oracle sql 能不能在条件为空时查询全部数据??纯sql写 谢谢
- Oracle 如何修改列的数据类型
- oracle 查看表所占用的空间大小
- oracle怎么查看某个用户下各个表所占的空间?
- Oracle alert_sid.log属组变为root不影响数据库正常运行
- 在oracle数据库中删除表后,怎样把占用的磁盘空间释放出来?
- 不安装oracle客户端,用plsql连接oracle
- Oracle正在执行和执行过的SQL语句
- Oracle SCN详解
- redaht6.7ssh升级到7.2后oraclerac不能安装
- Oracle账户解锁/锁定
- SQL SREVER, ORACLE数据库连接字符串
- Oracle数据库学习小结(一)
- 不安装oracle客户端,用plsql连接oracle
- Oracle写函数读写日志实例
- oracle 数据库,无效的SCN号错误
- hibernate+quartz,oracle报错ora-12520