pingcap/tidb

UCP: Persist statement summary tables on disk

Open

#14.888 aperta il 21 feb 2020

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Go (6186 fork)batch import
component/infoschemahelp wantedtype/enhancement

Metriche repository

Star
 (40.090 star)
Metriche merge PR
 (Merge medio 14g 4h) (346 PR mergiate in 30 g)

Descrizione

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

Guida contributor