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

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

This commit is contained in:
Denis Khalikov
2023-12-27 09:47:58 +03:00
committed by GitHub
parent 575852d2e0
commit 14882dd617
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;