Library Version 18.1.40

set_slice_count
Prev | Appendix D. DB_CONFIG Parameter Reference | Next

## set_slice_count

Sets the number of slices to use for a sliced database environment. The value provided here must be a positive integer. However, for any performance benefits to be realized through the use of slices, this value should be greater than 1. For best results, set this value equal to the number of available cores.

The syntax of this parameter in the DB_CONFIG file is a single line with the string `set_slice_count`, one or more whitespace characters, and the number of slices that you want to use.

If slice support is not configured for the database at compile time, then this parameter is ignored. In addition to this parameter, DB handles must be open with the `DB_SLICED` flag in order for the database to be sliced.

If the database environment already exists when this parameter is changed, it is ignored. To change this value after the environment has been created, re-create your environment.

Prev | Up | Next
set_lk_partitions | Home | slice