ORACLE DATA SHEET ORACLE PARTITIONING

Similar documents
Partitioning in Oracle Database 10g Release 2. An Oracle White Paper May 2005

An Oracle White Paper June Partitioning with Oracle Database 12c

Oracle Partitioning in Oracle Database 12c Release 2

An Oracle White Paper February Optimizing Storage for Oracle PeopleSoft Applications

Oracle 11g Partitioning new features and ILM

Information Lifecycle Management for Business Data. An Oracle White Paper September 2005

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Partitioning in Oracle 12 c. Bijaya K Adient

An Oracle White Paper June Exadata Hybrid Columnar Compression (EHCC)

Automatic Data Optimization with Oracle Database 12c O R A C L E W H I T E P A P E R S E P T E M B E R

Oracle Warehouse Builder 10g Release 2 Integrating Packaged Applications Data

Create Individual Membership. This step-by-step guide takes you through the process to create an Individual Membership.

Oracle Big Data SQL. Release 3.2. Rich SQL Processing on All Data

DATA INTEGRATION PLATFORM CLOUD. Experience Powerful Data Integration in the Cloud

Implementing Information Lifecycle Management (ILM) with Oracle Database 18c O R A C L E W H I T E P A P E R F E B R U A R Y

August Oracle - GoldenGate Statement of Direction

Data Warehousing & Big Data at OpenWorld for your smartphone

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Oracle Flashback Data Archive (FDA) O R A C L E W H I T E P A P E R M A R C H

Hybrid Columnar Compression (HCC) on Oracle Database 18c O R A C L E W H IT E P A P E R FE B R U A R Y

MySQL CLOUD SERVICE. Propel Innovation and Time-to-Market

VLDB. Partitioning Compression

Autonomous Data Warehouse in the Cloud

Oracle Advanced Compression. An Oracle White Paper June 2007

Oracle Database Exadata Cloud Service Exadata Performance, Cloud Simplicity DATABASE CLOUD SERVICE

An Oracle White Paper September Methods for Upgrading to Oracle Database 11g Release 2

Create Faculty Membership Account. This step-by-step guide takes you through the process to create a Faculty Membership Account.

Data Warehousing 11g Essentials

Oracle Database. VLDB and Partitioning Guide 11g Release 2 (11.2) E

Oracle Database. VLDB and Partitioning Guide 11g Release 2 (11.2) E

An Oracle White Paper September Upgrade Methods for Upgrading to Oracle Database 11g Release 2

An Oracle White Paper August Building Highly Scalable Web Applications with XStream

TABLE OF CONTENTS DOCUMENT HISTORY 3

NOSQL DATABASE CLOUD SERVICE. Flexible Data Models. Zero Administration. Automatic Scaling.

Superior Product Variants Software for Multi-Attribute Product Companies. An Oracle White Paper April 2004

SUN ORACLE DATABASE MACHINE

Oracle Business Activity Monitoring 12c Best Practices ORACLE WHITE PAPER DECEMBER 2015

ORACLE WHITEPAPER ORACLE ENTERPRISE MANAGER 13C CLOUD CONTROL

Automating Information Lifecycle Management with

Frequently Asked Questions Oracle Content Management Integration. An Oracle White Paper June 2007

An Oracle White Paper September Oracle Utilities Meter Data Management Demonstrates Extreme Performance on Oracle Exadata/Exalogic

Oracle Data Provider for.net Microsoft.NET Core and Entity Framework Core O R A C L E S T A T E M E N T O F D I R E C T I O N F E B R U A R Y

TABLE OF CONTENTS DOCUMENT HISTORY 3

Veritas NetBackup and Oracle Cloud Infrastructure Object Storage ORACLE HOW TO GUIDE FEBRUARY 2018

An Oracle White Paper December, 3 rd Oracle Metadata Management v New Features Overview

Technical Upgrade Guidance SEA->SIA migration

OpenWorld 2015 Oracle Par22oning

Exploring Oracle Database 11g/12c Partitioning New Features and Best Practices. Ami Aharonovich Oracle ACE & OCP

An Oracle White Paper October Advanced Compression with Oracle Database 11g

Data warehouse architecture consists of the following interconnected layers:

Highly Available Forms and Reports Applications with Oracle Fail Safe 3.0

Oracle Database 11g for Data Warehousing and Business Intelligence

Oracle Big Data Connectors

Creating Custom Project Administrator Role to Review Project Performance and Analyze KPI Categories

TABLE OF CONTENTS DOCUMENT HISTORY 3

Your New Autonomous Data Warehouse

Oracle DIVArchive Storage Plan Manager

Rapid Bottleneck Identification A Better Way to do Load Testing. An Oracle White Paper June 2008

ORACLE SNAP MANAGEMENT UTILITY FOR ORACLE DATABASE

Oracle TimesTen Scaleout: Revolutionizing In-Memory Transaction Processing

Oracle Fusion General Ledger Hierarchies: Recommendations and Best Practices. An Oracle White Paper April, 2012

An Oracle White Paper October The New Oracle Enterprise Manager Database Control 11g Release 2 Now Managing Oracle Clusterware

Oracle NoSQL Database Parent-Child Joins and Aggregation O R A C L E W H I T E P A P E R A P R I L,

Oracle Financial Consolidation and Close Cloud. What s New in the February Update (17.02)

Oracle Express CPQ for Salesforce.com

ORACLE DATABASE LIFECYCLE MANAGEMENT PACK

An Oracle White Paper May Oracle VM 3: Overview of Disaster Recovery Solutions

Oracle Database Appliance X6-2S / X6-2M ORACLE ENGINEERED SYSTEMS NOW WITHIN REACH FOR EVERY ORGANIZATION

Analytic Workspace Manager and Oracle OLAP 10g. An Oracle White Paper November 2004

Oracle 1Z0-515 Exam Questions & Answers

COMPUTE CLOUD SERVICE. Moving to SPARC in the Oracle Cloud

An Oracle Technical White Paper September Oracle VM Templates for PeopleSoft

Key Features. High-performance data replication. Optimized for Oracle Cloud. High Performance Parallel Delivery for all targets

Oracle Database 10g Resource Manager. An Oracle White Paper October 2005

Oracle NoSQL Database Parent-Child Joins and Aggregation O R A C L E W H I T E P A P E R M A Y,

Adding Mobile Capability to an Enterprise Application With Oracle Database Lite. An Oracle White Paper June 2007

An Oracle White Paper December Oracle Exadata Database Machine Warehouse Architectural Comparisons

Application Container Cloud

Using Oracle In-Memory Advisor with JD Edwards EnterpriseOne

APPLICATION BUILDER CLOUD. Application Creation Made Easy

Data Capture Recommended Operating Environments

Data Vault Partitioning Strategies WHITE PAPER

CONTAINER CLOUD SERVICE. Managing Containers Easily on Oracle Public Cloud

Oracle GoldenGate for Big Data

Generate Invoice and Revenue for Labor Transactions Based on Rates Defined for Project and Task

Load Project Organizations Using HCM Data Loader O R A C L E P P M C L O U D S E R V I C E S S O L U T I O N O V E R V I E W A U G U S T 2018

Improve Data Integration with Changed Data Capture. An Oracle Data Integrator Technical Brief Updated December 2006

SecureFiles Migration O R A C L E W H I T E P A P E R F E B R U A R Y

Bulk Processing with Oracle Application Integration Architecture. An Oracle White Paper January 2009

Oracle Utilities Customer Care and Billing Release Utility Reference Model a Load Meter Reads

Copyright 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12

INTEGRATION CLOUD SERVICE. Accelerate Your Application Integration Across the Cloud and On Premises

Oracle Database 12c Release 2 for Data Warehousing and Big Data O R A C L E W H I T E P A P E R N O V E M B E R

An Oracle White Paper July Methods for Downgrading from Oracle Database 11g Release 2

Oracle Flash Storage System QoS Plus Operation and Best Practices ORACLE WHITE PAPER OCTOBER 2016

Oracle HCM Cloud Common Features

Maximum Availability Architecture. Oracle Best Practices For High Availability

Oracle Database 12c: JMS Sharded Queues

Oracle Database Vault

Oracle Database 10g Release 2 Database Vault - Restricting the DBA From Accessing Business Data

Transcription:

Note: This document is for informational purposes. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described in this document remains at the sole discretion of Oracle. ORACLE PARTITIONING ORACLE PARTITIONING Proven functionality in its 8 th generation Broadest and most comprehensive offering on the market Partitioning improves the Performance, Availability, and Manageability for a wide variety of applications Key enabler for Information Lifecycle Management inside the database: online tiered archiving' dramatically reduces the TCO Implementation without application changes Oracle Partitioning, an option of Oracle Database 11g Enterprise Edition, enhances the manageability, performance, and availability of a wide variety of applications. Partitioning allows tables, indexes, and index-organized tables to be subdivided into smaller pieces, enabling these database objects to be managed and accessed at a finer level of granularity. Oracle provides a comprehensive range of partitioning schemes to address every business requirement. Moreover, since it is entirely transparent in SQL statements, partitioning can be applied to any application, from OLTP to Data Warehousing. Benefits of Oracle Partitioning Partitioning can provide tremendous benefits to a wide variety of applications by improving manageability, performance, and availability. In its 8 th generation, Oracle Partitioning is proven key functionality for building multi-terabyte systems or systems with extremely high availability requirements. For example, it is not unusual for partitioning to improve the performance of certain queries or maintenance operations by an order of magnitude. Moreover, partitioning can greatly reduce the total cost of ownership, using a tiered archiving approach of keeping older relevant information still online on low cost storage devices. Thus Oracle Partitioning enables an efficient and simple, yet very powerful approach to the Information Lifecycle Management for large environments. Basics of Oracle Partitioning Partitioning allows a table, index or index-organized table to be subdivided into smaller pieces. Each of these smaller pieces of a database object is called a partition (or subpartition for composite partitioned objects). Each partition has its own name, and may optionally have its own storage characteristics, such as having table compression enabled or having partitions being stored in different tablespaces, potentially on different ASM diskgroups. From the perspective of a database administrator, a partitioned object has multiple pieces which can be managed either collectively or individually. This gives the administrator considerably flexibility in managing partitioned objects. However, from the perspective of the application, a partitioned table is identical to a non-partitioned table; no modifications are necessary 1

when accessing a partitioned table using SQL DML commands. Tables are partitioned using a 'partitioning key', a set of columns which determine in which partition a given row will reside. Oracle Database 11g provides the most comprehensive Partitioning offering in the market, with a broad variety of partitioning techniques and advanced mechanisms,. A Partition Advisor is also available which will recommend how to partition a table based on how the data will be accessed. The following table gives an overview of all available basic partitioning strategies in Oracle Database 11g. Partitioning Strategy Data Distribution Range Partitioning List Partitioning Based on consecutive ranges of values. Based on unordered lists of values. Sample Business Case Orders table range Orders table list partitioned by country Hash Partitioning Based on a hash algorithm. Orders table hash partitioned by customer_id Composite Partitioning Range-Range Range-List Range-Hash List-List List-Range List-Hash Interval-Range * Interval-List * Interval-Hash * Based on a combination of two of the above-mentioned basic techniques of Range, List, Hash, and Interval Partitioning Orders table is range and sub-partitioned by hash on customer_id Orders table is range and sub-partitioned by range on shipment_date In addition to the available partitioning strategies, Oracle Database 11g provides the following partitioning extensions:: Partitioning Strategy Data Distribution Sample Business Case Interval Partitioning REF Partitioning Defined by an interval, providing equi-width ranges. With the exception of the first partition all partitions are automatically created as-needed when matching data arrives. An extension to Range Partitioning. Partitioning for a child table is inherited from the parent table through a primary key foreign key relationship. The partitioning keys are not stored in actual columns in the child table. Orders table partitioned by order_date with a predefined daily interval, starting with '01-Jan-2007' (Parent) Orders table range partitioned by order_date and inherits the partitioning technique to (child) order lines table. Column order_date is only present in the parent orders table 2

Virtual column based Partitioning Partitioning is defined by one of the abovementioned partition techniques and the partitioning key is based on a virtual column. Virtual columns are not stored on disk and only exist as metadata. Orders table has a virtual column that derives the sales region based on the customer account number. The orders table is then list partitioned by sales region. Index-organized tables can be range-partitioned, list-partitioned, or hash-partitioned. Oracle Database 11g also provides three types of partitioned indexes: Local Indexes: A local index is an index on a partitioned table which is partitioned in the exact same manner as the underlying partitioned table. Each partition of a local index corresponds to one and only one partition of the underlying table. Global Partitioned Indexes: A global partitioned index is an index on a partitioned or non-partitioned table which is partitioned using a different partitioning-key from the table. Global-partitioned indexes can only be partitioned using range partitioning. Global Non-Partitioned Indexes: A global non-partitioned index is essentialy identical to an index on a non-partitioned table. The index structure is not partitioned. Oracle provides a robust set of techniques for partitioning tables, indexes, and indexorganized tables, so that partitioning can be optimally applied to any application in any business environment. In addition, Oracle provides a comprehensive set of SQL commands for managing partitioning tables, which includes commands for adding new partitions, dropping, truncating, splitting, merging. Moving, and compressing partitions. Oracle Partitioning for Manageability The Oracle Partitioning option allows tables and indexes to be partitioned into smaller, more manageable units, providing database administrators with the ability to pursue a "divide and conquer" approach to data management. With partitioning, maintenance operations can be focused on particular portions of tables. For example, a database administrator could back up a single partition of a table, rather than backing up the entire table. For maintenance operations across an entire database object, it is possible to perform these operations on a per-partition basis, thus dividing the maintenance process into more manageable chunks. A typical usage of partitioning for manageability is to support a 'rolling window' load process in a data warehouse. Suppose that a DBA loads new data into a table on weekly basis. That table could be range-partitioned so that each partition contains one week of data. The load process is then simply the addition of a new partition. Adding a single partition is much more efficient than modifying the entire table, since the DBA does not need to modify any other partitions. The same is true for purging data from a partitioned table. You simply drop a partition, a very cheap and quick data dictionary operation, rather than issuing a DELETE command, using lots of resources and touching all the data to be deleted. 3

Oracle Partitioning for Performance When data volumes increase, a common concern, is that system performance will degrade because of all the extra data that has to be examined. Oracle Partitioning eliminates this problem, by limiting the amount of data to be examined or operated on, thus significantly improving performance beyond what is possible with a nonpartitioned table. Oracle Partitioning option provides a number of performance benefits, including the following: Partitioning Pruning: Partitioning pruning is the simplest and also the most substantial means to improve performance using partitioning. For example, suppose an application contains a Shipment table containing a historical record of shipments, and that this table has been partitioned by day. A query requesting shipments for a single day would only access a single partition of the Shipments table. If the Shipments table had 2 years of historical data, this query would access one partition instead of 730 partitions. This query could potentially execute appr. 700x faster simply because of partition-pruning. Partition pruning works with all of Oracle's other performance features. Oracle will utilize partition pruning in conjunction with any indexing technique, join technique, or parallel access method. Partition-wise Joins: Partitioning can also improve the performance of multi-table joins, by using a technique known as partition-wise join. Partition-wise joins can be applied with two tables are being joined together, and both of these tables are partitioned on the join key. Partition-wise joins break large joins into smaller joins that occur between each of the partitions, completing the overall join in less time. This offers significant performance benefits both for serial and parallel execution. Oracle Partitioning for Availability Partitioned database objects provide partition independence. which is an important part of a high-availability strategy. For example, if one partition in a table is unavailable, all of the other partitions of the table remain online and available; the application can continue to execute queries and transactions against this partitioned table, and these database operations will run successfully if they do not need to access the unavailable partition. Moreover, partitioning can reduce scheduled downtime. The performance gains provided by partitioning may enable database administrators to complete maintenance operations on large database objects in relatively small batch windows. Information Lifecycle Management with Oracle Partitioning Today's challenge of storing vast quantities of data for the lowest possible cost can be optimally addressed using Oracle Partitioning. By understanding of how data is accessed, the independence of individual partitions is the key enabler for addressing the online portion of a tiered archiving strategy. Specifically in tables containing historical data, partitioning enables individual partitions (or groups of partitions) to be stored on different storage tiers, providing differentphysical attributes and price points. For example an Orders table containing 2 years worth of data could have only the most recent quarter being stored on an expensive high-end storage tier and keep 4

SIDEBAR HEAD RELATED PRODUCTS AND SERVICES: Oracle Partitioning is an option to Oracle Database 11g Enterprise Edition the rest of the table (almost 90% of the data) on an inexpensive low cost storage tier. Through Oracle Partitioning, the storage costs are reduced by factors (cost savings of 50% or more are not uncommon), without impacting the end user access, thus optimizing the cost of ownership for the stored information. Oracle Partitioning is for Everybody Oracle Partitioning can greatly enhance the manageability, performance, and availability of almost any database application. Partitioning can be applied to cuttingedge applications and indeed partitioning can be a crucial technology ingredient to ensure these applications success. However, partitioning can also be applied to more commonplace database applications in order to simplify the administration and costs of managing such applications. Considering the new and improved functionality for partitioning, Oracle Database 11g is the most significant release since the introduction of Oracle Partitioning in 1997. In every major release, Oracle has enhanced the functionality of Partitioning, by either adding new partitioning techniques, enhancing the scalability, or extending the manageability and maintenance capabilities. Oracle plans to continue to add new partitioning techniques to ensure that an optimal partitioning technique is available for every business requirement. Copyright 2007, Oracle. All Rights Reserved. This document is provided for information purposes only, and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor is it subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document, and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. 5