强烈建议尽快完成全局二级索引，有需求的请盖楼！

ShawnYan
Fri, 25 Aug 2023 04:06:21 +0000

有需求的大佬可以来这点个赞

github.com/pingcap/tidb

Global Index for partitioned tables

已打开 10:45AM - 03 Jul 23 UTC

已关闭 01:31PM - 19 Dec 24 UTC

mjonss

type/enhancement component/tablepartition

## Enhancement Development tasks for: Make GLOBAL INDEX General Available … Stage 1 - full implementation, but Experimental - [x] #48825 - Add tests for all index access plans. Create issues for handling the index access plans currently not supporting Global indexes (first disable the specific plan, then add support). - [x] memIndexReader and IndexReader https://github.com/pingcap/tidb/pull/52660 - [x] memIndexLookUp and IndexLookUp - [x] memIndexMerge and IndexMerge https://github.com/pingcap/tidb/pull/52971 - [x] pointGet and batchPointGet - Tests - [ ] Add tests for all write transactions (select lock, commit, rollback, different transaction modes, different transaction levels) * (insert, update, delete, select for update, single/multi statement transaction). - DDL - ~~[ ] Support in EXCHANGE PARTITION? #54056~~ Will not support EXCHANGE PARTITION for Global Index, will cause too long state where double writing is needed. Better to add support for CONVERT PARTITION/TABLE instead, possibly later. - [x] Support in REORGANIZE PARTITION #53277 - [x] Support in TRUNCATE PARTITION #55831 - [x] Support in DROP PARTITION ? + #56082 - Admin - [x] #53439 - [x] #53019 - Miscs - [x] #53342 - [x] #55452 #56028 Stage 2 - Stabilise / General Available - [x] Add docs https://github.com/pingcap/docs/pull/18543 - [ ] Fix reported bugs - [x] Adjust syntax if needed https://github.com/pingcap/tidb/pull/55259 - [ ] Add more tests if needed - [x] https://github.com/pingcap/tidb/pull/57493 - [x] #57623 - [ ] https://github.com/pingcap/tiflow/pull/11651 - [x] Enable by default and remove experimental flag #56169 Optional / future enhancements - [x] Change syntax, to enable (default) LOCAL index, and (explicit) GLOBAL index, #52994 - [x] Consider path is global index path or not in `skylinePruning` function, let user easier to select global index. #56196

阅读完整话题