0% found this document useful (0 votes)
348 views

Oracle Advanced Compression Advisor

The document discusses Oracle's Advanced Compression Advisor which estimates compression ratios that can be achieved using OLTP Table Compression. It provides an overview of the tool and how it can be used to analyze sample data to estimate compression for Oracle Database versions 9i through 11g Release 1 using the DBMS_COMP_ADVISOR package or for 11g Release 2 using the DBMS_COMPRESSION package. The advisor runs the getratio procedure to sample a given table, specify a sampling percentage, and return an estimated compression ratio.

Uploaded by

Shuang Zhao
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
348 views

Oracle Advanced Compression Advisor

The document discusses Oracle's Advanced Compression Advisor which estimates compression ratios that can be achieved using OLTP Table Compression. It provides an overview of the tool and how it can be used to analyze sample data to estimate compression for Oracle Database versions 9i through 11g Release 1 using the DBMS_COMP_ADVISOR package or for 11g Release 2 using the DBMS_COMPRESSION package. The advisor runs the getratio procedure to sample a given table, specify a sampling percentage, and return an estimated compression ratio.

Uploaded by

Shuang Zhao
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

6/12/13

Oracle Advanced Compression Advisor


Sign In/Register for Account Help Select Country/Region Communities I am a... I w ant to... Search

PRODUCTS AND SERVICES Oracle Technology Network

SOLUTIONS Database

DOWNLOADS Database Options

STORE

SUPPORT

TRAINING

PARTNERS

ABOUT

Oracle Technology Netw ork

Advanced Compression

Database 11g Application Development Big Data Data Warehousing Database Cloud Engineered Systems High Availability Manageability Performance Security Storage Management Unstructured Data Window s

Oracle Advanced Compression Advisor


Overview Oracle Advanced Compression Advisor provides an estimate of the compression ratio that can be realized through the use of the OLTP Table Compression feature (part of Advanced Compression Option). This estimate is based on analysis of a sample of data and provides a good estimate of the actual results you may obtain once you implement the OLTP Table compression feature in your environment. The Compression Advisor package you use is dependent upon which Oracle Database release you currently have deployed. Those customers that want to use Compression Advisor with Oracle Database 9i Release 2 through Oracle Database 11g Release 1 will use the DBMS_COMP_ADVISOR package available for download below. Customers that want to use Compression Advisor with Oracle Database 11g Release 2 will use the DBMS_COMPRESSION package that is included with the database.

Download Compression Advisor

Learn more about Oracle Advanced Compression

This package can be used on Oracle Databases running Oracle Database 9i Release 2 through 11g Release 1. A compression advisor (DBMS_COMPRESSION) comes packaged with Oracle Datab ase 11g Release 2. Using Compression Advisor

This procedure can be used with Oracle Database 9i Release 2 through Oracle Database 11g Release 1. Running this procedure will create tables in the default tablespace of the user running the procedure. While these tables will get dropped at the end of the procedure they will consume space while the procedure runs. Oracle recommends creating a tablespace specifically for storing these tables and assigning it as the default tablespace to the user running the procedure. The DBMS_COMP_ADVISOR advisor package is only available as a free download. Compression Advisor consists of the DBMS_COMP_ADVISOR package containing the following procedure: getratio( ownername IN varchar2, tabname IN varchar2, sampling_percent IN number ); where - 'ownername' is the schema that the table belongs to - 'tabname' is name of the table for which compression ratio is to be estimated - 'sampling_percent' is any value between 0.000001 and 99 The output of this procedure is the estimated compression ratio. Example: SQL> set serveroutput on SQL> exec dbms_comp_advisor.getratio('SH','SALES',10); Sampling table: SH.SALES Sampling percentage: 10% Expected Compression ratio with Advanced Compression Option: 2.96 PL/SQL procedure successfully completed.

Popular Downloads Berkeley DB Enterprise Manager Database EE and XE Developer VMs Enterprise Pack for Eclipse Java JDeveloper and ADF

www.oracle.com/technetwork/database/options/compression/compression-advisor-095705.html

1/2

6/12/13

Oracle Advanced Compression Advisor

JDeveloper and ADF Oracle Linux and Oracle VM MySQL NetBeans IDE NoSQL Database Solaris SQL Developer VirtualBox WebLogic Server More Database Downloads Database Express Edition Database Instant Client Database Mobile Server JDBC Drivers SQL Developer Data Modeler TimesTen In-Memory Database VM Templates for Database .NET Data Access Components

E-mail this page

Printer View

ORACLE CLOUD Learn About Oracle Cloud Get a Free Trial Learn About PaaS Learn About SaaS Learn About IaaS

JAVA Learn About Java Download Java for Consumers Download Java for Developers Java Resources for Developers Java Cloud Service Java Magazine

CUSTOMER AND EVENTS Explore and Read Customer Stories All Oracle Events Oracle OpenWorld JavaOne

COMMUNITIES Blogs Discussion Forums Wikis Oracle ACEs User Groups Social Media Channels

SERVICES AND STORE Log In to My Oracle Support Training and Certification Become a Partner Find a Partner Solution Purchase from the Oracle Store CONTACT AND CHAT Global Contacts Oracle Support Phone: 800-633-0738

Subscribe Careers Contact Us Site Maps Legal Notices Terms of Use Privacy Cookie Preferences

www.oracle.com/technetwork/database/options/compression/compression-advisor-095705.html

2/2

You might also like