Oracle資料庫建立使用者和表空間

2021-09-11 00:13:55 字數 512 閱讀 1766

oracle資料庫建立使用者和表空間

sqlplus 執行---

1. 清除現有的 使用者和表空間

drop user aa(使用者) cascade

drop tablespace data(表空間) including contents and datafiles cascade constraint;

2.建立表空間 data和temps01

create tablespace his8(核心表空間)

autoextend on

next 32m maxsize unlimited

extent management local;

3.建立使用者

create user aa(使用者名稱) identified by 123(密碼)

default tablespace data(預設表空間);

4.給使用者授權

grant dba to aa(使用者名稱);

Oracle資料庫建立表空間 使用者

電力交易系統,需要整合,營銷 安全生產等業務系統的資料,建立buff sgcim使用者,首先建立表空間,建立表空間,要注意需要指定maxsize否則會出現錯誤 create tablespace sales autoextend on next 50m maxsize unlimited maxsi...

建立oracle資料庫的表空間和使用者

說明 datafile是指定建立位置,指向oracle資料庫的預設位置 autoextend 設定容量為自動增長,50m是自增的大小 create tablespace test size 1m autoextend on next 100m maxsize unlimited 說明 identif...

Oracle 資料庫建立表空間 建立使用者指定表空間

建立臨時表空間 create temporary tablespace user temp tempfile d oracle oradata oracle9i user temp.dbf size 50m autoextend on next 50m maxsize 20480m extent m...