set_shm_key

Configures the database environment's base segment ID. This base segment ID will be used when Berkeley DB shared memory regions are first created. It will be incremented a small integer value each time a new shared memory region is created; that is, if the base ID is 35, the first shared memory region created will have a segment ID of 35, and the next one will have a segment ID between 36 and 40 or so.

See Shared Memory Regions for more information.

The syntax of the entry in the DB_CONFIG file is a single line with the string set_shm_key one or more whitespace characters, and the ID.

For more information, see DbEnv::set_shm_key() .