Table of Contents

Search

  1. Preface
  2. Introduction to Informatica Big Data Management
  3. Connections
  4. Mappings in the Hadoop Environment
  5. Mapping Objects in the Hadoop Environment
  6. Processing Hierarchical Data on the Spark Engine
  7. Stateful Computing on the Spark Engine
  8. Monitoring Mappings in the Hadoop Environment
  9. Mappings in the Native Environment
  10. Profiles
  11. Native Environment Optimization
  12. Data Type Reference
  13. Complex File Data Object Properties
  14. Function Reference
  15. Parameter Reference

Enabling Data Compression on Temporary Staging Tables

Enabling Data Compression on Temporary Staging Tables

To optimize performance when you run a mapping in the Hadoop environment, you can enable data compression on temporary staging tables. When you enable data compression on temporary staging tables, mapping performance might increase.
To enable data compression on temporary staging tables, complete the following steps:
  1. Configure the Hive connection to use the codec class name that the Hadoop cluster uses to enable compression on temporary staging tables.
  2. Configure the Hadoop cluster to enable compression on temporary staging tables.
Hadoop provides following compression libraries for the following compression codec class names:
Compression Library
Codec Class Name
Performance Recommendation
Zlib
org.apache.hadoop.io.compress.DefaultCodec
n/a
Gzip
org.apache.hadoop.io.compress.GzipCodec
n/a
Snappy
org.apache.hadoop.io.compress.SnappyCodec
Recommended for best performance.
Bz2
org.apache.hadoop.io.compress.BZip2Codec
Not recommended. Degrades performance.
LZO
com.hadoop.compression.lzo.LzoCodec
n/a


Updated November 09, 2018