Hello,
Playing around with moving from 2.4.59 hdb to 2.5.7 mdb. According to the admin page, one of the changes is adding olcDbMaxSize.
Noticed that the default on 2.5.7 is: (1GB) olcDbMaxSize: 1073741824
My db does not come close to that but was curious how one can determine what the db size is currently ?
Do you ls -h the /var/symas/openldap-data/data.mdb file ?
Thank you, Dave
Dave Macias wrote:
Hello,
Playing around with moving from 2.4.59 hdb to 2.5.7 mdb. According to the admin page, one of the changes is adding olcDbMaxSize.
Noticed that the default on 2.5.7 is: (1GB) olcDbMaxSize: 1073741824
My db does not come close to that but was curious how one can determine what the db size is currently ?
Current size is irrelevant. Maxsize is the maximum you want to allow the DB to grow. This should be the amount of free space on the filesystem, minus any space you want to leave for other applications.
--On Friday, August 27, 2021 6:27 PM +0100 Howard Chu hyc@symas.com wrote:
My db does not come close to that but was curious how one can determine what the db size is currently ?
Current size is irrelevant. Maxsize is the maximum you want to allow the DB to grow. This should be the amount of free space on the filesystem, minus any space you want to leave for other applications.
This is why the man page literally says to set it to as large of a value as possible.
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
openldap-technical@openldap.org