oracle复合分区创建,关于oracle复合分区的组合

只是技术实现上的限制,新版本支持的组合越来越多。

http://www.oracle.com/technetwor ... -wp-12c-1896137.pdf

Partitioning Functionality at a Glance

The following table shows all available basic partitioning methods in Oracle Database 12c:

BASIC PARTITIONING METHODS IN ORACLE DATABASE 12C

Partitioning Strategy Data Distribution Sample Business Case

Range Partitioning Consecutive ranges of values. Orders table range partitioned by order_date

List Partitioning Unordered lists of values. Orders table list partitioned by country

Hash Partitioning Internal hash algorithm Orders table hash partitioned by customer_id

Composite Partitioning

• Range-Range

• Range-List

• Range-Hash

• List-List

• List-Range

• List-Hash

• Hash-Hash

• Hash-List

• Hash-Range

Combination of two of the

above-mentioned basic

techniques of Range, List, and

Hash

Orders table is range partitioned by order_date and

sub-partitioned by hash on customer_id

Orders table is range partitioned by order_date and

sub-partitioned by range on shipment_date

Orders table is list partitioned by country and subpartitioned

by range on order_date

Orders table is list partitioned by country and subpartitioned

by hash on customer_id

The basic partitioning methods can be used in conjunction with the following partitioning extensions. All

combinations of partition extensions, e.g Interval-Reference, are supported for heap organized tables.

PARTITIONING EXTENSIONS IN ORACLE DATABASE 12C

Partitioning Extension Description Sample Business Case

Interval Partitioning Extension to Range Partition. Defined by an Orders table partitioned by order_date

interval, providing equi-width ranges. With with a predefined daily interval, starting • Interval

the exception of the first partition all with '01-Jan-2013' • Interval-Range partitions are automatically created on-

• Interval-List demand when matching data arrives.

• Interval-Hash

Reference Partitioning Partitioning for a child table is inherited from (Parent) Orders table range partitioned

the parent table through a primary key – by order_date and inherits the

foreign key relationship. The partitioning partitioning technique to (child) order

keys are not stored in actual columns in the lines table. Column order_date is only

child table. present in the parent orders table

Virtual column based Defined by any partition techniques where Orders table has a virtual column that

Partitioning the partitioning key is based on a virtual derives the sales region based on the

column. Virtual columns are not stored on first three digits of the customer

disk and only exist as metadata. account number. The orders table is

then list partitioned by sales region.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值