[Date Prev][Date Next] [Chronological] [Thread] [Top]

IDL sizes



Can anyone enlighten me on guidelines to IDL sizing and how to determine the number of items in a particular index file?  I found the defaulted values in idl.h associated with a Berkeley DB backend, but I am not sure what those values really mean (per index or total?).  Also with the current size of my DB (id2entry ~ 5Gig) does the default really cover my specific case now or am I encountering performance degradation without realizing it?

idl.h ...
/* IDL sizes - likely should be even bigger
 *   limiting factors: sizeof(ID), thread stack size
 */
#define BDB_IDL_DB_SIZE     (1<<16) /* 64K IDL on disk */
#define BDB_IDL_UM_SIZE     (1<<17) /* 128K IDL in memory */

Current DB files:

-r--r--r--   1 root     other        125 May  6 11:24 DB_CONFIG
-rw-rw----   1 root     other       8192 May 11 15:12 __db.001
-rw-rw----   1 root     other    536870912 May 11 15:12 __db.002
-rw-rw----   1 root     other    2162688 May 10 23:09 __db.003
-rw-rw----   1 root     other    41123840 May 10 22:57 __db.004
-rw-rw----   1 root     other      16384 May 11 15:12 __db.005
-rw-------   1 root     other    1485316096 May 11 15:05 dn2id.bdb
-rw-------   1 root     other    5669765120 May 11 15:05 id2entry.bdb
-rw-r-----   1 root     root     10485698 May 11 15:09 log.0000002492
-rw-r-----   1 root     root     3637324 May 11 15:12 log.0000002493
-rw-------   1 root     other    2236416 May 11 15:05 msgEventDescriptor.bdb
-rw-------   1 root     other    227094528 May 11 15:05 msgEventTimestamp.bdb
-rw-------   1 root     other    150241280 May 11 15:05 msgMessageUID.bdb
-rw-------   1 root     other    151719936 May 11 15:05 msgRecipientAddress.bdb
-rw-------   1 root     other    102699008 May 11 15:05 msgSenderAddress.bdb
-rw-------   1 root     other    3338240 May 11 15:05 msgStatusCode.bdb
-rw-------   1 root     other    36622336 May 11 15:06 msgVMUID.bdb
-rw-------   1 root     other    2023424 May 11 15:05 objectClass.bdb