Professional Documents
Culture Documents
Michael R. Messina, Management Consultant Rolta-TUSC, Oracle Open World 2010 (60 min)
Copyright 2009 Rolta International, Inc., All Rights Reserved
Introduction
Michael Messina Management Consultant with Rolta-TUSC Background includes Performance Tuning, High Availability and Disaster Recovery Using Oracle for approximately 16 years messinam@tusc.com www.tusc.com
Audience Experience
How many have utilized Partitioning and what have been some of your experiences? How many have utilized Table Compression and index compression (prior to 11g Advanced Compression) and what are your thoughts/experiences? How many are using Advanced Compression in Production? Thoughts?
Goals
Touch on industry challenges Explosive Data Growth Performance Costs Look at 2 Partitioning Features Introduced with 11g Examine 11g Advanced Compression and impact using 11g partitioning features Show how Partitioning and Advanced Compression together help address some of the industry challenges
Industry Challenges
Exploding Data Growth
Got to keep up
Performance
Query Performance Degradation as data volumes increase Backup time increases as data volumes increase
Performance
Storage capacity grows at over 60% per year while performance improves at less than 10% per year. This trend has existed for over 10 years and is expected to continue for the foreseeable future. , BNET
Performance
Ref Partitioning what is advertised
Introduced with Oracle 11g Improves performance for parent child relationships Partitions the child with the parent
Manageability
Interval Partitioning
Introduced with 11g Defined using an interval Works much like Range Partitioning Partitions are created as needed eliminates need to manually add partitions.
Ref Partitioning
Introduced with 11g Simpler partition management, child partitions created automatically when parent partitions are created
** The above costs are based on 16TB configuration. Monash University, Cost of Storage Direct Attached vs. SAN
Compression
Index Compression since 8i Table Compression since 9i
No Additional License Requirement Only for direct inserts Compression Not Maintained with updates and normal inserts Had to re-org table to re-compress over time.
Compression
What can compression accomplish?
Shrink size of tables? Shrink Size of indexes? Improve buffer cache utilization? Improve I/O disk visits? Improve performance?
What can we do
Reduce Size of Existing?
Can we get a 10%, 20%, 30% reduction?
Can we do all this without adding significant management overhead to the DBA?
Ref Partitioning
Examine Space Impact of Partitioning
Show disk space impact partitioned and unpartitioned.
Elapsed: 00:00:00.93
* PIO - from 1967 to 1630 / 17% Improvement LIO from 1964 to 1621 / 17% Improvement
Interval Partitioning
Examine Space Impact of Partitioning
Show disk space impact partitioned and unpartitioned.
Elapsed: 00:00:03.37
..
Elapsed: 00:00:01.57 * 3.37 to 1.57 / 53% Improvement
Negative
Increased the size of the table
Improve Performance
Compress tables to reduce I/O read operations
Partitioning Conclusions
Partitioning can improve I/O utilization Partitioning can improve performance Partitioning increases space utilization Compression reduces space utilization Compression can improve performance Compression with partitioning can improve performance more then either of them alone and can reduce space utilization. Interval Partitioning and Ref Partitioning reduces maintenance impact for partitioning
Questions/Discussion
THANK YOU