revert related threshold for bmsql perf and fix mem monitor

This commit is contained in:
obdev
2024-02-21 04:15:56 +00:00
committed by ob-robot
parent 1b5bd8d4b4
commit e1d63f0600
4 changed files with 14 additions and 12 deletions

View File

@ -281,9 +281,8 @@ private:
AdaptiveMergeReason &merge_reason);
public:
static constexpr int64_t SCHEDULE_META_MERGE_INTERVAL = 120L * 1000L * 1000L; //120s
static constexpr int64_t INC_ROW_COUNT_THRESHOLD = 100L * 1000L; // 10w
static constexpr int64_t TOMBSTONE_ROW_COUNT_THRESHOLD = 30L * 1000L; // 3w
static constexpr int64_t TOMBSTONE_ROW_COUNT_THRESHOLD = 200L * 1000L; // 20w
static constexpr int64_t BASE_ROW_COUNT_THRESHOLD = 10L * 1000L; // 1w
static constexpr int64_t LOAD_DATA_SCENE_THRESHOLD = 70;
static constexpr int64_t TOMBSTONE_SCENE_THRESHOLD = 50;

View File

@ -73,7 +73,7 @@ private:
const int64_t memtable_create_timestamp,
int64_t &adaptive_threshold);
private:
static const int64_t FAST_FREEZE_INTERVAL_US = 120 * 1000 * 1000L; //120s
static const int64_t FAST_FREEZE_INTERVAL_US = 300 * 1000 * 1000L; //300s
static const int64_t PRINT_LOG_INVERVAL = 2 * 60 * 1000 * 1000L; // 2m
static const int64_t TOMBSTONE_DEFAULT_ROW_COUNT = 250000;
static const int64_t TOMBSTONE_MAX_ROW_COUNT = 500000;