Skip to content

Print processed_rows in expensive query logs #51240

@ekexium

Description

@ekexium

Enhancement

For expensive queries, we often care about its progress and ETA.
By printing the number of processed rows (affected rows) in expensive query logs, it's easier to have an estimate of the progress.
The value might be the AffectedRows in StmtCtx.

Metadata

Metadata

Assignees

Labels

good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.type/enhancementThe issue or PR belongs to an enhancement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions