mdbx: set basic size of PN-lists to 2^24 for large TXN.

Change-Id: I6bc293d8940166da7df0a291fed8b5db794db9b9
This commit is contained in:
Leonid Yuriev 2018-08-18 15:49:36 +03:00
parent 0f63ab0385
commit 0797ae2270

View File

@ -506,7 +506,7 @@ typedef MDBX_ID2 *MDBX_ID2L;
/* PNL sizes - likely should be even bigger
* limiting factors: sizeof(pgno_t), thread stack size */
#define MDBX_PNL_LOGN 16 /* DB_SIZE is 2^16, UM_SIZE is 2^17 */
#define MDBX_PNL_LOGN 24 /* DB_SIZE is 2^16, UM_SIZE is 2^17 */
#define MDBX_PNL_DB_SIZE (1 << MDBX_PNL_LOGN)
#define MDBX_PNL_UM_SIZE (1 << (MDBX_PNL_LOGN + 1))