大檔案表空間受作業系統限制無法自動擴充套件
之前只知道BIGFILE TABLESPACE只能有一個資料檔案,對於8K的BLOCK_SIZE,BIGFILE TABLESPACE最大為32TB,對於16K一個的BLOCK_SIZE,BIGFILE TABLESPACE最大為64TB,在我的測試環境有一塊10TB的磁碟分割槽,在上面建立了一個BIGFILE TABLESPACE,作業系統是OEL5.7,資料庫版本是11.2.0.2.0,檔案系統是EXT3,在測試圖片載入時,報ORA-1691表空間無法自動擴充套件錯誤。
ORA-1691: unable to extend lobsegment PIC.SYS_LOB0000218810C00010$$
by 64 in tablespace PICS
ORA-1691: unable to extend lobsegment PIC.SYS_LOB0000218810C00010$$
by 4096 in tablespace PICS
ORA-1691: unable to extend lobsegment PICS.SYS_LOB0000218355C00010$$
by 64 in tablespace PICS
ORA-1691: unable to extend lobsegment PICS.SYS_LOB0000218355C00010$$
by 4096 in tablespace PICS
而此時資料檔案大小將近2TB,手動調整資料檔案大小為2TB,報ORA-01237錯誤。
SQL> alter database datafile 13 resize 2T;
alter database datafile 13 resize 2T
*
ERROR at line 1:
ORA-01237: cannot extend datafile 13
ORA-01110: data file 13: '/pics/pics01.dbf'
ORA-27059: could not reduce file size
Linux-x86_64 Error: 27: File too large
Additional information: 2
上面的錯誤提示很清楚,由於資料檔案大小超過2TB檔案系統限制,導致資料檔案無法自動擴充套件,也就是說BIGFILE TABLESPACE的大小也受檔案系統的限制,下面是ORACLE11gR2的館方文件對BIGFILE TABLESPACE的說明:
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
(Oracle 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.
Notes部分ORACLE說使用BIGFILE TABLESPACE最好使用沒有檔案大小限制的ASM,否則BIGFILE TABLESPACE的大小將受檔案系統最大檔案大小的限制。
後來將表空間從檔案系統改為ASM檔案系統,問題解決。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26547977/viewspace-753033/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 表空間自動擴充套件 AUTOALLOCATE 的擴充套件規律套件
- 表空間無法擴充套件問題處理套件
- 【實驗】修改資料庫檔案為自動擴充套件以達到表空間自動擴充套件的目的資料庫套件
- 查詢表空間是否具備自動擴充套件空間套件
- 擴充套件表空間套件
- 增加自動擴充套件臨時表空間及改變預設表空間套件
- 擴充套件系統的磁碟空間套件
- 獲取表空間是否可自動擴充套件的SQL套件SQL
- aix擴充套件檔案系統AI套件
- aix 擴充套件檔案系統AI套件
- 表空間擴充套件過程 停電導致異常中斷, 無法啟動套件
- 使用oracle procedure儲存過程自動擴充套件表空間空間tablespace_自動化運維Oracle儲存過程套件運維
- 移動資料檔案、系統表空間檔案、臨時表空間檔案
- oracle UNDO表空間一個bug——undo表空間快速擴充套件Oracle套件
- Oracle資料檔案自動擴充套件會充分利用最後剩餘空間Oracle套件
- 有限螢幕的無限空間 -從空間角度談移動介面擴充套件套件
- LVM : 擴充套件檔案系統的容量LVM套件
- 擴充套件c盤空間有什麼辦法套件
- Oracle 10g 物理DataGuard擴充套件表空間Oracle 10g套件
- ORA-01652: 無法通過 8 (在表空間 TONGYIHUA 中) 擴充套件 temp 段套件
- mysql空間擴充套件 VS PostGISMySql套件
- 擴充套件邏輯卷空間套件
- 大檔案表空間
- ORA-03206,當表空間不夠時,如何以新增資料檔案的方式擴充套件表空間套件
- MySQL 系統表空間檔案解析MySql
- ORA-01652:無法通過128(在表空間TEMP中)擴充套件temp段套件
- ORA-01652 無法透過128 (在表空間 TEMP中)擴充套件temp段套件
- enqueue HW wait 引起表空間突然大量擴充套件ENQAI套件
- SQL Server資料庫檔案不滿足擴充套件條件時不再自動擴充套件SQLServer資料庫套件
- ORA-01659錯誤,主要是表空間不夠,設定自動擴充套件套件
- 如何擴大c盤容量win10_win10系統怎麼擴充套件c盤空間Win10套件
- Linux擴充套件LVM空間Linux套件LVM
- HP-UX擴充套件swap空間UX套件
- HP-UNIX擴充套件/tmp空間套件
- MAXDATAFILES,DB_FILES及控制檔案的自動擴充套件套件
- 手工建庫後表空間資料檔案非自動擴充套件引起的錯誤:ORA-01653: unable to extend* in tablespace*套件
- GNUC擴充套件:Linux作業系統的核心使用(轉)套件Linux作業系統
- [轉]ORA-01652 無法通過128 (在表空間 TEMP中)擴充套件temp段套件