Hey all, I hacked up a db_stat.c from BDB 3.0.55 to link against libhtdb.a and support zlib WordDB page compression. It does NOT support the Mifluz page compression nor does it pay attention to your htdig.conf.
Here's some documentation from Sleepycat http://www.sleepycat.com/docs/utility/db_stat.html This utility allows you to look at the stats for your WordDB database. Get it here: http://ai.rightnow.com/htdig/ Compile: gcc -o db_stat db_stat.c .libs/libhtdb.a -lz Example Output: [xxx]$ ./db_stat -z -m -d db.words.db 53162 Btree magic number. 7 Btree version number. Flags: 2 Minimum keys per-page. 32768 Underlying database page size. 3 Number of levels in the tree. 7733646 Number of keys in the tree. 17 Number of tree internal pages. 133424 Number of bytes free in tree internal pages (76% ff). 12491 Number of tree leaf pages. 183M Number of bytes free in tree leaf pages (55% ff). 0 Number of tree duplicate pages. 0 Number of bytes free in tree duplicate pages (0% ff). 0 Number of tree overflow pages. 0 Number of bytes free in tree overflow pages (0% ff). 0 Number of pages on the free list. Thanks! Neal Richter Knowledgebase Developer RightNow Technologies, Inc. Customer Service for Every Web Site Office: 406-522-1485 ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ htdig-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/htdig-dev