## Enhancement From https://github.com/pingcap/tidb/pull/45679#issuecomment-1665615858: https://github.com/pingcap/tidb/blob/cf7ae4c3b917f81e43cbb2beab44abf841af52cc/ddl/backfilling.go#L549 > t.IndexPrefix() is the key like t[tableID]_i. If we use t.IndexPrefix().PrefixNext() here, endKey will be t[tableID]_j? > > As a result, we will scan the index records from all indexes.