1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

MCOL-5623 This patch changes the logic applied to save function for EM

This commit is contained in:
Denis Khalikov
2023-12-19 13:59:43 +03:00
committed by Leonid Fedorov
parent 5f07828619
commit d8c53eea57
2 changed files with 28 additions and 8 deletions

View File

@ -1064,6 +1064,7 @@ class ExtentMap : public Undoable
static const constexpr size_t EM_INCREMENT = EM_INCREMENT_ROWS * sizeof(EMEntry);
static const constexpr size_t EM_FREELIST_INITIAL_SIZE = 50 * sizeof(InlineLBIDRange);
static const constexpr size_t EM_FREELIST_INCREMENT = 50 * sizeof(InlineLBIDRange);
static const constexpr size_t EM_SAVE_NUM_PER_BATCH = 1000000;
// RBTree constants.
static const size_t EM_RB_TREE_NODE_SIZE = sizeof(EMEntry) + 8 * sizeof(uint64_t);
static const size_t EM_RB_TREE_EMPTY_SIZE = 1024;