diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2023-01-20 23:56:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-20 23:56:33 +0200 |
commit | dc9f81ccfe611410f5a710dafcc14c6c9f030aa2 (patch) | |
tree | fe922ca2647abb9def5b903c6e1e2e83c2d59066 /database/rrd.h | |
parent | c036541019018e363f0aa7bd705534baeb015b09 (diff) |
DBENGINE v2 - improvements part 6 (#14299)
* query preparation runs before extent reads
* populate mrg in parallel
* fix formatting warning
* first search for a metric then add it if it does not exist
* Revert "first search for a metric then add it if it does not exist"
This reverts commit 4afa6461fcce859d03f1c9cf56dd3b5933ee5ebc.
* Revert "fix formatting warning"
This reverts commit 49473493f7f1c3399b5635a573d3c6ed2b6e46f3.
* Revert "populate mrg in parallel"
This reverts commit a40166708d4222f6329904f109114c47c44ca666.
* merge journalfiles metrics before committing them to MRG
* Revert "merge journalfiles metrics before committing them to MRG"
This reverts commit 50c8934e23a0a09ea4da80e3f88290e46496ad92.
* Revert "Revert "populate mrg in parallel""
This reverts commit f4c149d2ab7a8c9af24a10f95438a0d662a5cf8a.
* Revert "Revert "fix formatting warning""
This reverts commit 78298ff9efc49806ded029f5f1e868cc42e8f6eb.
* Revert "Revert "first search for a metric then add it if it does not exist""
This reverts commit 997b9c813b290882ba18a8c44bf73f9ee5480adf.
* preload first and last journal files v2
* fix formatting warning
* parallel loading of tiers; cleanup of ctx structures
* use half the cores
* add partitions to metrics registry
* revert accidental change
* parallel processing according to MRG partitions; dont recalculate retention on exit
Diffstat (limited to 'database/rrd.h')
-rw-r--r-- | database/rrd.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/database/rrd.h b/database/rrd.h index 2c4ea95c84..6fd7d6ac4e 100644 --- a/database/rrd.h +++ b/database/rrd.h @@ -45,13 +45,16 @@ typedef enum __attribute__ ((__packed__)) { } QUERY_SOURCE; typedef enum __attribute__ ((__packed__)) storage_priority { - STORAGE_PRIORITY_CRITICAL = 0, + STORAGE_PRIORITY_INTERNAL_DBENGINE = 0, + STORAGE_PRIORITY_INTERNAL_QUERY_PREP, + + // query priorities STORAGE_PRIORITY_HIGH, STORAGE_PRIORITY_NORMAL, STORAGE_PRIORITY_LOW, STORAGE_PRIORITY_BEST_EFFORT, - STORAGE_PRIO_MAX_DONT_USE, + STORAGE_PRIORITY_INTERNAL_MAX_DONT_USE, } STORAGE_PRIORITY; // forward declarations |