Справочник Пользователя для IBM 000-8697

Скачать
Страница из 702
3-96
IBM Informix OnLine Database Server Administrator’s Guide
Change the Maximum Number of Chunks
From the Command Line
From the command line, execute the tbspaces utility with the following
options and parameters:
All options and parameters except -o and -m are required. The following
example adds a mirrored chunk to blobsp3. An offset of 200 KB is specified.
tbspaces -a blobsp3 -p /dev/rsd0d -o 200 -s 100000
 -m /dev/rsd8a 200
Change the Maximum Number of Chunks
This section provides instructions for changing the maximum number of
chunks that are permitted by OnLine. The maximum number of chunks is
specified as
CHUNKS
 in the configuration file.
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).
The maximum number of chunks that can exist might be system-specific
since it depends on the length of your chunk names or the maximum number
of open files per process. (Refer to
 for further information about
this limit.)
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.
-a space_name
specifies a chunk is to be added. The -a option is followed by
either a blobspace name or a dbspace name, indicating the
space to which the chunk is added.
-p pathname
specifies the explicit pathname of a chunk, either a raw
device or a
UNIX
 file.
-o offset
specifies the raw device offset in kilobytes, if appropriate.
-s size
specifies the chunk size, in kilobytes.
-m
indicates chunk mirroring and is followed by both a
pathname and offset, if appropriate, for the mirror chunk.