Repository navigation
Functions: optimize large Local MATCH exact-term queries | pd=release-8.5 tikv=release-8.5 tidb=release-8.5 ticdc=release-8.5 - #11173
Conversation
Signed-off-by: Zhigao Tong <tongzhigao@pingcap.com>
|
Skipping CI for Draft Pull Request. |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Signed-off-by: Zhigao Tong <tongzhigao@pingcap.com>
Signed-off-by: Zhigao Tong <tongzhigao@pingcap.com>
|
/retest |
2 similar comments
|
/retest |
|
/retest |
Signed-off-by: Zhigao Tong <tongzhigao@pingcap.com>
063a092 to
71d093c
Compare
|
/hold |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: windtalker, xzhangxian1008 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
Signed-off-by: Zhigao Tong <tongzhigao@pingcap.com>
|
/unhold |
|
/retest |
896f96e
into
pingcap:feature/release-8.5-fts
What problem does this PR solve?
Issue Number: ref #10233
Related: #11111 (base implementation), pingcap/tidb#71839 (pushdown), pingcap/tidb#71397 (v8.5 backport).
Large STANDARD Boolean queries repeatedly compare document tokens with unmatched terms.
What is changed and how it works?
Arena keys and block-local scratch are memory-tracked. SQL/protocol, FULLTEXT metadata, feature gates, and allocator defaults are unchanged.
Check List
Performance
100 absent required terms; 10,000 rows × 1,000 tokens, synthetic ASCII. Baseline
608fb566c3; TiDB7b255e057f; PD/TiKV v8.5.8. Linux Release (RelWithDebInfo), clang 17, four physical cores, one query thread.CI rows: candidate
93a1295995, one pair, three samples per version. Binary rows: production source45db0e5d99(matching merged production files), two AB/BA pairs, five samples per version per epoch. Medians are listed by pair; speedup is the inverse geometric mean of paired C/B ratios. Separate rounds are not pooled.Limits
Follow-up TODOs (separate PRs)
Release note
Summary by CodeRabbit