Blocksizes and TDB.
rusty at rustcorp.com.au
Tue Dec 20 17:30:41 MST 2011
On Tue, 20 Dec 2011 11:21:43 -0500, Ira Cooper <samba at ira.wakeful.net> wrote:
Non-text part: multipart/alternative
> All of this was done to a copy of locking.tdb, do NOT run tdbtool against a
> tdb being used, for those playing along at home.
> # ls -la locking.tdb
> -rw-r--r-- 1 root root 2294702080 Dec 20 10:32 locking.tdb
> # echo free | tdbtool locking.tdb | wc -l
> 2 million element free list.
'tdbtool info' will give you more details, BTW. It now uses
tdb_summary, which I wrote because I was trying to get a feel for the
tdb usage in real life.
> # echo list | tdbtool locking.tdb | grep magic | grep magic=0x26011999 | wc
> 7k records in use, on a database using no transactions. I doubt I'm
> looking at the same issue. The machine has been up 6 months now. So we'll
> see how it does.
Yes, this is a different issue. Just weird that the two crossed my
awareness within a day of each other.
What a mess! I'll look at coalescing code today...
More information about the samba-technical