大檔案表空間受作業系統限制無法自動擴充套件
之前只知道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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Linux 檔案系統擴充套件Linux套件
- springboot擴充套件配置檔案自動載入Spring Boot套件
- ORA-01652:無法通過128(在表空間TEMP中)擴充套件temp段套件
- ORA-01652 無法透過128 (在表空間 TEMP中)擴充套件temp段套件
- LVM : 擴充套件檔案系統的容量LVM套件
- Linux擴充套件LVM空間Linux套件LVM
- ubuntu 擴充套件磁碟空間Ubuntu套件
- VMware磁碟擴容 檔案系統空間不足,無法執行選擇操作
- [轉]ORA-01652 無法通過128 (在表空間 TEMP中)擴充套件temp段套件
- 擴充套件c盤空間有什麼辦法套件
- MySQL 系統表空間檔案解析MySql
- windchill 擴充USERS表空間
- 如何擴大c盤容量win10_win10系統怎麼擴充套件c盤空間Win10套件
- Laravel 檔案系統擴充套件(支援 OSS+ 七牛)Laravel套件
- oracle 新增儲存自動擴充套件資料檔案流程(auto)Oracle套件
- MySQL InnoDB系統表空間資料檔案配置MySql
- nginx配置檔案語法高亮的Sublime Text擴充套件Nginx套件
- linux建立新分割槽擴充套件磁碟空間Linux套件
- windows系統磁碟擴容/擴充套件Windows套件
- 未來系統擴充套件,報表怎麼辦?套件
- python擴充套件檔案import失敗Python套件Import
- win10系統c盤不能擴充套件卷怎麼辦 win10系統盤無法擴充套件卷點不了如何處理Win10套件
- 作業系統——檔案的三種外存形式及檔案儲存空間的管理方法作業系統
- 自動化擴充套件挑戰:ROI套件
- vs 擴充套件無法安裝的解決辦法套件
- 華納雲:如何配置oracle表空間自動擴容?Oracle
- vm exsi 擴充套件windows虛擬機器磁碟空間套件Windows虛擬機
- Oracle 10g大檔案表空間(轉)Oracle 10g
- linux — 擴容 /home 空間( xfs檔案系統分割槽擴容指定掛載點)Linux
- hyperf oss/cos 檔案上傳擴充套件套件
- macOS 探尋檔案擴充套件屬性Mac套件
- 作業系統——裝置驅動和檔案系統作業系統
- Oracle 表空間增加檔案Oracle
- 如何擴充套件c盤空間win10 給c盤增加容量的辦法套件Win10
- 當使用者無限制使用表空間配額且表空間有足夠空間時出現超出表空間的空間限額
- 國產工業作業系統 Intewell-Win釋出:支援Windows實時擴充套件作業系統Windows套件
- DcatAdmin 擴充套件: 自定義表單(動態表單)套件
- PHP 系統樹圖擴充套件元件PHP套件元件
- Huddle Room:擴充辦公空間 提升協作實效OOM