1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

feat(brm): MCOL-5623 This patch changes the logic applied to save function for EM (#3076)

This commit is contained in:
Denis Khalikov
2023-12-27 09:48:29 +03:00
committed by GitHub
parent 7ca4b9da32
commit 318db3ef84
2 changed files with 28 additions and 8 deletions

View File

@ -1061,6 +1061,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;