-
Notifications
You must be signed in to change notification settings - Fork 4.1k
sql: reduce log frequency of statistics discarded due to memory limit #110454
Copy link
Copy link
Closed
Labels
A-cluster-observabilityRelated to cluster observabilityRelated to cluster observabilityC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.v23.1.12
Description
Problem:
When the statistics memory limit is hit a log message is emitted. This log
occurs for every transaction. This can cause a flood of messages causing
memory issues, contention, and is not useful at that frequency.
Solution:
Add an internal cluster setting sql.metrcs.discarded_stats_log.interval
to limit how often the log message occurs.
Informs: https://cockroachlabs.atlassian.net/browse/SREOPS-7255
Jira issue: CRDB-31437
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-cluster-observabilityRelated to cluster observabilityRelated to cluster observabilityC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.v23.1.12