您好,欢迎来到保捱科技网。
搜索
您的当前位置:首页Oracle创建表用户、空间

Oracle创建表用户、空间

来源:保捱科技网


oracle创建用户、表空间 无 /*查看表空间文件位置*/select *from dba_data_files;--创建arcgis 表空间、用户/*第1步:创建临时表空间 */create temporary tablespace test_temp tempfile '/home/oracle/app/orcl/test_temp.dbf' //上面查询出的表空间文件路径

oracle 创建用户、表空间 <无> $velocityCount-->
/*查看表空间文件位置*/
select *from dba_data_files;

--创建arcgis 表空间、用户
/*第1步:创建临时表空间 */
create temporary tablespace test_temp 
tempfile '/home/oracle/app/orcl/test_temp.dbf' //上面查询出的表空间文件路径,也可以自定义
size 50m //初始大小
autoextend on 
next 30m maxsize unlimited;//每次自增大小 
 
/*第2步:创建数据表空间 */
create tablespace test 
logging 
datafile '/home/oracle/app/orcltest.dbf' 
size 50m 
autoextend on 
next 30m maxsize unlimited; 
 
/*第3步:创建用户并指定表空间 */
create user testuser identified by testpass
default tablespace test 
temporary tablespace test_temp; 

/*第4步:给用户授予权限 */
grant connect,resource to testuser;

Copyright © 2019- baoaiwan.cn 版权所有 赣ICP备2024042794号-3

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务