oracle10G新特性之臨時表空間組的應用
oracle10G新特性之臨時表空間組的應用[@more@]1、建立幾個臨時表空間
create temporary tablespace temp1 tempfile '/home/oracle/oradata/rac/temp01.dbf' size 1024m reuse autoextend off extent management local uniform size 10m;
create temporary tablespace temp2 tempfile '/home/oracle/oradata/rac/temp02.dbf' size 1024m reuse autoextend off extent management local uniform size 10m;
create temporary tablespace temp3 tempfile '/home/oracle/oradata/rac/temp03.dbf' size 1024m reuse autoextend off extent management local uniform size 10m;
2、建立臨時表空間組tempgrp
alter tablespace temp1 tablespace group tempgrp;
alter tablespace temp2 tablespace group tempgrp;
alter tablespace temp3 tablespace group tempgrp;
3、改變資料庫預設表空間為表空間組
alter database default temporary tablespace tempgrp;
4、刪除表空間組,必須首先刪除組中的成員
alter tablespace temp1 tablespce group '';
alter tablespace temp2 tablespce group '';
alter tablespace temp3 tablespce group '';
5、將表空間組賦給使用者
create user passion identified by passion default tablespace users temporary tablespace tempgrp;
6、顯示臨時表空間組中的成員,用檢視DBA_TABLESPACE_GROUPS
select group_name,tablespace_name from dba_tablespace_groups;
create temporary tablespace temp1 tempfile '/home/oracle/oradata/rac/temp01.dbf' size 1024m reuse autoextend off extent management local uniform size 10m;
create temporary tablespace temp2 tempfile '/home/oracle/oradata/rac/temp02.dbf' size 1024m reuse autoextend off extent management local uniform size 10m;
create temporary tablespace temp3 tempfile '/home/oracle/oradata/rac/temp03.dbf' size 1024m reuse autoextend off extent management local uniform size 10m;
2、建立臨時表空間組tempgrp
alter tablespace temp1 tablespace group tempgrp;
alter tablespace temp2 tablespace group tempgrp;
alter tablespace temp3 tablespace group tempgrp;
3、改變資料庫預設表空間為表空間組
alter database default temporary tablespace tempgrp;
4、刪除表空間組,必須首先刪除組中的成員
alter tablespace temp1 tablespce group '';
alter tablespace temp2 tablespce group '';
alter tablespace temp3 tablespce group '';
5、將表空間組賦給使用者
create user passion identified by passion default tablespace users temporary tablespace tempgrp;
6、顯示臨時表空間組中的成員,用檢視DBA_TABLESPACE_GROUPS
select group_name,tablespace_name from dba_tablespace_groups;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20444553/viewspace-1006116/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle10g新特性:臨時表空間組(temporary tablespace group)Oracle
- Oracle10g新特新:臨時表空間組Oracle
- 【臨時表空間組】臨時表空間組的建立、維護及應用
- Oracle10新特性:臨時表空間組(temporary tablespace group)Oracle
- 10G新特性: 臨時表空間組(temporary tablespace group)
- MySQL 5.7 新特性 共享臨時表空間及臨時表改進MySql
- oracle臨時表空間組Oracle
- 【儲存管理】建立臨時表空間組、建立臨時表空間組及使用
- Oracle 11g 新特性 -- 臨時表空間收縮(轉)(Oracle
- Oracle 11g中Temp臨時表空間、檔案的新特性Oracle
- oracle之臨時表空間的收縮Oracle
- oracle的臨時表空間Oracle
- 臨時表空間的建立、刪除,設定預設臨時表空間
- oracle 臨時表空間Oracle
- oracle臨時表空間Oracle
- Oracle臨時表空間檢視、新增臨時表空間資料檔案、修改預設臨時表空間 方法!Oracle
- Oracle10g新特性——利用RMAN遷移表空間Oracle
- 【Database】Oracle10g臨時表空間的管理和優化DatabaseOracle優化
- 批量處理時臨時增加回滾表空間臨時表空間檔案
- Oracle12c中容錯&效能新特性之表空間組Oracle
- Oracle 臨時表空間的概念Oracle
- ORACLE臨時表空間的清理Oracle
- oracle10G新特性之ASM的應用OracleASM
- Oracle10g新特性——利用RMAN遷移表空間(二)Oracle
- Oracle10g新特性——利用RMAN遷移表空間(一)Oracle
- mysql臨時表,臨時表空間,ibtmp1表空間暴增原因初探MySql
- Oracle 臨時表空間概念Oracle
- Oracle Temp 臨時表空間Oracle
- 【實驗】重建臨時表空間解決臨時表空間過大問題
- 【臨時表空間】11g中使用 SHRINK方法縮小臨時表空間和臨時檔案
- 臨時表空間的空間使用情況查詢
- ORACLE預設的臨時表空間Oracle
- oracle的臨時表空間temporary tablespaceOracle
- oracle10g缺少tempfile(臨時表空間)_offline相關表空間測試筆記Oracle筆記
- Oracle 10G 中臨時表空間組的操作和使用Oracle 10g
- 【臨時表空間】11g中使用 SHRINK方法縮小臨時表空間和臨時檔案(續)
- oracle臨時表空間相關Oracle
- MySQL InnoDB臨時表空間配置MySql