12.11 Local buffers

Local buffers are maintained in the process private memory and are used for input/output of data that is stored in an RDAREA on disk. The types of local buffers are as follows:

Local buffers are defined for each UAP in the UAP environment definition. By allocating a dedicated local buffer to a UAP, it is possible to avoid global buffer contention with other UAPs or waiting for buffer locks. For details about UAP environment definition, see the manual HiRDB Version 8 System Definition.

You should define local buffers when both of the following conditions apply:

Because a UAP with an enduring connection to HiRDB has a large influence on the system (memory pressure, process contention, etc.), definition of local buffers in such a case is not appropriate.

Organization of this section
12.11.1 Allocating index local buffers
12.11.2 Allocating data local buffers
12.11.3 Allocating local buffers
12.11.4 Considerations about local buffers