Performance Tuning

You can control most performance issues by using Environment tag group tags that are related to memory usage. Placing these tags in your control file allows you to manage the following aspects of memory usage:

Single document buffer controlled by the <SINGLEBUFFER> tag

Document sort buffer controlled by the <DOCBUFFER> tag

Temporary document storage buffer controlled by the <IO>, <FILEBUFFER>, and <MAXFILEBUFFERS> tags

Mainframe Hiperspace controlled by the <IO>, <HIPERMAX>, and <HIPERTRANSFER> tags

These features are discussed in detail below. To determine the appropriate settings for these tags, look at the Enrichment report that is generated when you run your application. The Enrichment report will tell you how much memory was used. You can optimize performance by setting the initial memory block sizes to the reported levels using appropriate the Environment tag group tags.

Note: Enrichment applications require enough memory to hold both the program and the contents of a single document. The Enrichment program and standard data elements typically require 5 to 6 MB of memory.

The following diagram illustrates memory usage.

Note: On mainframe systems, Enrichment can run above or below the 16 MB line.