Database query method and apparatus, electronic device, and storage medium
By optimizing nested loop joins using caching and dynamic range scans in database queries, the low efficiency of static execution plans and inner table scans is resolved, resulting in more efficient query performance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- JINZHUAN INFORMATION TECHNOLOGY CO LTD
- Filing Date
- 2026-01-23
- Publication Date
- 2026-06-09
AI Technical Summary
Traditional nested loop join algorithms suffer from limitations in static execution plans and low efficiency in scanning inner tables, resulting in poor query performance in database queries.
By storing the target query information set in the cache, it can determine whether the current query object is within the cached range and query the information in the target set, or dynamically calculate the range of the specified query object for range query, replace the information set in the cache, and optimize the query object range using contour histograms and adaptive values.
It improves the efficiency of database queries, reduces the overhead of full table scans, and enhances I/O performance.
Smart Images

Figure CN122173534A_ABST