[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Efficient way to count number of entries in a database?



Hi Quanah,


2017-11-14 16:46 GMT+01:00 Quanah Gibson-Mount <quanah@symas.com>:
mdb_stat -s id2e /path/to/mdb/db | grep Entries
 Entries: 3993833

That's exactly what I needed. Thanks a lot! 

btw for those using debian as well, mdb_stat is in the lmdb-utils package

BR
Karsten