help wantedsig/transactiontype/enhancement
Repository-Metriken
- Stars
- (40.090 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 14T 4h) (346 gemergte PRs in 30 T)
Beschreibung
Enhancement
create table t1(id1 int, id2 int, id3 int, PRIMARY KEY(id1), UNIQUE KEY udx_id2 (id2));
SELECT id2 FROM t1 WHERE id2 = 1
The point-get statement above used covered index udx_id2 , but TiDB still needs to get the row data. In fact, we should remove this step.