Oracle資料庫中,在設計表的時候,在什么情況下需要建表磁區?有標準嗎?比不建磁區有什么好處?
uj5u.com熱心網友回復:
樓主先了解一下磁區表的基礎知識,和特性。百度 和 官網都可以。
uj5u.com熱心網友回復:
你可以先上網了解下1.什么是磁區表?
2.磁區表有哪些型別?
3.分別在什么場合使用?
4.磁區表的作用
。。。。
自然而然你就弄清楚了。
磁區表最主要的2個好處是:
1.便于管理和維護資料。
2.提高查詢性能。
uj5u.com熱心網友回復:
如果只考慮應用,簡單粗暴地講:磁區就是大號的索引,當你的索引無法應對查詢的時候,就該磁區了如果還考慮運維、管理,那么最該考慮的就是歷史資料如何處理這個問題
uj5u.com熱心網友回復:
綜合兩者,或者做出取舍~
uj5u.com熱心網友回復:
對oracle磁區表的理解整理http://blog.itpub.net/30130773/viewspace-2121413/
這個文章應該對你很有幫助。
uj5u.com熱心網友回復:
表磁區的優點不多說了,1、改善查詢性能;2、增強可用性;3、維護方便;4、均衡I/O;資料量很大,而且經常按照某個欄位進行條件過濾或者分組時,可以考慮使用磁區
uj5u.com熱心網友回復:
當表的大小達到GB級別且持續增長,或對于OLTP系統,表的記錄超過1000萬時,都應考慮對表進行磁區。Oracle官網的2個建議如下:
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.
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/74989.html
標籤:開發
下一篇:oracle限制用戶更改口令
