如何用oracle 创建表空间?

创建临时表空间(注意:D:\Project\OracleTableSpace\FHADMIN\ 手动创建路径) */

create temporary tablespace C##FHADMIN_TEMP
tempfile 'D:\Project\OracleTableSpace\FHADMIN\C##FHADMIN_TEMP.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;

watermark,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=
创建游戏数据表空间fhadmin.org */

create tablespace www.sangpi.comC##FHADMIN_DATA
logging
datafile 'D:\Project\OracleTableSpace\FHADMIN\C##FHADMIN_DATA.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;

watermark,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=
创建用户并指定表空间 密码是root */

create user C##FHADMIN identified by root
default tablespace C##FHADMIN_DATA
temporary tablespace C##FHADMIN_TEMP;

watermark,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=

你可能感兴趣的:(如何用oracle 创建表空间?)