10.07.2015 Views

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

C H A P T E R 3Hybrid Columnar CompressionHybrid Columnar Compression (HCC) is probably one of the least understood of the features that areunique to <strong>Exadata</strong>. The feature was originally rolled out in a beta version of 11gR2 and was enabled onboth <strong>Exadata</strong> and non-<strong>Exadata</strong> platforms. The production release of 11gR2 restricted the feature to<strong>Exadata</strong> platforms only. Ostensibly this decision was made because the additional processing poweravailable on the <strong>Exadata</strong> storage servers. Because the feature is restricted to <strong>Exadata</strong>, the recentdocumentation refers to it as <strong>Exadata</strong> Hybrid Columnar Compression (EHCC).This chapter will first present basic information on both of <strong>Oracle</strong>’s older row-major formatcompression methods (BASIC and OLTP). We will then explore in detail the mechanics of <strong>Oracle</strong>’s newHCC feature—how it works, including how the data is actually stored on disk, where and when thecompression and decompression occur, and when its use is appropriate. Finally we’ll provide some realworld examples of HCC usage.<strong>Oracle</strong> Storage ReviewAs you probably already know, <strong>Oracle</strong> stores data in a block structure. These blocks are typically 8K andfrom a simplistic point of view they consist of a block header, a row directory, row data and free space.The block header starts at the top of a block and works its way down, while the row data starts at thebottom and works its way up. The free space generally sits in the middle. Figure 3-1 shows arepresentation of a traditional <strong>Oracle</strong> block format.65

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!