Patents
US 7,882,121 B2#9625984 Most CitedActiveUnited States (USPTO)Utility

Generating queries using cardinality constraints

11Forward Citations (#9625984 Global)
0.7/yrCitation Velocity (#10477567 Global)
1.73Citation PageRank (#18342111 Global)
41Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A query generation using cardinality constraints process including choosing a first set of parameters for a query, calculating an additional set of parameters based on the first set of parameters, executing the query using additional set of parameters, evaluating the cardinality error the additional set of parameters, and refining the additional set of parameters to meet the desired cardinality constraint. Creating a query and selecting parameters for the query to meet a desired cardinality constraint or set of cardinality constraints when the query is executed against a database may be difficult. A query generation using cardinality constraints process may create a set of parameters for a query which satisfies a desired cardinality constraint or set of cardinality constraints. An application of such a query generation using cardinality constraints process may be database component and code testing.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 41 · Forward citations: 11.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for testing a component of a database application, the method comprising: populating, as specified by a user, a column in a database with test data that falls within a certain range specified by the user; specifying, by the user, a desired cardinality constraint suitable for testing the component, the component operating on a computing device, wherein the component is a software component; specifying, by the user, a parametric pattern query that includes a parameter, wherein the parametric pattern query is compatible with the database, and wherein the parametric pattern query is confi

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (41)

PatentTitleYearCitations
US 5,664,173 AMethod and apparatus for generating database queries from a meta-query pattern1997150
US 5,675,779 AData processing system and method for maintaining cardinality in a relational database199750
US 5,701,471 ASystem and method for testing multiple database management systems1997132
US 5,761,653 AMethod for estimating cardinalities for query processing in a relational database management system1998137
US 5,819,255 ASystem and method for database query optimization1998183
US 5,822,747 ASystem and method for optimizing database queries1998167
US 5,956,706 AMethod and system for limiting the cardinality of an SQL query result1999127
US 6,052,694 AMethod and apparatus for logging database performance characteristics2000128
US 6,138,111 ACardinality-based join ordering200038
US 6,138,112 ATest generator for database management systems2000233
US 6,145,121 ATrace based method for the analysis, benchmarking and tuning of object oriented databases and applications2000255
US 6,356,889 B1Method for determining optimal database materializations using a query optimizer2002114
US 6,393,435 B1Method and means for evaluating the performance of a database system referencing files external to the database system200257
US 2002069193 A1Optimization of SQL queries using filtering predicates—56
US 6,581,052 B1Test generator for database management systems200368
US 6,732,110 B2Estimation of column cardinality in a partitioned relational database200433
US 6,738,755 B1Query optimization method for incrementally estimating the cardinality of a derived relation when statistically correlated predicates are applied200481
US 2004128287 A1Self tuning database retrieval optimization using regression functions—63
US 6,760,720 B1Search-on-the-fly/sort-on-the-fly search engine for searching databases2004114

Non-Patent Literature (5)

  • Alice Rischert, Writing Better SQL Using Regular Expressions, Aug. 2003, Oracle Technology Network, from http://web.archive.org/web/20040220134041/http://www.quest-pipelines.com/newsletter-v5/0204-A.htm (a version of the publication dated Feb. 20, 2004) (retrieved Jun. 4, 2008).
  • Chemaxon.com, Structure Searcing, from http://www.chemaxon.com/jchem/doc/guide/search/index.html (retrieved Jun. 4, 2008).
  • David Chays et al. "An Agenda for testing relational database applications" Software Testing, Verification and Reliability, published online Jan. 20, 2004, vol. 14, issue 1, pp. 17-44, Copyright 2004 John Wiley and Sons, Ltd.
  • Firstsql.com, SQL Tutorial, 2005, from http://www.firstsql.com/tutor2.htm (retrieved Jun. 2, 2008).
  • Ingres.com, Predicates in SQL, from http://docs.ingres.com/sqlref/PredicatesinSQL (retrieved Jun. 2, 2008).