Home > Database > Mysql Tutorial > Oracle 创建表用户、空间

Oracle 创建表用户、空间

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 14:57:54
Original
1099 people have browsed it

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

oracle 创建用户、表空间
/*查看表空间文件位置*/
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;
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template