Skip to content

Performance regression if sql.metrics.statement_details.enabled is disabled #106811

@j82w

Description

@j82w

There is a performance regression when disabling sql.metrics.statement_details.enabled. It will see that every execution is the first time the query was executed so it will enabled execution stats collection for all executions. This is a bug caused by always collecting the execution stats of the first time a statement is executed.

Jira issue: CRDB-29724

Metadata

Metadata

Assignees

Labels

A-cluster-observabilityRelated to cluster observabilityC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.v23.1.12

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions