Status of 64-bit TDB
abartlet at samba.org
Wed Jun 17 00:05:06 GMT 2009
On Tue, 2009-06-16 at 15:35 +0200, Volker Lendecke wrote:
> On Tue, Jun 16, 2009 at 09:21:36AM -0400, yaberger at ca.ibm.com wrote:
> > this might not be the solution for John's problem but I think a TDB
> > defragmenter/shrinker is something that is missing around TDBs.
> > Currently, the only way to reduce the size of a TDB is to stop Samba and
> > delete the non-persistant TDBs.
> You can always do a tdbbackup of the persistent ones.
> > Has it been discussed in the past?
> > Is this something that makes sense and would be doable?
> Sure. It will need to be coded up very carefully though if
> it shall work while the tdb is in use.
For a TDB with transactions in use, that now happens (tridge's recent
patch to have the tdb self-compact when expanding).
It won't reduce the file length, but should reduce the area that is
actually faulted in to future processes.
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20090617/efadbb36/attachment.bin
More information about the samba-technical