U.S. patents available from 1976 to present.
U.S. patent applications available from 2005 to present.

Automating statistics management for query optimizers

Patent 6529901 Issued on March 4, 2003. Estimated Expiration Date: Icon_subject February 25, 2020. Estimated Expiration Date is calculated based on simple USPTO term provisions. It does not account for terminal disclaimers, term adjustments, failure to pay maintenance fees, or other factors which might affect the term of a patent.

Patent References

Performance-related estimation using pseudo-ranked trees
Patent #: 5875445
Issued on: 02/23/1999
Inventor: Antonshenkov, deceased

Method, apparatus and programmed medium for approximating the data cube and obtaining approximate answers to queries in relational databases
Patent #: 6108647
Issued on: 08/22/2000
Inventor: Poosala, et al.

Method for determining optimal database materializations using a query optimizer
Patent #: 6356889
Issued on: 03/12/2002
Inventor: Lohman, et al.

Identifying essential statistics for query optimization for databases Patent #: 6363371
Issued on: 03/26/2002
Inventor: Chaudhuri, et al.

Inventors

Assignee

Application

No. 513833 filed on 02/25/2000

US Classes:

707/3, Query processing (i.e., searching)707/102Generating database or data structure (e.g., via user interface)

Examiners

Primary: Mizrahi, Diane D.

Attorney, Agent or Firm

International Class

G06F 017/30

Abstract

In a database system, a method for determining a set of essential statistics. A set of potentially relevant, but unconstructed, statistics for a user query comprising a plurality of operators is compiled. A first value is assigned to the unconstructed statistics and a first projected query cost is computed for the query wherein the unconstructed statistics have the first value. A second value is assigned to the unconstructed statistics and a second projected query cost is computed for the query wherein the unconstructed statistics have the second value. The first and second projected query costs are compared and the determination of essential statistics is discontinued if the first and second projected query costs are equivalent. If the first and second projected query costs are not equivalent, an unconstructed statistic is selected to build and process is repeated until the first and second projected query costs are equivalent or all the unconstructed potentially relevant statistics have been constructed. Statistics which do not sufficiently impact a query plan may be added to a drop list for elimination.

Other References

  • Choenni S., Blanken H., Chang T., "Index Selection in Relational Databases" , Proc. 5th IEEE ICCI 1993
  • Chaundhuri, S., Motwani R., Narasayya V., "Random Sampling For Histogram Construction: How much is enough?" Proceedings of the ACM SIGMOD International Conference on Management of Data, 1988
  • Chaundhuri S., Marasayya V., "An Efficient. Cost-Driven Index Selection Tool for Miscrosoft SQL Server." Proceedings of the 23rd VLDB Conference Athens, Greece, 1997
  • Frank M., Omiecinski E., Navathe S., "Adaptive and Automated Index Selection in RDBMS", EDBT 92
  • Finkelstein S., Schkolnick M., Tiberio P., "Physical Database Design for Relational Databases", ACM TODS, Mar. 1988
  • Gibbons P.B., Matias Y., Poosala V., "Fast Incremental Maintenance of Approximate Histograms." Proceedings of the 23rd VLDB Conference, Athens, Greece, 1997, pp. 466-475
  • Haas P.J., Naughton J.F., Seshadri S., Stokes L., "Sampling-Based Estimation of the Number of Distinct Values of an Attribute." Proceedings of the 21st VLDB Conference, pp. 311-322, 1995
  • Ioannidis Y., Poosala V., "Balancing Histogram Optimality and Practicality for Query Result Size Estimation." Proceedings of the ACM SIGMOD International Conference on Management of Data, pp. 233-245, 1995
  • Poosala V., Ioannidis Y., Haas P., Shekita E., "Improved Histograms for Selectivity Estimation of Range Predicates." Proceedings of the ACM SIGMOD International Conference on Management of Data, pp. 294-305, 1996
  • Slutz, D., Massive Stochastic Testing of SQL, Proceedings of VLDB, 1998
  • Poosala V., Ioannidis Y., "Selectivity Estimation Without the Attribute Value Independence Assumption" , Proceedings of the 23rd VLDB Conferenece, Athens, Greece, 1997, pp. 486-495
  • Labio, W.J., Quass D., Adelberg B., "Physical Database Design for Data Warehouses" , Proc. of ICDE97
  • Manku G.S., Rajagopalan S., Lindsay B., "Approximate Medians and other Quantiles in One Pass and with Limited Memory" . Proc of SIGMOD 1998, pp. 426-43
PatentsPlus Images
Enhanced PDF formats
loading...
PatentsPlus: add to cart
PatentsPlus: add to cartSearch-enhanced full patent PDF image
$9.95more info
PatentsPlus: add to cart
PatentsPlus: add to cartIntelligent turbocharged patent PDFs with marked up images
$16.95more info
 
Sign InRegister
Username  
Password   
forgot password?