linuxoracle表空間
❶ linux oracle 一次最多創建多少個g的表空間
單個數據文件最大支持32G,表空間可以最N個數據文件組成。
❷ oracle怎麼創建表空間
oracle創建表空間操作方法如下:
1.開啟oracle服務,打開plsql工具,使用管理員賬戶登錄
拓展資料:
甲骨文公司,全稱甲骨文股份有限公司(甲骨文軟體系統有限公司),是全球最大的企業級軟體公司,總部位於美國加利福尼亞州的紅木灘。1989年正式進入中國市場。2013年,甲骨文已超越IBM,成為繼Microsoft後全球第二大軟體公司。
2017年6月7日發布的2017年美國《財富》500強,甲骨文公司排名第81位。
2017年6月,《2017年BrandZ最具價值全球品牌100強》公布,甲骨文公司排名第46位
❸ linux oracle 怎麼創建表空間
1、登錄linux,以oracle用戶登錄(如果是root用戶登錄的,登錄後用 su - oracle命令切換成oracle用戶)
2、以sysdba方式來打開sqlplus,命令如下: sqlplus / as sysdba
3、創建臨時表空間:
--查詢臨時表空間文件的絕對路徑。如果需要的話,可以通過查詢來寫定絕對路徑。一般用${ORACLE_HOME}就可以了
select name from v$tempfile;
create temporary tablespace NOTIFYDB_TEMP tempfile '${ORACLE_HOME}\oradata\NOTIFYDB_TEMP.bdf' size 100m reuse autoextend on next 20m maxsize unlimited;
4、創建表空間:
--查詢用戶表空間文件的絕對路徑:
select name from v$datafile;
create tablespace NOTIFYDB datafile '${ORACLE_HOME}\oradata\notifydb.dbf' size 100M reuse autoextend on next 40M maxsize unlimited default storage(initial 128k next 128k minextents 2 maxextents unlimited);
5、創建用戶和密碼,指定上邊創建的臨時表空間和表空間
create user hc_notify identified by hc_password default tablespace NOTIFYDB temporary tablespace NOTIFYDB_TEMP;
6、賦予許可權
grant dba to hc_notify;
grant connect,resource to hc_notify;
grant select any table to hc_notify;
grant delete any table to hc_notify;
grant update any table to hc_notify;
grant insert any table to hc_notify;
經過以上操作,就可以使用hc_notify/hc_password登錄指定的實例,創建我們自己的表了。
❹ 在linux上如何查看oracle的表空間
在root用戶卻換oracle用戶
su - oracle
sqlplus /nolog
conn / as sysdba
select file_name from dba_data_files;
即可