[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Efficient way to count number of entries in a database?
--On Tuesday, November 14, 2017 4:35 PM +0100 Karsten Heymann
<karsten.heymann@gmail.com> wrote:
Currently about 1.5Mio.
If you have access to the system and have mdb_stat available, the easiest
method is to simply query the database directly:
mdb_stat -s id2e /path/to/mdb/db | grep Entries
Entries: 3993833
--Quanah
--
Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>