Merged
优化索引扫描性能 #8094
totajAdd on Jul 18, 2025
优化索引扫描性能 #8094
Merged
Pull Request has been successfully merged by opengauss_bot.
(Thank you for totaj's contribution.)Jul 18, 2025 Added label: sig/Community
opengauss_bot
Jul 18, 2025 Comments:
Jul 18, 2025 Comments:
Welcome To openGauss Community
Hey @totaj , thanks for your contribution to the community.
Bot Usage Manual
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.
Contact Guide
If you have any questions, please contact the SIG: Community ,
and any of the committers: @CarrotGo, @chendong76, @chenxiaobin19, @congzhou2603, @dodders, @hwworkholic, @jemappellehc, @libiao2024, @muyulinzhong, @quemingjian, @shenzheng4, @shirley_zhengx, @superlchf, @totaj, @wangfeihuo, @ywzq1161327784, @zhangfengzhi123 .


Jul 18, 2025 Added label: opengauss-cla/yes
Jul 18, 2025 Added label: codecheck-running
125 messages are collapsed here。 See more
opengauss_bot
Jul 19, 2025 Comments:
Jul 19, 2025 Comments:
Jul 19, 2025 Merged pull request, merge node SHA: 894d1d320c7b0544025c3fc842702d51f9033f06
Jul 19, 2025 Merged pull request, merge node SHA: 894d1d320c7b0544025c3fc842702d51f9033f06
Jul 19, 2025 Removed label: codecheck-success
opengauss_bot
Jul 19, 2025 Comments:
Jul 19, 2025 Comments:
opengauss_bot
Jul 19, 2025 Comments:
Jul 19, 2025 Comments:
【标题】(请简要描述下实现的内容)
优化索引扫描性能
【实现内容】:
优化索引扫描性能
【根因分析】:
优化索引扫描性能
【实现方案】:
_bt_check_natts_correct检测索引正确性通过 enable_indexscan_optimization 控制,打开时跳过相关检测【关联需求或issue】:
https://gitcode.com/opengauss/Plugin/issues/1521
【开发自验报告】:
都是较小的优化,减少一些计算和分支判断,对整体性能影响较小,难以通过测试发现提升,故不提供截图
否,小性能优化,对外表现无变化
不涉及
不涉及
不涉及
不涉及
不涉及
不涉及
【其他说明】: