Oracle10g New Feature -- 8. Tablespace Management
在表空間管理方面,oracle10g最主要新特性是可以修改表空間名。
這是一些初學者以前經常問到的一個問題,10g裡面終於給解決掉了。
關於表空間還有一個經常被問到的問題是如何刪除表空間裡的某個資料檔案。這個問題到目前為止還只能說不能直接刪。不知道到下一個版本里會如何,允許?還是永遠都不能直接刪除?
此外的兩個新特性是:
1. 修改資料庫預設表空間
2. 增加了sysaux表空間,主要存放logminer,workload repository等資訊
[@more@] Tablespace Management1. Alter the default tablespace
All users, created without the DEFAULT TABLESPACE clause or explicitly specified the DEFAULT TABLESPACE, will have NEW SPECIFIED TABLESPACE as their default.
SQL> select property_value from database_properties where property_name='DEFAULT_PERMANENT_TABLESPACE';
PROPERTY_VALUE
--------------------------------------------------------------------------------
USERS
SQL> alter database default tablespace owb;
Database altered.
SQL> select property_value from database_properties where property_name='DEFAULT_PERMANENT_TABLESPACE';
PROPERTY_VALUE
--------------------------------------------------------------------------------
OWB
2. SYSAUX Tablespace
Holds objects with schemas like ‘DBSNMP’,’ODM’ etc. If you want move some of these schemas to other tablespaces, query view V$SYSAUX_OCCUPANTS
SQL>select * from v$sysaux_occupants
OCCUPANT_NAME OCCUPANT_DESC SCHEMA_NAME MOVE_PROCEDURE MOVE_PROCEDURE_DESC SPACE_USAGE_KBYTES
--------------------------- ------------------------- ----------------------- ---------------------------- ------------------------------------- ---------------------------------
LOGMNR LogMiner SYSTEM SYS.DBMS_LOGMNR_D.SET_TABLESPACE Move Procedure for LogMiner 7488
STATSPACK Statspack Repository PERFSTAT Use export/import (see export parameter file spuexp.par) 0
MOVE_PROCEDURE: shows correct moving procedures for almost all tools resident in the SYSAUX by default.
3. Rename TablespaceSQL>alter tablespace tbs1 rename to tbs2;
Tablespace altered.
ZHYUH @ orcl>select tablespace_name from dba_tablespaces;
TABLESPACE_NAME
------------------------------
SYSTEM
UNDOTBS1
SYSAUX
TEMP
TBS2
STATSPACK Statspack Repository PERFSTAT Use export/import (see export parameter file spuexp.par) 0 |
SQL>alter tablespace tbs1 rename to tbs2;
Tablespace altered.
ZHYUH @ orcl>select tablespace_name from dba_tablespaces;
TABLESPACE_NAME
------------------------------
SYSTEM
UNDOTBS1
SYSAUX
TEMP
TBS2
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/207/viewspace-778787/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle10g New Feature -- 5.Temporary Tablespace GroupOracle
- Oracle10g New Feature -- 9. ASM (Automatic Storage Management)OracleASM
- Oracle10g New Feature -- 13. Automatic Shared Memory ManagementOracle
- Oracle10g New Feature --12. ASSM ( Automatic Segment Space Management )OracleSSM
- Oracle10g New Feature -- 4. Flashback DatabaseOracleDatabase
- Oracle10g New Feature -- 3.Flashback TableOracle
- Oracle10g New Feature -- 2.Flashback RecordsOracle
- Oracle10g New Feature -- 11. Wait InterfaceOracleAI
- Oracle10g New Feature -- 7. Rollback MonitoringOracle
- Oracle10g New Feature -- 6. Oracle Data PumpOracle
- oracle10g new feature -- 1. SqlplusOracleSQL
- Oracle10g New Feature:CRS(Cluster Ready Services) (zt)Oracle
- java new featureJava
- Oracle10g New Feature -- 14. OEM ( Oracle Enterprise Manager)Oracle
- dispute management and new ES
- Oracle10g New Feature -- 10. AWR (Automatic Workload Repository)Oracle
- oracle10g new feature:對expdp並行方式的幾個測試Oracle並行
- 12c new feature
- 版本新特性(new feature)
- Tablespace Management Enhancements in Oracle Database 10gOracleDatabase
- new feature ——>mysql to oracle MigrationMySqlOracle
- How to Rename Tablespace In Oracle10gOracle
- How To Move The DB Audit Trails To A New TablespaceAI
- Oracle Database 12C New FeatureOracleDatabase
- 11g New Feature: Health monitor
- oracle10g ASM transport_tablespaceOracleASM
- 深度探索.NET Feature Management功能開關的魔法
- Oracle 12c Recover Table New FeatureOracle
- oracle10g中的bigfile tablespaceOracle
- oracle 12c new feature 列不可見Oracle
- oracle10g undo tablespace相關知識Oracle
- j2ee1.4 new feature請教banq
- Oracle10g New Features(1)Oracle
- Master Note: Overview of Oracle Tablespace Management (Doc ID 1493350.1)ASTViewOracle
- 11g New Feature: Health monitor (Doc ID 466920.1)
- Master Note: Troubleshooting Oracle Tablespace Management (文件 ID 1522807.1)ASTOracle
- oracle 11g ocp new feature 1z0-050Oracle
- Test Negtive Role Set in a stream environmnet- 10g_new_feature