Patent · US Active

Caching database query plans that include dynamic conditions

US12405953B1 · kind B1 · utility

0Cited by
6References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateAug 30, 2024
Grant dateSep 2, 2025
Priority date
Expiry dateAug 30, 2044

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F16/24552
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

The present disclosure involves systems, software, and computer implemented methods for managing database query plans with dynamic conditions. One example method includes receiving a request to process a query based on a dynamic condition. In response to determining that a plan cache does not include a cached query plan for the query, query plan compilation is triggered to generate a query plan. In response to determining that a cached query plan exists, for each query view, a condition provider procedure is invoked to generate a first filter string. First filter strings are compared to corresponding second filter strings in the cached plan. In response to determining that a first filter string does not match the corresponding second filter string, query plan compilation is triggered. In response to determining that each filter string matches each corresponding second filter string, the database query is executed using the cached query plan.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.