pingcap / pingcap/tidb

Support ANALYZE for the plan based RU

Open
#70,454 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
ANALYZE doesn't return any exec details.
We need to fix this for it. Then the main part of the billing is just like Scans.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by tracing how ANALYZE handles plan-based RU and where execution details are produced, then compare that path with Scans; done means ANALYZE returns execution details and its billing behavior covers the same main cases as Scans.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sql
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.