Hi,
I've not been able to take advantage of the prefix compression in
db. I'm using db-2.7.5. The test I did was the following:
I have 500 000 keys (average 8 char long, alphabetical)
I create a brand new database (BTREE)
I insert all of them, appending 10 char at the end of
each key (0000000000)
I create a brand new database (BTREE)
I insert all of them, prepeding 10 char at the end of
each key (0000000000)
Both database roughly have the same size. I tried with 5 000 000
keys using the same method and got databases that also have the
same size.
Am I missing something ? Is it a know bug ? Is the usage pattern
to take advantage of prefix compression different ?
Thanks in advance for your reply,
P.S. If you're interested I can send you the code for the tests.
--
Loic Dachary
ECILA
100 av. du Gal Leclerc
93500 Pantin - France
Tel: 33 1 56 96 09 80, Fax: 33 1 56 96 09 61
e-mail: [EMAIL PROTECTED] URL: http://www.senga.org/
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.