System and method for managed database query pre-optimization
Abstract
A system and method that manages and pre-optimizes incoming database queries by decomposing queries into component parts, and executing corresponding pre-compiled procedures. A requestor specifies search arguments and/or query options. Middle tier code cooperates with database code by decomposing the query operations into stages, one stage for each specified search argument. To improve performance, the stages are ordered such that the most selective searches are executed first, and if after any stage it is recognized that no results are possible, the search terminates without attempting further stages. As each stage is executed, a list of matching keys is maintained in the database. After completing the stages, the list is sorted as specified and returned to the middle tier, which then retrieves the details for each entity represented in the key list, and formats and returns the results to the client. Relatively complex queries may be submitted without executing ad-hoc queries.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 20.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
In a computing environment, a method comprising: receiving a query comprising a plurality of search arguments; mapping the query to a plurality of pre-compiled procedures that correspond to the plurality of search arguments; executing a plurality of primitive searches of a database using the pre-compiled procedures; obtaining a list of keys from the execution of the plurality of primitive searches; and executing at least one database operation using data in the list of keys to retrieve results.
- Claim 2Depends on #1
The method of claim 1 further comprising returning the results in response to the query.
- Claim 3Depends on #1
The method of claim 1 further comprising validating the query.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗