create temporary tablespace wtagc_temp
tempfile '/opt/oracle/oradata/orcl/wtagc_temp.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
create tablespace wtagc_data
nologging
datafile '/opt/oracle/oradata/orcl/wtagc_data.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
create user wtagc identified by sprixin
default tablespace wtagc_data
temporary tablespace wtagc_temp;
grant connect,resource to wtagc;
create temporary tablespace spagc_temp
tempfile '/opt/oracle/oradata/orcl/spagc_temp.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
create tablespace spagc_data
logging
datafile '/opt/oracle/oradata/orcl/spagc_data.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
create user spagc identified by sprixin
default tablespace spagc_data
temporary tablespace spagc_temp;
grant connect,resource to spagc;
drop sequence numseq;
create sequence numseq
increment by 1
minvalue 1
maxvalue 9999999999999999
cache 100;
drop table hspeedwayinfo;
create table hspeedwayinfo
(id number(16) not null primary key,
name varchar2(64) not null,
gpsxy varchar2(64) not null unique,
sensornum1 number(16) not null,
sensornum2 number(16) not null,
virsennum number(16) not null
);
oracle手動 建庫 ORACLE 手動建庫
oracle 手動建庫 oracle10gr2手動建庫大致分為以下幾個步驟 編輯.bash profile檔案,設定環境變數 建立所需目錄結構 建立初始化引數檔案 執行建庫指令碼 下面以建立test資料庫為例 1 編輯.bash profile檔案,新增oracle sid環境變數 在.bash p...
oracle手工建庫
相對來說,oracle中平時我們大多採用dbca圖形化建庫方式,所以手工建庫或許比較有些難度,這個也是ocm考試中需要關注的地方,特別做了測試,主要是9i,對於10g可宜採用同樣的步驟實現。1.修改 etc oratab oral opt oracle database n 2.建立sys口令認證檔...
Oracle靜默建庫
1.1 靜默配置監聽 通過response檔案執行netca,生成sqlnet.ora和listener.ora檔案,位於 oracle home network admin目錄下 su oracle oracle home bin netca silent responsefile distrib...