Converting union commands to union all commands
Abstract
In one aspect, a method is provided. The method includes: (1) identifying in a query of a database a union command involving data in the database that is mutually exclusive; and (2) changing the union command to a union all command.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 1.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
A method, comprising: identifying, in a query of a database, a union command involving data that includes a first data set and a second data set wherein the first data set and the second data set are mutually exclusive; and improving performance of the query by changing the union command to a union all command, wherein identifying a union command includes determining whether a definition of the data in the first data set excludes data in the second data set and determining whether the data includes a constraint for a predicate where the data is exclusive.
- Claim 2Depends on #1
The method of claim 1 , wherein the identifying in the query of the database the union command involving data in the database that is mutually exclusive comprises identifying a union command involving data from a partitioned file.
- Claim 3Independent Claim
The method
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,628,416 B2 | Enhanced database query processing | 2020 | 0 |
References Cited — Backward Prior Art (11)
Non-Patent Literature (1)
- Oracle SQL Second Edition 2003 Pearson Education, Inc.