pingcap/tidb

enhance `explain analyze` to show more runtime statistics about each operator

Open

#8,213 opened on Nov 7, 2018

View on GitHub
 (2 comments) (0 reactions) (1 assignee)Go (6,186 forks)batch import
help wantedsig/executiontype/enhancement

Repository metrics

Stars
 (40,090 stars)
PR merge metrics
 (Avg merge 14d 4h) (346 merged PRs in 30d)

Description

With this enhancement, we can identify:

  • the true selectivity for each operator
  • how long it takes to gain the first output record for each operator.

With the help of this kind of information, we can know whether the execution plan is wrong, and how the incorrect or inefficient plan was generated.

Contributor guide