Buffer Pool Size (buffpage)

Configuration Type
Database

Parameter Type
Configurable

Default [Range]

UNIX 32-bit platforms
1 000 [ 2 -- 524 288 ]

UNIX 64-bit platforms
1 000 [ 2 -- 2 147 483 647 ]

OS/2 and Windows NT
250 [ 2 -- 524 288 ]

Unit of Measure
Pages

When Allocated
When the first application connects to the database

When Freed
When last application disconnects from the database

Related Parameters

Each database has at least one buffer pool (IBMDEFAULTBP, which is created when the database is created), and can have more. All buffer pools reside in global memory, which is available to all applications using the database. The memory is allocated on the machine where the database is located. If the buffer pools are large enough to keep the required data in memory, less disk activity will occur. Conversely, if the buffer pools are not large enough, the overall performance of the database can be severely curtailed and the database manager can become I/O-bound as a result of a high amount of disk activity (I/O) required to process the data your application requires.

The buffpage parameter controls the size of a buffer pool when the CREATE BUFFERPOOL or ALTER BUFFERPOOL statement was run with NPAGES -1; otherwise, the buffpage parameter is ignored and the buffer pool will be created with the number of pages specified by the NPAGES parameter.

To determine whether the buffpage parameter is active for a buffer pool, do a:

  SELECT * from SYSCAT.BUFFERPOOLS.

Each buffer pool that has an NPAGES value of -1 uses buffpage.

There is a trade-off between the buffer pool size and the memory allocations of other system users. Memory requirements of database servers are so important on multi-user high transaction rate servers, that database servers and file or communication servers are often separated and reside on different machines.

If your queries access nicknames, consider increasing the buffer pool size when:

All buffer pools are allocated when the first application connects to the database, or when the database is explicitly activated. As an application requests data out of the database, pages containing that data are transferred to one of the buffer pools from disk. (Note that database data is stored in pages within the tables on the disk.) Pages are not written back to disk until the page is changed and one of the following occurs:

Recommendations: