Query processing method of name-value pairs in relational databases
Abstract
Electronic marketplaces typically apply catalog schema in the format of name-value pairs to store product attribute names and values to achieve a very high degree of flexibility. This vertical schema approach prevents traditional relational database management systems from accurately estimating constraint selectivity and generating efficient query plans. In this invention, methods and systems are disclosed for building and maintaining external histograms and a query planner uses these external histograms to assist query planning in relational databases.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 13.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for building an efficient query plan for vertical schema, comprising: receiving query information including at least one constraint; retrieving an external histogram having information for name-value pairs of the vertical schema; determining selectivity estimates for the at least one constraint using the external histogram; and generating the query plan using at least some of the selectivity estimates; wherein a row of the vertical schema comprises one of the name-value pairs.
- Claim 2Depends on #1
The method of claim 1 , wherein generating the query plan includes checking whether any of the at least one constraint is a high selectivity constraint using the selectivity estimates.
- Claim 3Depends on #2
The method of claim 2 , wherein generating the query plan includes using the high selectivity
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗