* feat(1.x,file_store): port metrics for merge work This commit ports metrics around merging tsm blocks when executing a query. These will appear in EXPLAN ANALYZE results. The new information records the time spent merging blocks, the number of blocks merged, roughly the number of values merged into the first block of each ReadBlock call, and the number of times that single calls to ReadBlock have more than 4 block merges. The multiblock merge is sequential and might benefit from a tree merge algorithm. The latter stat helps identify if the engineering effort would be fruitful. * closes #26614 * chore: switch to a timer for duration printing of times * chore: rename method * fix: avoid race and use new atomic primitive |
||
---|---|---|
.. | ||
binaryutil | ||
bloom | ||
bytesutil | ||
data | ||
deep | ||
encoding/simple8b | ||
errors | ||
escape | ||
estimator | ||
file | ||
limiter | ||
metrics | ||
mmap | ||
pool | ||
pprofutil | ||
radix | ||
reporthelper | ||
rhh | ||
slices | ||
snowflake | ||
tar | ||
testing/assert | ||
testttp | ||
tlsconfig | ||
tracing | ||
README.md |
README.md
pkg/ is a collection of utility packages used by the InfluxDB project without being specific to its internals.
Utility packages are kept separate from the InfluxDB core codebase to keep it as small and concise as possible. If some utilities grow larger and their APIs stabilize, they may be moved to their own repository under the InfluxDB organization, to facilitate re-use by other projects. However that is not the priority.
Because utility packages are small and neatly separated from the rest of the codebase, they are a good place to start for aspiring maintainers and contributors. Get in touch if you want to help maintain them!