Specifying the Default Tablespace Type (78)
The SET DEFAULT...TABLESPACE clause of the CREATE DATABASE statement to
determines the default type of tablespace for this database in subsequent CREATE
TABLESPACE statements. Specify either SET DEFAULT BIGFILE TABLESPACE or
SET DEFAULT SMALLFILE TABLESPACE. If you omit this clause, the default is a
smallfile tablespace, which is the traditional type of Oracle Database tablespace. A
smallfile tablespace can contain up to 1022 files with up to 4M blocks each.
The use of bigfile tablespaces further enhances the Oracle-managed files feature,
because bigfile tablespaces make datafiles completely transparent for users. SQL
syntax for the ALTER TABLESPACE statement has been extended to allow you to
perform operations on tablespaces, rather than the underlying datafiles.
To dynamically change the default tablespace type after database creation, use the SET
DEFAULT TABLESPACE clause of the ALTER DATABASE statement:
ALTER DATABASE SET DEFAULT BIGFILE TABLESPACE;
You can determine the current default tablespace type for the database by querying the
DATABASE_PROPERTIES data dictionary view as follows:
SELECT PROPERTY_VALUE FROM DATABASE_PROPERTIES
WHERE PROPERTY_NAME = 'DEFAULT_TBS_TYPE';
指定預設的表空間檔案型別
1. 可利用 set defaukt
2. 大檔案表空間增強了OMF特性 , 使資料檔案完全透明於使用者
3. 資料庫建立後 ,可利用 ALTER DATABASE SET DEFAULT BIGFILE TABLESPACE;
來改變預設的表空間檔案型別
4. 透過SELECT PROPERTY_VALUE FROM DATABASE_PROPERTIES
WHERE PROPERTY_NAME = 'DEFAULT_TBS_TYPE';
可查詢當前預設的表空間檔案型別
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-995742/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Overriding the Default Tablespace Type (79)
- 不同的default tablespace資料遷移
- add hash partition , default tablespace for patitioned table
- 不同的default tablespace資料遷移(二)
- Default Data Type Mappings Used by Oracle SQL DeveloperAPPOracleSQLDeveloper
- Specifying Database Block Sizes (91)DatabaseBloC
- ORA-30012 undo tablespace 'UNDOTBS3' does not exist or of wrong typeS3
- Specifying the Database Time Zone File (81)Database
- Specifying the Java Pool Size (113)Java
- 每日導數78
- 【翻譯】Specifying CREATE DATABASE Statement ClausesDatabase
- tablespace 大檔案,undo,temp tablespace
- Specifying FORCE LOGGING Mode (82)
- Oracle default usersOracle
- switch default 作用
- export default用法Export
- default gateway is not definedGateway
- Specifying Oracle-Managed Files at Database Creation (76)OracleDatabase
- [LeetCode]78. 子集LeetCode
- leetcode78. SubsetsLeetCode
- db2 sms tablespace 不支援large tablespaceDB2
- Protecting Your Database: Specifying Passwords for Users SYS and SYSTEM (70)Database
- variable: Type 與 Type variable
- Tablespace Space Script
- remap_tablespaceREM
- The SYSAUX Tablespace (40)UX
- WPExpress78_update 離線包Express
- 聊聊Oracle Default RoleOracle
- cannot convert (type interface {}) to type int: need type assertion
- Value Type vs Reference Type in SwiftSwift
- [Oracle] 檢視tablespace的使用率(Including temp tablespace)Oracle
- #78 Google上週開發者新聞快報Go
- Master Note for Tablespace IssuesAST
- TRANSPORT TABLESPACE總結
- Tablespace Repository (60)
- Unable to locate factory with name [default]
- git push.default is unsetGit
- Oracle Created (Default) Database UsersOracleDatabase