5-4 IBM Informix OnLine Database Server Administrator’s Guide

Disk Layout

Performance-tuning issues are addressed as six topics in this chapter:
When is tuning needed? (page 5-10)
Shared-memory buffers (page5-13)
Shared-memory resources (page5-14)
Log buffer size (page5-15)
Page-cleaner parameters (page 5-17)
Checkpoint frequency (page5-20)
Ifyou are running OnLine on a multiprocessor machine, two multiprocessor-
specific features are available:
Psort parallel-process sorting package (page5-22)
SPINCNT configuration parameter (page 5-24)
Disk Layout
Possiblythe greatest gains in OnLine performance accrue from strategic disk
layout. It is not a simple matter to correct improper or poorly planned disk
layoutafter you have configured and initialized OnLine disk space. For this
reason, disk layout issues are addressed in Chapter 1 as part of your initial
configuration planning. Each time that you create a blobspace or dbspace,
you should review the basic principles described onpage 1-43.
OnLine has an improved method of constructing indexes. Data is sorted
beforethe index is built. The sort uses space in /tmp (all temporary tables and
indexesare build in the root dbspace). The use of /tmp decreases as the index
is built so that, as the index grows, the need for sort space decreases.
Youcan improve performance by strategic placement of the UNIX directories
thatOnLine uses for its intermediate, sort writes. You can define the directory
that should be used for this purpose by defining the environment variable
DBTEMP. IfDBTEMP is not set, OnLine uses the /tmp directory.