Академический Документы
Профессиональный Документы
Культура Документы
Partitioning Option
Features Overview
February 1999
PRODUCT SUMMARY
The partitioning option is the perfect complement for enhanced data management capabilities
using the Oracle8i Enterprise Edition in online transaction processing, Internet computing, and
data warehouse environments. It is useful for databases of all sizes, from small systems to high-
end Oracle® Parallel Server cluster systems. It provides additional manageability, availability,
and performance to address the challenges of data management at all scales.
The Partitioning Option for the Oracle8i Enterprise Edition can play a key role in enhancing the
data management environment for applications by adding key capabilities for manageability,
availability and performance for the underlying database tables and indexes.
PARTITIONING FOR MANAGEABILITY
Manageability is improved in many ways. The Partitioning Option allows tables and indexes to
be partitioned into more manageable units, providing administrators with tools that enable a
“divide and conquer” approach to data management, while preserving transparency to
applications.
Partitioning allows tables and indexes to be divided into smaller pieces, focusing operations on
particular portions of tables. It also allows tables and indexes to span tablespaces, and makes it
possible to perform a number of maintenance operations on a per-partition basis, thus dividing the
maintenance process into more manageable chunks.
Range, hash, and composite (range combined with hash) partitioning methods provide data-
dependent (or logical) control over the physical placement of data by defining a partitioning key,
composed of up to sixteen columns, whose value is used to route rows to particular partitions.
Range and composite methods are particularly useful for collecting related ranges of data together
and allowing those logically defined partitions to be managed as a unit of a larger table or index.
Using range or composite partitioning, these logically defined ranges can map directly to relevant
application units, e.g., business periods, regions, departments, companies, or customers. Hash
partitioning can be used to target specific partitioning key values to specific partitions, and also to
spread data evenly amongst partitions, helping provide many of the benefits of partitioning,
without having to establish partitioning ranges. With composite partitioning, both the control of
range partitioning for logically controlling data placement and the flexibility of hash partitioning
for spreading data among partitions are combined.
Flexible Indexing
Indexes on partitioned tables can optionally be partitioned, either with the table, or differently
from the table, or not at all.
The Partitioning Option provides a full suite of maintenance operations that complete the feature
set for manageability. Partitions may be independently loaded, exported, imported, analyzed,
relocated, truncated, and renamed. Index partitions on partitioned tables can be maintained or
reorganized independently of other index partitions. Maintenance operations are provided for
adding partitions, dropping partitions, combining two partitions into one, or splitting one partition
into two. Most of these operations that involve moving data within or between partitions can
optionally use the parallel execution technology of Oracle8i to complete maintenance operations
quickly by fully utilizing available CPU and disk resources. Operations such as INSERT AS
SELECT and CREATE TABLE AS SELECT can also operate on partitioned tables using parallel
technology, creating unprecedented parallel data flows that facilitate database maintenance
operations within a database.
The Partitioning Option provides a number of performance benefits both by limiting the amount
of data to be examined or operated on, and in parallel execution.
Partition-Aware Optimization
The amount of data operated on by queries or DML on partitioned tables is intelligently reduced by
combining information about how the underlying tables and indexes are partitioned with information
When using multiple nodes in an Oracle Parallel Server configuration to perform parallel queries
and parallel DML, processing is designed to minimized data flows between nodes. When
combined with routing of requests or data at the application level, partitioning can also be used to
map logical partitioned data sets to particular nodes to improve scalability, yet the mapping is
dynamic, not static, in that any node can still access any partition, which is a key requirement for
providing high availability.
Oracle8i partitioning lets extremely large tables be defined, loaded, and accessed. Oracle allows
up to 64K partitions to be defined per table, and each partition can reside in any tablespace, with
the size of each partition limited only by available space.
• Export and Import include support for • WHERE clause predicates that include
handling individual partitions. disjunction (OR) can intelligently
®
• SQL*Loader can load individual partitions improve partition elimination, in
or entire partitioned tables in both combination with conjunctive (AND)
conventional and direct-path. Individual predicates
partitions can be loaded in parallel, and
multiple partitions can be parallel loaded
concurrently. MANAGEABILITY
• Individual partitions can be independently
recovered in combination with ability to • Updates that cause a row to move from
recover individual tablespaces. one partition to another can be
selectively allowed or disallowed on a
per-table basis
Worldwide Inquiries:
+1.650.506.7000
Fax +1.650.506.7200
http://www.oracle.com/
All other company and product names mentioned are used for
identification purposes only and may be trademarks of their
respective owners.