Beruflich Dokumente
Kultur Dokumente
1. INTRODUCTION
Two key advantages of data compression include:
(a) Less disk space required to physically store the data
(b) Improved throughput when reading or writing to disk
Teradata 13.10 introduced new ways to compress data in the database, bringing to
3 the total approaches possible:
(a) Multi Value Compression (MVC)
(b) Algorithmic Level Compression (ALC)
(c) Block Level Compression (BLC)
This Document focuses on Block Level Compression (BLC) and its enhanced
functionalities introduced in Teradata 14.
2. AUDIENCE
The targeted audience for this document is experienced Teradata Database
administrators, application implementers, and Teradata associates who have a
background in database management and implementation. This Document has
been preapred by referencing several Teradata Guides and Orange Books.
When a row is modified, its entire data block must first be decompressed in
memory. The change is made to the appropriate row, and then the entire data
block is compressed once again. If fallback has been defined on the table, the
fallback copy will also undergo decompression followed by recompression to
accommodate update activity. Because there is overhead associated with these
compression and decompression steps, BLC is typically targeted for tables that are
infrequently accessed and even less frequently changed. These types of tables are
often referred to as cold data.
AUTOCYLPACK
(e)
One side-effect to be aware of is that some tables will be left in a mixed state, with some
of the cylinders compressed, and other cylinders not. This is not necessarily a problem
that needs to be fixed.
10