Query union and split
Abstract
An example method of processing a plurality of queries includes determining, at a database driver, that a first query and a second query are similar. The first query is sent from a first execution thread executing in an application server. The method also includes generating, at the database driver, a union query based on the first and second queries. The method further includes submitting the union query to a database that stores database tables from which data is selected based on the first and second queries. The method also includes receiving a combined result set of the union query from the database and submitting the first query against the combined result set. The method further includes receiving, at the database driver, a first result set of the first query in response to submitting the first query against the combined result set.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of processing a plurality of queries, comprising: determining, at a database driver, whether a first query and a second query are similar, the first query being sent from a first execution thread executing in an application server, wherein the first and second queries are similar if the first and second queries include a set of common database tables from which to select data; and in response to a determination that the first and second queries are similar: determining a distinct set of conditions included in a conditions clause in the first and second queries; generating, at the data
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (12)
Non-Patent Literature (3)
- Antonio Lupher, Shark: SQL and Analytics with Cost-Based Query Optimization on Course-Grained Distributed Memory, Jan. 13, 2014, 17 pages, Electrical Engineering and Computer Sciences University of California at Berkeley retrieved from http://www.eecs.berkeley.edu/Pubs/TechRpts/2014/EECS-2014-1.pdf
- How to Execute Multiple Select Statements in One Group, Aug. 27, 2013, 5 pages, retrieved from http://www.coderanch.com/t/618735/JDBC/databases/execute-multiple-select-statements-grouphttp://docs.jboss.com/jbossas/clustering/JBossClustering7.pdf on Jan. 8, 2015.
- SQL Optimization Options in Java, 2010, 3 pages, retrieved from http://stackoverflow.com/questions/426110/sql-optimization-options-in-java on Jan. 8, 2015.