oracle 表 上限,Oracle分区表(Partition Table)的数量限制
Oracle分區表(Partition Table)的數量限制
有朋友在我的留言板上問到這樣一個問題:
oracle分區表是不是有最大分區個數限制,我有一張大約20G的表,有好多分區(按時間),結果根據這個時間條件查詢就報ORA-03113 end-of-file on communication channel錯誤,然后斷開鏈接,硬件與網絡都沒問題. 后來我刪了幾個分區就一切OK了,這是咋回事呢? 系統環境 win2003 server + oracle9201
我猜測他這個問題并非遇到了分區個數的限制,因為這個限制很難達到,至少到目前為止我尚未聽說有人達到這個分區限制。
那么Oracle最大允許存在多少個分區呢?
我們可以從Oracle的Concepts手冊上找到這個信息,對于Oracle9iR2:
Tables can be partitioned into up to 64,000 separate partitions.
對于Oracle10gR2,Oracle增強了分區特性:
Tables can be partitioned into up to 1024K-1 separate partitions.
真的會有人嘗試來突破這個分區極限嗎? 你的數據庫最大的分區表有多少個分區呢?
關于何時應該進行分區,Oracle有如下建議:
■ Tables greater than 2GB should always be considered for partitioning.
■ Tables containing historical data, in which new data is added into the newest partition. A typical example is a historical table where only the current month's data is updatable and the other 11 months are read only.
歷史上的今天...
>>
2012-01-18文章:
2010-01-18文章:
By eygle on 2006-01-18 14:58 |
Comments (1) |
FAQ | 642 |
1 Comment
我們這里用snapshot,很多復制的大表都不能進行分區,或者分區表里面就一個分區:(
總結
以上是生活随笔為你收集整理的oracle 表 上限,Oracle分区表(Partition Table)的数量限制的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: css3 shapes是什么意思,如何在
- 下一篇: 字节跳动开发者工具_FAQ | 字节跳动