Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Oracle Compression

Oracle Compression

Ratings: (0)|Views: 799|Likes:
Published by doyenblog
This Document gives you a idea and step to create compressed table using the 11gr2 new Advanced compressed technology.
This Document gives you a idea and step to create compressed table using the 11gr2 new Advanced compressed technology.

More info:

Published by: doyenblog on Apr 11, 2013
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less





Oracle Compression
The Oracle Database 11g Advanced Compression Option introduces acomprehensive set of compression capabilities to help customers maximize resourceutilization and reduce costs. It allows IT administrators to significantly reduce their overall database storage footprint by enabling compression for all types of data
beit relational (table), unstructured (file), or backup data. Although storage cost savingsare often seen as the most tangible benefit of compression, innovative technologiesincluded in the Advanced Compression Option are designed to reduce resourcerequirements and technology costs for all components of your IT infrastructure,including memory and network bandwidth.Note:The Oracle 11g Advanced Compression Option is licensed separately from theRDBMS Enterprise Edition. Please see the licensing documentation referenced at theend of this note.
The oracle compression feature compresses data by eliminating duplicatevalues in a database block. Compressed data stored in a database block (alsoknown as disk page) is self-contained. That is, all the information needed to re-create the uncompressed data in a block is available within that block. Duplicatevalues in all the rows and columns in a block are stored once at the beginning of the block, in what is called a symbol table for that block. All occurrences of suchvalues are replaced with a short reference to the symbol table. With the exceptionof a symbol table at the beginning, compressed database blocks look very much likeregular database blocks. All database features and functions that work on regular database blocks also work on compressed database blocks. Existing data in thedatabase can also be compressed by moving it into compressed form through ALTERTABLE and MOVE statements. This operation takes an exclusive lock on the table,and therefore prevents any updates and loads until it completes.
Compression Operation:
what would happen when inserting into block that is part of a compressed table,the cycle would be like :
The block is empty and available for inserts. When you start inserting into this block, data is stored in an uncompressed format (like for uncompressed tables). However, as soon as you reach the PCTFREE of that block, the data is automatically compressed, potentially reducing the space it originally occupied.
This allows for new uncompressed inserts to take place in the same block, until PCTFREE isreached again. At that point 
compression is triggered again to reduce space occupation inthe block.
Note:Compression eliminates holes created due to deletions and maximizes contiguous free space in blocks.
Compression Method:
Database objects that can be compressed include tables, materialized views, partitioned tables( some or all partitions can be compressed) .

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->