Support EXPLAIN for DDL #8429
Labels
sig/sql-infra
SIG: SQL Infra
type/enhancement
The issue or PR belongs to an enhancement.
type/feature-request
Categorizes issue or PR as related to a new feature.
Feature Request
Is your feature request related to a problem? Please describe:
Describe the feature you'd like:
TiDB's DDL has two major algorithms, which (using MySQL terminology) I will call
INSTANT
andINPLACE
. Currently, it is impossible to sight-check a DDL query and tell which one will be used.While not supported in MySQL, the TiDB EXPLAIN format already differs from MySQL. I think it would be a useful extension to permit
EXPLAIN
for DDL. The information I am looking for is:Describe alternatives you've considered:
This has some relation to #8428
Teachability, Documentation, Adoption, Migration Strategy:
Output is relatively simple, but would need to be documented.
The text was updated successfully, but these errors were encountered: