Database query optimization
Abstract
Embodiments relate to a system, computer program product and method for database query optimization. An aspect includes a method that extracts complex predicates from a query statement, the query statement having at least two complex predicates. The method then executes a query associated with the query statement and obtains at least a respective execution structure cost (ΔT i ) for each of the complex predicates. The method also calculates an overall execution structure cost corresponding to each of the complex predicates, the complex predicates being arranged according to result of the query and the execution structure costs (ΔT i ); and optimizes a database query by selecting the arrangement of complex predicates having a lowest overall execution structure cost.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 7.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for database query optimization, comprising: extracting complex predicates from a query statement, the query statement having at least two complex predicates, wherein a part of the query statement remaining after the complex predicates are extracted is a trunk; executing a query associated with the query statement; obtaining a respective execution structure cost (ΔT i ) for each of the complex predicates; calculating an overall execution structure cost corresponding to each arrangement of the complex predicates according to a result of the query and the execution structure costs (ΔT i
- Claim 2Depends on #1
The method according to claim 1 , wherein the executing a query statement comprises executi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗