Transcript

7/8/2015 Justifying Oracle partitioning

http://www.dba­oracle.com/oracle_tips_partitioning.htm 1/3

Oracle TipsGot Questions?KEEP pool deprecatedin 12c12c Poster Available!Free AWR ReportAnalysisBEWARE of 11gR2Upgrade Gotchas!

 

 

 

 

 

 

 

 Search BC Oracle Sites

Search

 Home

 E­mail Us

 Oracle Articles

 Oracle Training

 Oracle Tips 

 Oracle Forum

 Class Catalog

 Remote DBA

 Oracle Tuning

 Emergency 911

 RAC Support

 Apps Support

 Analysis

 Design

 Implementation

 Oracle Support

 SQL Tuning

 Security

 Oracle UNIX

 Oracle Linux

 Monitoring

 Remote support

 Remote plans

 Remote services

 Application Server

 Applications

 Oracle Forms

 Oracle Portal

 App Upgrades

 SQL Server

 Oracle Concepts

 Software Support

 Remote Support  

 Development  

 Implementation

 Consulting Staff

 Consulting Prices

 

 Oracle Partitioning

Oracle Tips by Burleson Consulting

Oracle partitioning is a divide­and­conquer approach to improving Oraclemaintenance and SQL performance.  Anyone with un­partitioned databases over500 gigabytes is courting disaster.  Databases become unmanageable, and seriousproblems occur: 

SQL may perform poorly ­ Without Oracle partitioning, SQL querieswith full­table scans take hours to complete.  In a full scan, the smaller theOracle partition, the faster the performance.  Also, index range scansbecome inefficient.

Recovery ­ Files recovery takes days, not minutes

Maintenance ­ Rebuilding indexes (important to re­claim space andimprove performance)

There are many compelling reasons to implement Oracle partitioning for largerdatabases, and Oracle partitioning has become the de­facto standard for systemsover 500 gigabytes.  Oracle partitioning has many benefits to improveperformance and manageability:

Stable ­ Oracle partitioning is a very stable technology and has been usedin Oracle since Oracle8, back in 1997.  Each new release of Oracleimproves Oracle partitioning features.

Robust ? Oracle partitioning allows for multi­level keys, a combination ofthe Range and List partitioning technique. The table is first range­partitioned with Oracle partitioning, and then each individual range­partition is further sub­partitioned using a list partitioning technique withOracle partitioning. Unlike composite Range­Hash Oracle partitioning, thecontent of each sub­partition represents a logical subset of the data,described by its appropriate Range and List Oracle partition setup. 

Faster backups ­ A DBA can back­up a single Oracle partition of a table,rather than backing up the entire table, thereby reducing backup time.

Less overhead ? Because older Oracle partitioned tablespaces can bemarked as read­only, Oracle has less stress on the redo logs, locks andlatches, thereby improving overall performance.  For more details, readRobert Freeman's discussion of read­only tablespace performance.

Easier management ? Maintenance of Oracle partitioned tables isimproved because maintenance can be focused on particular portions oftables. For maintenance operations across an entire database object, it ispossible to perform these operations on a per­partition basis, thus dividingthe maintenance process into more manageable chunks.

Faster SQL ? Oracle is partition­aware, and some SQL may improve isspeed by several orders of magnitude (over 100x faster).

  ��  

7/8/2015 Justifying Oracle partitioning

http://www.dba­oracle.com/oracle_tips_partitioning.htm 2/3

 

 

 

  

 Help Wanted!

 

 Oracle Posters

 Oracle Books

 Oracle Scripts

 Ion 

 Excel­DB  

Don Burleson Blog 

 

 

 

 

 

 

­ Index range scans ? Oracle partitioning physicallysequences rows in index­order causing a dramaticimprovement (over 10x faster) in the speed of partition­key scans.

­  Full­table scans ? Oracle partition pruning onlyaccesses those data blocks required by the query.

­  Table joins ? Oracle partition­wise joins take thespecific sub­set of the query partitions, causing hugespeed improvements on nested loop and hash joins.

­  Updates ? Oracle parallel query for partitionsimproves batch load speed.

In sum, Oracle partitioning has a very­fast payback time and the immediateimprovements to performance and stress reduction on the Oracle server makes ita slam­dunk decision.

Please see related partitioning pages:

Oracle partitioning methods

oracle partitioning tips

Oracle Partitioning

Oracle interval partitioning tips

Oracle Partition Key Statistics & tuning

 

 If you like Oracle tuning, see the book "Oracle Tuning:The Definitive Reference", with 950 pages of tuning tipsand scripts. 

You can buy it direct from the publisher for 30%­off andget instant access to the code depot of Oracle tuningscripts.

   

7/8/2015 Justifying Oracle partitioning

http://www.dba­oracle.com/oracle_tips_partitioning.htm 3/3

 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle trainingreference for use by our DBA performance tuning consulting professionals.  Feelfree to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle supportexpert should independently investigate their credentials and experience, and notrely on advertisements and self­proclaimed expertise. All legitimate Oracleexperts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oraclesupport information.  If you find an error or have a suggestion for improving ourcontent, we would appreciate your feedback.  Just  e­mail:  

and include the URL for the page.

                      

Burleson ConsultingThe Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services

 

Copyright ? 1996 ­  2014

All rights reserved by Burleson

Oracle ? is the registered trademark of Oracle Corporation.


Recommended