当前位置:网站首页>Do you know that there is an upper limit on the size of Oracle data files?
Do you know that there is an upper limit on the size of Oracle data files?
2022-07-02 14:02:00 【bisal(Chen Liu)】
Traditional relational database , Although when the client interacts with the database , Are dealing with various caches , however " data " Or do you want to drop the plate , File is his storage form , Since it's a document , There will be capacity limitations , that ,Oracle What is the limit of the data file size ?
Refer to some information , Each data file can contain at most 2^22-1 Data blocks , This limitation is due to Oracle Of Rowid Use in 22 On behalf of Block Number , this 22 At most, it can only represent 2^22-1 Data blocks . Of course ,Oracle10g Introduced large file tablespaces ,Oracle You can use 32 On behalf of Block Number , therefore , Each file in the large file table space can hold at most 4G individual Block.
P. S. 《 What is? rowid?》
If it's the default 8k Data blocks , A data file contains 2^22-1 Data blocks , His file size , Namely 2^22-1 * 8k / 1024 /1024 = 32G, That is, the maximum can not exceed 32G. The corresponding ,
4k The maximum data file of data block shall not exceed 16G.
16k The maximum data file of data block shall not exceed 64G.
32k The maximum data file of data block shall not exceed 128G.
64k The maximum data file of data block shall not exceed 256G.
If it is a large file table space , By default 8k Data blocks , Data files can achieve 32T, If it is 32k A block of data , The data file size can reach 128T.
although , According to the above calculation , There is an upper limit on the size of data files , however , If the maximum capacity of a single file supported by the operating system is less than this value , It is limited to the maximum capacity of the operating system . in addition ,Windows Can only be used in 2k、4K、8K、16K Block size , Maximum block capacity , Will be slightly smaller .
Related to data files is db_files Parameters , He specifies the maximum number of files that an instance can create . This value can be modified , But only after restarting the instance , Will take effect .db_files Set too low , It may cause the problem that new data files cannot be added . Set too high , It will consume more memory resources . For how to set ,《Database Administrator’s Guide》 Gives guidance , But it still has to be combined with the actual situation ,
https://docs.oracle.com/en/database/oracle/oracle-database/19/admin/managing-data-files-and-temp-files.html#GUID-BB7D8910-FCAE-4DAD-BDE5-B5EE35C69C6B

therefore , Including not limited to Oracle And the size of the data file , When we encounter the actual demand scenario , Understand these limitations , It helps us to choose the most suitable scheme .
Reference material ,
http://www.eygle.com/archives/2007/07/oracle_datafile_limit.html
https://www.modb.pro/db/386663?utm_source=index_ai
Recently updated articles :
《Oracle and JSON The combination of 》
《 How to " grace " avoid MySQL Login tips 》
《 Xiaobai studies MySQL - Incremental Statistics SQL The needs of - Scheme of windowed function 》
《 List of domestic databases 》
《 Xiaobai studies MySQL - The statistical " Be opportunistic "》
Recent hot articles :
《" Red Alert " Game open source code brings us a shock 》
Article classification and indexing :
边栏推荐
- BeanUtils -- shallow copy -- example / principle
- Launcher startup process
- Why is the default of switch followed by break?
- Selenium installing selenium in pycharm
- 不会看器件手册的工程师不是个好厨子
- The global special paper revenue in 2021 was about $27 million, and it is expected to reach $35 million in 2028. From 2022 to 2028, the CAGR was 3.8%
- Error: eacces: permission denied, access to "/usr/lib/node_modules"
- Whole house Wi Fi: a pain point that no one can solve?
- mysql ---- Oracle中的rownum转换成MySQL
- [usaco05jan]watchcow s (Euler loop)
猜你喜欢

(POJ - 1984) navigation nightare (weighted and search set)

自定义事件,全局事件总线,消息订阅与发布,$nextTick

PyQt5_QScrollArea内容保存成图片

当贝投影4K激光投影X3 Pro获得一致好评:万元投影仪首选

selenium,元素操作以及浏览器操作方法

万物生长大会在杭召开,当贝入选2022中国未来独角兽TOP100榜单

In 2021, the global styrene butadiene styrene (SBS) revenue was about $3722.7 million, and it is expected to reach $5679.6 million in 2028

Qt-制作一个简单的计算器-实现四则运算-将结果以对话框的形式弹出来

2022 Heilongjiang provincial examination on the writing skills of Application Essays

Pointer from entry to advanced (1)
随机推荐
量子三体问题: Landau Fall
默认插槽,具名插槽,作用域插槽
Android kotlin fragment technology point
Launcher启动过程
大家信夫一站式信用平台让信用场景“用起来
P1908 逆序对
Achievements in science and Technology (27)
瀏覽器驅動的下載
故事點 vs. 人天
自定义事件,全局事件总线,消息订阅与发布,$nextTick
The conference on the growth of all things was held in Hangzhou, and dangbei was selected into the top 100 list of future unicorns in China in 2022
rxjs Observable 自定义 Operator 的开发技巧
In 2021, the global TCB adapter revenue was about $93 million, and it is expected to reach $315.5 million in 2028
2022 home projector preferred! Dangbei F5 brings the ultimate audio-visual experience with its powerful audio-visual effect
Qt新项目_MyNotepad++
Characteristics of selenium
Android kotlin broadcast technology point
刚好1000粉丝,记录一下
Simple introduction to ENSP
uniapp小程序 subPackages分包配置