oracle mysql 创建表,Oracle 创建表用户、空间
oracle創(chuàng)建用戶、表空間 無 /*查看表空間文件位置*/select *from dba_data_files;--創(chuàng)建arcgis 表空間、用戶/*第1步:創(chuàng)建臨時表空間 */create temporary tablespace test_temp tempfile '/home/oracle/app/orcl/test_temp.dbf' //上面查詢出的表空間文件路徑
oracle 創(chuàng)建用戶、表空間
/*查看表空間文件位置*/
select *from dba_data_files;
--創(chuàng)建arcgis 表空間、用戶
/*第1步:創(chuàng)建臨時表空間 */
create temporary tablespace test_temp
tempfile '/home/oracle/app/orcl/test_temp.dbf' //上面查詢出的表空間文件路徑,也可以自定義
size 50m //初始大小
autoextend on
next 30m maxsize unlimited;//每次自增大小
/*第2步:創(chuàng)建數(shù)據(jù)表空間 */
create tablespace test
logging
datafile '/home/oracle/app/orcltest.dbf'
size 50m
autoextend on
next 30m maxsize unlimited;
/*第3步:創(chuàng)建用戶并指定表空間 */
create user testuser identified by testpass
default tablespace test
temporary tablespace test_temp;
/*第4步:給用戶授予權(quán)限 */
grant connect,resource to testuser;
本文原創(chuàng)發(fā)布php中文網(wǎng),轉(zhuǎn)載請注明出處,感謝您的尊重!
總結(jié)
以上是生活随笔為你收集整理的oracle mysql 创建表,Oracle 创建表用户、空间的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 40多万的车没有语音控制功能!宝马遭X3
- 下一篇: linux cmake编译源码,linu