cover-img
avatar

QOOEO Blog

Tech Explorations & Insights

A blog about programming, tech, and software development

yuncai-dev-doc

oracle 创建大数据空间

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
create BIGFILE tablespace YCDBA 
logging
datafile '/home/oracle/yc/YCDBA'
size 512m
autoextend on
next 512m maxsize unlimited
extent management local;

create temporary tablespace TEMP_YCDBA
tempfile 'TEMP_YCDBA.dbf' size 5m autoextend on;


create BIGFILE tablespace YCDATA
logging
datafile '/home/oracle/yc/YCDATA'
size 512m
autoextend on
next 512m maxsize unlimited
extent management local;

create temporary tablespace TEMP_YCDATA
tempfile 'TEMP_YCDATA.dbf' size 5m autoextend on;


create user YCDBA identified by YCDBA
default tablespace YCDBA
temporary tablespace TEMP_YCDBA;

create user YCDATA identified by password
default tablespace YCDATA
temporary tablespace TEMP_YCDATA;


声明: Content created by Jack Yang. Please keep the source link if you want to share.