source: branches/port5/ARBDB/adtune.c

Last change on this file was 6143, checked in by westram, 15 years ago
  • backport [6141] (parts changing code, but only strings and comments)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1#include <adtune.h>
2
3const int GBCM_BUFFER               = 8192;        /* The communication buffer size */
4const int GB_REMOTE_HASH_SIZE       = 0x40000;     /* The initial hash size in any client to find the database entry in the server */
5const int GBM_MAX_UNINDEXED_ENTRIES = 64;          /* The maximum number fields with the same key which are not put together in one memory segment */
6
7const int GB_TOTAL_CACHE_SIZE   = 25000000;         /* Initial cache size in bytes */
8const int GB_MAX_CACHED_ENTRIES = 8192;             /* maximum number of cached items (Maximum 32000) */
9
10const int GB_MAX_QUICK_SAVE_INDEX = 99;       /* Maximum extension-index of quick saves (Maximum 99) */
11const int GB_MAX_QUICK_SAVES      = 10;       /* maximum number of quick saves */
12
13const int GB_MAX_LOCAL_SEARCH = 256;           /* Maximum number of children before doing a search in the database server */
14
15const int GBTUM_SHORT_STRING_SIZE = 128;       /* the maximum strlen which is stored in short string format */
16const int GB_HUFFMAN_MIN_SIZE     = 128;       /* min length, before huffmann code is used */
17const int GB_RUNLENGTH_MIN_SIZE   = 64;        /* min length, before runlength code is used */
18
19const int GB_MAX_REDO_CNT  = 10;                   /* maximum number of redos */
20const int GB_MAX_UNDO_CNT  = 100;                  /* maximum number of undos */
21const int GB_MAX_UNDO_SIZE = 1000000;              /* total bytes used for undo*/
Note: See TracBrowser for help on using the repository browser.