New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update statistics to address slow queries #16838
Merged
Merged
Conversation
This file contains 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
stelfrag
force-pushed
the
health_log_index
branch
from
January 26, 2024 11:01
bce049b
to
c3d51c8
Compare
This pull request has been mentioned on Netdata Community Forums. There might be relevant details there: https://community.netdata.cloud/t/high-cpu-use-of-netdata/5087/7 |
Add analyze option -W sqlite-analyze
Fix previous migration v14 -> v15 typo
stelfrag
force-pushed
the
health_log_index
branch
from
January 29, 2024 07:29
5e33b37
to
b5b3519
Compare
stelfrag
added a commit
to stelfrag/netdata
that referenced
this pull request
Feb 12, 2024
* Run analyze on aclk_alert tables Add analyze option -W sqlite-analyze * Remove empty line * Remove analyze during runtime * Remove health_log_entries_written * Replace index * Remove forced index skip * Change version and run database analyze * Adjust analyze to run on specific tables Fix previous migration v14 -> v15 typo * Fix v15 -> v16 migration message * Fix v15 -> v16 migration message (typo) * Increase analysis limit (cherry picked from commit 0398c6c)
Merged
tkatsoulas
pushed a commit
that referenced
this pull request
Feb 12, 2024
* Run analyze on aclk_alert tables Add analyze option -W sqlite-analyze * Remove empty line * Remove analyze during runtime * Remove health_log_entries_written * Replace index * Remove forced index skip * Change version and run database analyze * Adjust analyze to run on specific tables Fix previous migration v14 -> v15 typo * Fix v15 -> v16 migration message * Fix v15 -> v16 migration message (typo) * Increase analysis limit (cherry picked from commit 0398c6c)
bmwiedemann
pushed a commit
to bmwiedemann/openSUSE
that referenced
this pull request
Mar 17, 2024
https://build.opensuse.org/request/show/1158803 by user mia + anag+factory - Update to 1.44.3 (go.d.plugin 0.58.1) See https://github.com/netdata/go.d.plugin/tree/v0.58.1 and https://github.com/netdata/go.d.plugin/tree/v0.58.0 * Improved handling of slow queries and CPU usage of the ACLKSYNC thread. gh#netdata/netdata#16838 * Improved error handling for listen bind failures. Instead of terminating fatally, Netdata now exits gracefully. gh#netdata/netdata#16937 * Fixed invalid alert durations in health log entries. gh#netdata/netdata#16931 * Fixed a race condition during analytics data setup, preventing potential Netdata crashes. gh#netdata/netdata#16929 * - Changes in 1.44.2 * Fixed an inconsistency where the NETDATA_LOG_LEVEL environment variable did not affect log level in Docker containers. gh#netdata/netdata#
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.
Summary
Part 1 of addressing slow queries and high CPU usage by the ACLKSYNC thread
netdata -W sqlite-analyze
Fixes #16818