Oracle DB 分區特性概述 Overview of Partitions

來源:互聯網
上載者:User

Oracle DB 分區特性概述 Overview of Partitions

概述:在Oracle資料庫中,分區(partitioning)可以使非常大的表(table)或索引(index)分解為小的易管理的塊(pieces),這些塊被稱作分區(partitions).每個分區都必須有相同的邏輯結構,如列名、資料類型、約束條件等,但是每個分區都可以都各自獨立的物理結構。

分區的好處:

1.增加可用性:

2.易於模式對象的管理

3.減少在OLTP系統中對資源的爭用

4.提高在資料倉儲中查詢的效能

分區鍵(Partition Key)

分區鍵是一或多個用來決定每一行去哪個分區的列。

分區策略:

1.定界分割(Range Partition)

如按日期分區。

2.列表分區(List Partition)

當分區鍵位離散的一列值時使用。

3.散列分區(Hash Partition)

特點:通過內建的散列函數,將行均勻的分布到每個分區中,使每個分區的行數達到平衡。

在CentOS 6.4下安裝Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虛擬機器中安裝步驟

Debian 下 安裝 Oracle 11g XE R2

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.