pingcap/tidb

UCP: Persist statement summary tables on disk

Open

#14,888 创建于 2020年2月21日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Go (6,186 fork)batch import
component/infoschemahelp wantedtype/enhancement

仓库指标

Star
 (40,090 star)
PR 合并指标
 (平均合并 14天 4小时) (30 天内合并 346 个 PR)

描述

Description

Is your feature request related to a problem? Please describe:

Statement summary tables are memory tables and only provide performance data over recent hours. But in productive environment, we need to query earlier performance data and the data before the server restarts.

Describe the feature you'd like:

Persist statement summary tables on disk periodically. The save interval can't be too short, otherwise it will impact performance.

Describe alternatives you've considered:

  • Provide a tool to extract the data and save it on other places. It's not good because it complicate deployment.
  • Save the data on disks in TiDB server. It's not good because we need to define a customized format.

Score

  • 2996

Mentor

  • @djshow832

Contact the mentors: #tidb-challenge-program channel in TiDB Community Slack Workspace

Recommended Skills

  • Golang programming
  • SQL executor
  • TiDB DDL
  • TiKV Storage
  • MySQL performance schema

Learning Materials

贡献者指南