IBM 000-8697 Manuale Utente

Pagina di 702
Operating OnLine
3-93
Change the Size of Either Log Buffer
From DB-Monitor
1.
From within
DB-M
onitor, select the Parameters menu, Shared-
Memory option to change the number of page buffers in the shared-
memory pool. Change the value in the field
Max # of Buffers
.
2.
Reinitialize shared memory (take OnLine offline and then to
quiescent mode) for the change to take effect.
From the Command Line
1.
To change the value of
BUFFERS
 from the command line, use an
editor to edit the file specified by $
INFORMIXDIR
/etc/$
TBCONFIG
.
2.
Change the value of
BUFFERS
. Reinitialize shared memory (take
OnLine offline and then to quiescent mode) for the change to take
effect.
Change the Size of Either Log Buffer
This section provides instructions for changing the size of either the three
logical log buffers or the two physical log buffers. Refer to
further information about the physical log buffers. Refer to
 for
further information about the logical log buffers.
The size of each of the three logical log buffers is specified as
LOGBUFF
in the
configuration file. The size of each of the two physical log buffers is specified
as
PHYSBUFF
.
The buffer size is expressed in kilobytes. The recommended value for both
parameters is 16 pages. The minimum value is one page, although small
buffers can create problems if you are storing records that are larger than the
size of the buffers (for example, blobs in dbspaces).
You can make this change while OnLine is in online mode, but it will not take
effect until you reinitialize shared memory (take OnLine offline and then to
quiescent or online mode).
If you are logged in as user informix, you can make this change from within
DB-M
onitor or from the command line. If you are logged in as root, you must
use the command-line option.