Query rewrite for pre-joined tables
Abstract
Various aspects of this disclosure are directed to receiving, by a computing device, a first table join query that may include a first group of table identifiers that identify the two or more tables. The computing device may determine whether the first table join query includes an outer join command. When the first table join query includes the outer join command, the computing device may compare the first group of table identifiers and a second group of table identifiers of one or more pre-joined tables to determine whether each of the first table identifiers matches at least one of the second group of table identifiers. The computing device may further determine whether a predicate associated with each table identifier matches a predicate associated with a matching second table identifier. When each of the predicates match, the computing device may rewrite the first table join query.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: receiving, by a computing device, a first table join query to select information from two or more tables of a database, wherein the first table join query comprises a first group of table identifiers that identify the two or more tables; determining, by the computing device, whether the first table join query includes an outer join command; when the first table join query includes the outer join command: comparing, by the computing device, the first group of table identifiers and a second group of table identifiers that identify one or more pre-joined tables to determine w
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,146,822 B1 | Automated script generator for processing storage system data files | 2018 | 9 |
References Cited — Backward Prior Art (4)
Non-Patent Literature (4)
- DB2 Basics-An introduction to materialized query tables, Sep. 2005 (8 pages) http://www.ibm.com/developerworks/data/library/techarticle/dm-0509melnyk/index.htm.
- DB2 Basics—An introduction to materialized query tables, Sep. 2005 (8 pages) http://www.ibm.com/developerworks/data/library/techarticle/dm-0509melnyk/index.htm.
- Introduction to DB2 for zOS, IBM, DB2 Verison 9.1 for z/OS, last accessed May 28, 2011 (423 pages) https://www-304.ibm.com/support/docview.wss?uid=pub1sc18984708.
- Let's Look at Materialized Query Tables for DB2 UDB V8 z/OS, IDUG 2005 North America, May 26, 2005 (29 pages) ftp://public.dhe.ibm.com/software/data/db2zos/INAEbersoleF12.pdf.