{"pub_number":"US6330552B1","doc_number":"6330552","country":"US","kind_code":"B1","patent_type":"utility","status":"expired","title":"Database query cost model optimizer","abstract_text":"A method and apparatus is disclosed for accurately estimating the cost of a database query, including the total computer resources used and estimated elapsed time for the production of a first row and last row of an operator involved in the query and/or the total resources used and elapsed time for returning the overall response to a database query. The method and apparatus accurately accounts for resources used and elapsed time associated with blocking operators, such as sorts and hash joins, which cannot produce a first row until they have completed their operations.","claims":[{"number":1,"text":"A process for predicting an elapsed time for executing a query, wherein a plan for executing the query includes a plurality of operators forming a query tree and at least one operator is a blocking operator, comprising: assigning a preliminary cost to each operator; combining the costs of at least some of the operators, including the at least one blocking operator; and converting the combined costs into a predicted elapsed time to execute the plan; wherein the predicted elapsed time is the time predicted for returning the first row of the query&#39;s response.","independent":true},{"number":2,"text":"A process for predicting an elapsed time for executing a query, wherein a plan for executing the query includes a plurality of operators forming a query tree and at least one operator is a blocking operator, comprising: assigning a prelim","independent":true}],"description":"","inventors":[{"name":"Farrar Christopher M","slug":"farrar-christopher-m","country":"US"},{"name":"Leslie Harry A","slug":"leslie-harry-a","country":"US"},{"name":"Celis Pedro","slug":"celis-pedro","country":"US"},{"name":"Shak Diana L","slug":"shak-diana-l","country":"US"},{"name":"Vaishnav Jay H","slug":"vaishnav-jay-h","country":"US"},{"name":"Skarpelos Michael J","slug":"skarpelos-michael-j","country":"US"}],"assignees":[{"name":"Compaq","slug":"compaq","country":"US"}],"examiners":["Cosimano Edward R."],"cpc_codes":["G06Q 10/04","G06Q 30/0283","Y10S 707/99931","Y10S 707/99932"],"ipc_codes":["G06Q 10/04","G06Q 30/02"],"filing_date":"1998-09-28","pub_date":"2001-12-11","grant_date":"2001-12-11","priority_date":"1998-09-28","expiration_date":"2018-09-28","application_number":"US-16263898-A","family_id":"FAM-22586494","family_members":[],"citations_made":[{"pub_number":"US5301317A","category":"SEA"},{"pub_number":"US5367675A","category":"APP"},{"pub_number":"US5546570A","category":"APP"},{"pub_number":"US5548755A","category":"APP"},{"pub_number":"US5619692A","category":"APP"},{"pub_number":"US5630120A","category":"APP"},{"pub_number":"US5689696A","category":"APP"},{"pub_number":"US5689708A","category":"SEA"},{"pub_number":"US5761654A","category":"APP"},{"pub_number":"US5765146A","category":"SEA"},{"pub_number":"US5875445A","category":"SEA"},{"pub_number":"JPH11203288A","category":"SEA"},{"pub_number":"US6023695A","category":"SEA"},{"pub_number":"US6026391A","category":"SEA"},{"pub_number":"US6212514B1","category":"SEA"}],"non_patent_literature":["Article by Clifford A. Lynch entitled \"Selectivity Estimation and Query Optimization in Large Databases with Highly Skewed Distributions of Column Values\" published by University of California dated 1988 pp. 240-251.","Article by Haas et al. entitled \"Sampling-Based Estimation of the Number of Distinct Values of an Attribute\" published by Proceedings of the 21st VLDB Conference dated 1995 pp. 311-321.","Article by Leonard D. Shapiro entitled \"Join Processing in Database Systems with Large Main Memories\" published by ACM Transactions on Database Systems dated 1986, vol. 11, No. 3, pp. 239-264.","Article by Mackert et al. entitled \"R* Optimizer Validation and Performance Evaluation for Distributed Queries\" published by Proceedings of the 12th International Conference on Very Large Databases, dated 1986 pp. 149-159.","Article by Piatetsky-Shapiro et al. entitled \"Accurate Estimation of the Number of Tuples Satisfying a Condition\" published by ACM dated 1984 pp. 256-276."],"drawings_count":0,"source_id":"google_patents_public","upstream_forward_citations":0,"metrics":{"forward_citations":134,"indexed_forward_citations":134,"backward_citations":15,"npl_citations":5,"citations_per_year":5.36,"pagerank":20.872541427612305,"citation_rank":127611,"pagerank_rank":310865,"velocity_rank":234575,"family_citations":134}}