Repository navigation
Document datapoint chunk interval and compression metrics - #214
Open
richturner wants to merge 1 commit into
Open
richturner wants to merge 1 commit into
richturner wants to merge 1 commit into
Conversation
Document OR_DATA_POINTS_CHUNK_INTERVAL_DAYS with chunk sizing guidelines, the 1 day columnstore compress_after, the daily purge and the new chunk sizing query-exporter metrics (openremote/core#3620).
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the changes in openremote/core#3620. Merge this after that PR.
Changes
Developer guide: System administration, Database
asset_datapointchunks work: the chunk being written stays uncompressed, and each chunk is compressed 1 day after it ends.OR_DATA_POINTS_CHUNK_INTERVAL_DAYSsetting, applied at startup to new chunks only.shared_buffers; every chunk adds planning and lock cost; small chunks compress less well.OR_DATA_POINTS_CHUNK_INTERVAL_DAYSrather than callingset_chunk_time_interval()by hand.pg_datapoint_chunk_memory_ratio,pg_datapoint_chunks_needing_compression,pg_datapoint_uncompressed_chunk_countandpg_datapoint_chunk_count, and updated the note onpg_datapoint_largest_uncompressed_chunk.User guide: Metrics
pg_datapoint_chunk_interval_days,pg_datapoint_write_rate_per_day,pg_datapoint_projected_chunk_sizeandpg_datapoint_chunk_memory_ratio.pg_datapoint_chunks_needing_compressiondescription.Versioned docs are unchanged because they describe released versions.