3.4.4Database attributes under cn=database, cn=monitor, cn=ldbm database, cn=plugins, cn=config

The attributes in this tree node entry are all read-only, database performance counters. All the values for these attributes are 32-bit integers, except for entrycachehits, entrycachetries, currententrycachesize, and maxentrycachesize.

If the nsslapd-countersattribute in cn=config is set to off, then the 64-bit counters are not maintainted.

nsslapd-db-abort-rateThis attribute shows the number of transactions that have been aborted. nsslapd-db-active-txnsThis attribute shows the number of transactions that are currently active. nsslapd-db-cache-hitThis attribute shows the requested pages found in the cache. nsslapd-db-cache-tryThis attribute shows the total cache lookups.

nsslapd-db-cache-region-wait-rateThis attribute shows the number of times that a thread of control was forced to wait before obtaining the region lock.

nsslapd-db-cache-size-bytesThis attribute shows the total cache size in bytes. nsslapd-db-clean-pagesThis attribute shows the clean pages currently in the cache.

nsslapd-db-commit-rateThis attribute shows the number of transactions that have been committed.

nsslapd-db-deadlock-rateThis attribute shows the number of deadlocks detected. nsslapd-db-dirty-pagesThis attribute shows the dirty pages currently in the cache. nsslapd-db-hash-bucketsThis attribute shows the number of hash buckets in buffer hash table.

nsslapd-db-hash-elements-examine-rateThis attribute shows the total number of hash elements traversed during hash table lookups.

nsslapd-db-hash-search-rateThis attribute shows the total number of buffer hash table lookups.

nsslapd-db-lock-conflictsThis attribute shows the total number of locks not immediately available due to conflicts.

nsslapd-db-lock-region-wait-rateThis attribute shows the number of times that a thread of control was forced to wait before obtaining the region lock.

nsslapd-db-lock-request-rateThis attribute shows the total number of locks requested. nsslapd-db-lockersThis attribute shows the number of current lockers.

nsslapd-db-log-bytes-since-checkpointThis attribute shows the number of bytes written to this log since the last checkpoint.

nsslapd-db-log-region-wait-rateThis attribute shows the number of times that a thread of control was forced to wait before obtaining the region lock.

nsslapd-db-log-write-rateThis attribute shows the number of megabytes and bytes written to this log.

nsslapd-db-longest-chain-lengthThis attribute shows the longest chain ever encountered in buffer hash table lookups.

nsslapd-db-page-create-rateThis attribute shows the pages created in the cache. nsslapd-db-page-read-rateThis attribute shows the pages read into the cache. nsslapd-db-page-ro-evict-rateThis attribute shows the clean pages forced from the cache. nsslapd-db-page-rw-evict-rateThis attribute shows the dirty pages forced from the cache.

nsslapd-db-page-trickle-rateThis attribute shows the dirty pages written using the memp_trickle interface.

nsslapd-db-page-write-rateThis attribute shows the pages read into the cache.

3.4 Database plug-in attributes 147