Back to Search
Dossier
数据库的查询优化方法与相关产品
InventionUnknown
10Claims · 2 independent
§ Ⅰ
Dossier Overview
Inventor
邱扬帆; 徐登峰
Filing Date
Aug 19, 2026
Publication Date
Oct 27, 2026
IPC Classification
G06F 16/2453 (2019.01)G06F 16/242 (2019.01)G06F 16/2455 (2019.01)G06F 16/22 (2019.01)
本发明提供了一种数据库的查询优化方法与相关产品。其中上述方法包括:获取包含存在性谓词的查询语句;对查询语句中的子查询进行静态模式分析,判断子查询的返回行数是否具有编译期确定性;若判定子查询的返回行数为必然返回零行,将存在性谓词折叠为指示否定的布尔常量;若判定子查询的返回行数为必然返回非零行,将存在性谓词折叠为指示肯定的布尔常量;跳过对子查询所涉及的数据表的扫描操作,并基于折叠后的布尔常量的查询语句生成查询计划并执行查询。本发明的方案能够在内部表数据量较大时,节省大量系统资源,优化了查询时间。
Sign in to read the full text
Claim 1 is shown. Create a free account to read all 10 claims, the full description, all drawings, translations and legal status.
- All claims
- Technical field
- Background
- Summary
- Drawing descriptions
- Detailed description
External Resources