Lazy and demand-driven sql query generation and optimization
AssigneeCisco Technology, Inc.
InventorsAnand Raghavan, Ashish Kundu
Life of this patent
Estimating the term…
Abstract
In one implementation, a device obtains information regarding a database. The device uses, based on the information regarding the database, an artificial intelligence model to generate a set of potential queries that could be processed by the database. The device modifies a query sent for processing by the database based on the set of potential queries, to form a valid query. The device sends the valid query to the database for processing.
Claims20
A method, comprising:
- obtaining, by a device, information regarding a database;
- using, by the device and based on the information regarding the database, an artificial intelligence model to generate a set of potential queries that could be processed by the database;
- modifying, by the device, a query sent for processing by the database based on the set of potential queries, to form a valid query;
- and
- sending, by the device, the valid query to the database for processing.
An apparatus, comprising:
- one or more network interfaces;
- a processor coupled to the one or more network interfaces and configured to execute one or more processes;
- and
- a memory configured to store a process that is executable by the processor, the process when executed configured to:
- obtain information regarding a database;
- use, based on the information regarding the database, an artificial intelligence model to generate a set of potential queries that could be processed by the database;
- modify a query sent for processing by the database based on the set of potential queries, to form a valid query;
- and
- send the valid query to the database for processing.
A tangible, non-transitory, computer-readable medium storing program instructions that cause a device to execute a process comprising:
- obtaining, by the device, information regarding a database;
- using, by the device and based on the information regarding the database, an artificial intelligence model to generate a set of potential queries that could be processed by the database;
- modifying, by the device, a query sent for processing by the database based on the set of potential queries, to form a valid query;
- and
- sending, by the device, the valid query to the database for processing.
Dependencies are inferred from the claim text.