diff options
author | Michael Widenius <monty@askmonty.org> | 2010-08-24 21:15:05 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2010-08-24 21:15:05 +0300 |
commit | 31f66e55a8d24f7490cb17b9d12397c104b8bdee (patch) | |
tree | 3c204cabf4236a1608f6e15db06e1d8adcdf5ba3 /include/my_global.h | |
parent | 190ed5a23e9ee96aff31b6f4598294cd9efd9f13 (diff) | |
download | mariadb-git-31f66e55a8d24f7490cb17b9d12397c104b8bdee.tar.gz |
Increase some very old limits.
This will give a smoother experience when using the Aria engine by those that are using default limits
without still causing a notable problem for desktop users.
Diffstat (limited to 'include/my_global.h')
-rw-r--r-- | include/my_global.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/my_global.h b/include/my_global.h index b4579248dfa..18d45e9c462 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -800,9 +800,9 @@ typedef SOCKET_SIZE_TYPE size_socket; /* get memory in huncs */ #define ONCE_ALLOC_INIT (uint) (4096-MALLOC_OVERHEAD) /* Typical record cash */ -#define RECORD_CACHE_SIZE (uint) (64*1024-MALLOC_OVERHEAD) +#define RECORD_CACHE_SIZE (uint) (128*1024-MALLOC_OVERHEAD) /* Typical key cash */ -#define KEY_CACHE_SIZE (uint) (8*1024*1024-MALLOC_OVERHEAD) +#define KEY_CACHE_SIZE (uint) (128L*1024L*1024L-MALLOC_OVERHEAD) /* Default size of a key cache block */ #define KEY_CACHE_BLOCK_SIZE (uint) 1024 |