Skip to content

Include storage engine in slow logs and statements summary #61736

Closed

Description

@henrybw

Enhancement

For deployments involving both TiKV and TiFlash, it's not easy to identify the queries from TiFlash in slow query logs, which makes troubleshooting inconvenient for customers and support engineers. Including extra attributes to identify the storage engine in both the statements summary tables and slow query log would help alleviate this issue.

Activity

  1. henrybw commented on Jun 13, 2025

    @henrybw
    ContributorAuthor

    /assign

  2. added a commit that references this issue on Jul 29, 2025
    a53894a
  3. added a commit that references this issue on Aug 10, 2025
    774e00d
  4. JaySon-Huang commented on Nov 27, 2025

    @JaySon-Huang
    Contributor

    I found this field in the slow logs is very useful for identifying the slow queries executing on TiFlash! Hope it could be cherry-pick to release-8.5 branch. /cc @terry1purcell @fixdb

  5. added a commit that references this issue on Dec 4, 2025
    9dbb53e
  6. added a commit that references this issue on Dec 26, 2025
    ab668a8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

affects-8.5This bug affects the 8.5.x(LTS) versions.sig/executionSIG executiontype/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