oracle bigfile tablespaces
A bigfile tablespace is a tablespace with a single, but very large (up to 4G blocks)
datafile. Traditional smallfile tablespaces, in contrast, can contain multiple datafiles,
but the files cannot be as large. The benefits of bigfile tablespaces are the following:
■ A bigfile tablespace with 8K blocks can contain a 32 terabyte datafile. A bigfile
tablespace with 32K blocks can contain a 128 terabyte datafile. The maximum
number of datafiles in an Oracle Database is limited (usually to 64K files).Therefore, bigfile tablespaces can significantly enhance the storage capacity of an Oracle Database.
■ Bigfile tablespaces can reduce the number of datafiles needed for a database. An
additional benefit is that the DB_FILES initialization parameter and
MAXDATAFILES parameter of the CREATE DATABASE and CREATE
CONTROLFILE statements can be adjusted to reduce the amount of SGA space
required for datafile information and the size of the control file.
■ Bigfile tablespaces simplify database management by providing datafile
transparency. SQL syntax for the ALTER TABLESPACE statement lets you perform
operations on tablespaces, rather than the underlying individual datafiles.
Bigfile tablespaces are supported only for locally managed tablespaces with automatic
segment space management, with three exceptions: locally managed undo tablespaces,temporary tablespaces, and the SYSTEM tablespace.
Notes:
■ Bigfile tablespaces are intended to be used with Automatic
Storage Management (ASM) or other logical volume managers
that supports striping or RAID, and dynamically extensible
logical volumes.
■ Avoid creating bigfile tablespaces on a system that does not
support striping because of negative implications for parallel
query execution and RMAN backup parallelization.
■ Using bigfile tablespaces on platforms that do not support large
file sizes is not recommended and can limit tablespace capacity.
Refer to your operating system specific documentation for
information about maximum supported file sizes.
Creating a Bigfile Tablespace
To create a bigfile tablespace, specify the BIGFILE keyword of the CREATE
TABLESPACE statement (CREATE BIGFILE TABLESPACE ...). Oracle Database
automatically creates a locally managed tablespace with automatic segment space
management. You can, but need not, specify EXTENT MANAGEMENT LOCAL and
SEGMENT SPACE MANAGEMENT AUTO in this statement. However, the database returns
an error if you specify EXTENT MANAGEMENT DICTIONARY or SEGMENT SPACE
MANAGEMENT MANUAL. The remaining syntax of the statement is the same as for the
CREATE TABLESPACE statement, but you can only specify one datafile. For example:
CREATE BIGFILE TABLESPACE bigtbs
DATAFILE '/u02/oracle/data/bigtbs01.dbf' SIZE 50G
...
You can specify SIZE in kilobytes (K), megabytes (M), gigabytes (G), or terabytes (T).
If the default tablespace type was set to BIGFILE at database creation, you need not
specify the keyword BIGFILE in the CREATE TABLESPACE statement. A bigfile
tablespace is created by default.
If the default tablespace type was set to BIGFILE at database creation, but you want to
create a traditional (smallfile) tablespace, then specify a CREATE SMALLFILE
TABLESPACE statement to override the default tablespace type for the tablespace that
you are creating.
Altering a Bigfile Tablespace
Two clauses of the ALTER TABLESPACE statement support datafile transparency
when you are using bigfile tablespaces:
■ RESIZE: The RESIZE clause lets you resize the single datafile in a bigfile
tablespace to an absolute size, without referring to the datafile. For example:
ALTER TABLESPACE bigtbs RESIZE 80G;
■ AUTOEXTEND (used outside of the ADD DATAFILE clause):
With a bigfile tablespace, you can use the AUTOEXTEND clause outside of the ADD
DATAFILE clause. For example:
ALTER TABLESPACE bigtbs AUTOEXTEND ON NEXT 20G;
An error is raised if you specify an ADD DATAFILE clause for a bigfile tablespace.
Identifying a Bigfile Tablespace
The following views contain a BIGFILE column that identifies a tablespace as a bigfile
tablespace:
■ DBA_TABLESPACES
■ USER_TABLESPACES
■ V$TABLESPACE
You can also identify a bigfile tablespace by the relative file number of its single
datafile. That number is 1024 on most platforms, but 4096 on OS/390.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7191998/viewspace-748353/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Supporting Bigfile Tablespaces During Database Creation (77)Database
- Oracle Encrypted TablespacesOracle
- Oracle Transporting TablespacesOracle
- 【轉】Oracle-Bigfile and SmallfileOracle
- Temporary tablespaces in RAC ? Oracle databas...Oracle
- oracle實驗記錄 (bigfile tablespace)Oracle
- oracle10g中的bigfile tablespaceOracle
- ORACLE撤銷表空間(Undo Tablespaces)Oracle
- Oracle Bigfile Tablespace大檔案表空間Oracle
- Transportable Tablespaces (TTS) for Oracle Database [ID 1461278.2]TTSOracleDatabase
- Oracle 12C RMAN Duplicating Tablespaces Within a PDBOracle
- Overview of Tablespaces (38)View
- Oracle 12c RMAN Duplicating a Subset of the Source Database TablespacesOracleDatabase
- Bigfile ---- awesome-goGo
- Oracle10g BIGFILE表空間帶來的好處Oracle
- How to Move Tablespaces Across Platforms Using Transportable Tablespaces With RMAN [ID 371556.1]ROSPlatform
- Using Multiple Tablespaces (46)
- Transport of Tablespaces Between Databases (59)Database
- 【原創】Oracle10g bigfile表空間帶來的好處Oracle
- 2.5 Overview of Tablespaces and Database Files in a CDBViewDatabase
- 10G新特性:BIGFILE TABLESPACE
- oracle10g_impdp工具測試學習_之二_transport_tablespacesOracle
- Backing Up Individual Tablespaces with RMAN
- Transporting Tablespaces with Self-ContainedAI
- Step 8: Create Additional Tablespaces (66)
- Oracle OCP 1Z0 053 Q65(dictionary-managed&local-managed tablespaces)Oracle
- 給Oracle BIGFILE表空間增加磁碟(通用的LINUX增加磁碟空間方案)OracleLinux
- DELETE from DBA_TABLESPACES IN 10Gdelete
- use multiple tablespaces to perform the following tasks (47)ORM
- 表空間管理之bigfile表空間設定
- innodb_undo_tablespaces導致Mysql啟動報錯MySql
- 大資料解決方案(一)之表空間--bigfile tablespace大資料
- 淺談mysql中各種表空間(tablespaces)的概念MySql
- Master Note for Transportable Tablespaces (TTS) -- Common Questions_1166564.1ASTTTS
- 10g : Transportable Tablespaces Across Different Platforms [ID 243304.1]ROSPlatform
- 10g+: Transportable Tablespaces Across Different Platforms [ID 243304.1]ROSPlatform
- ORA-22868: table with LOBs contains segments in different tablespacesAI
- How to Move a Database Using Transportable Tablespaces (文件 ID 1493809.1)Database