標籤:connect toe extend pac taf tor 使用者登入 end 資料表空間
管理使用者登入oracle資料庫
1、建立暫存資料表空間
select name from v$tempfile;查出當前資料庫暫存資料表空間,主要是使用裡面的存放路徑;
得到其中一條記錄/opt/oracle/oradata/orcl/temp01.dbf
建立暫存資料表空間:create temporary tablespace plncontrol_temp tempfile ‘/opt/oracle/oradata/orcl/plncontrol_temp.dbf‘ size 100m reuse autoextend on next 20m maxsize unlimited;
2、建立資料表空間
select name from v$datafile;查詢出當前資料庫資料表空間,使用裡面的路徑
得到其中一條記錄/opt/oracle/oradata/orcl/system01.dbf
建立資料表空間:create tablespace plncontrol datafile ‘/opt/oracle/oradata/orcl/plncontrol.dbf‘ size 100M reuse autoextend on next 40M maxsize unlimited default storage(initial 128k next 128k minextents 2 maxextents unlimited);
3、建立使用者並指定資料表空間
create user plncontrol identified by plncontrol default tablespace plncontrol temporary tablespace plncontrol_temp;
4、賦予使用者權限
grant connect,resource,dba to plncontrol;
Linux oracle資料庫建立資料表空間、使用者並賦予許可權