Hello.
I would like to understand one thing about mdb backend: Current size of /var/lib/ldap is 15 megabytes (~ 10000 entries). After i added to my database 1839 entries on disk directory size becomes 93 megabytes. But when i delete all 1839 entires mdb does not free disk space, my /var/lib/ldap is still 93 megabytes in size.
It does not remove data and just marks it as 'free' meaning that it is reusable for new write operations?
I use mdb from openldap 2.4.33
--On Wednesday, October 16, 2013 11:18 PM +0400 Igor Zinovik zinovik.igor@gmail.com wrote:
It does not remove data and just marks it as 'free' meaning that it is reusable for new write operations?
Correct.
I use mdb from openldap 2.4.33
This version of MDB is not stable and can randomly corrupt at any time. I would highly advise you to upgrade to 2.4.36 before you lose your database.
--Quanah
--
Quanah Gibson-Mount Architect - Server Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
Quanah Gibson-Mount quanah@zimbra.com писал(а) в своём письме Wed, 16 Oct 2013 23:41:57 +0400:
I use mdb from openldap 2.4.33
This version of MDB is not stable and can randomly corrupt at any time. I would highly advise you to upgrade to 2.4.36 before you lose your database.
Well, I today I upgraded all my ldap servers up to 2.4.36, so I hope I will start sleeping better.
But still I would like to know one thing: is MDB backend from 2.4.36 ready for production use? As developer can you say about MDB 2.4.36 following phrases: - Yes, it is ready for production. Howard and I are clearly understanding how code works. - It is rock solid and safe. - I use it on production server and sleep well (though I always have backups of my data)
Or maybe I should rollback to HDB and all its issues (cache tuning, recovery corrupted data files after power loss when slapd cannot start, selecting best malloc implementation for HDB)?
--On Thursday, October 17, 2013 2:06 PM +0400 Igor Zinovik zinovik.igor@gmail.com wrote:
- Yes, it is ready for production. Howard and I are clearly
understanding how code works.
Howard does. ;) I haven't really read the code yet.
- It is rock solid and safe.
I haven't had any issues with mdb since 2.4.35+patches to make it like 2.4.36
- I use it on production server and sleep well (though I always have
backups of my data)
Not only do I use it on my production servers, but so do any of our clients using ZCS8.0.4 or later. I sleep just fine. Backup policy hasn't changed (nightly).
--Quanah
--
Quanah Gibson-Mount Architect - Server Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org