Patents
US 7,739,293 B2#15804953 Most CitedExpiredUnited States (USPTO)Utility

Method, system, and program for collecting statistics of data stored in a database

7Forward Citations (#15804953 Global)
0.4/yrCitation Velocity (#18334668 Global)
1.53Citation PageRank (#22197038 Global)
15Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

The present invention relates to collecting statistics automatically for data in a database. There is provided a method for automated statistics collection comprising determining a likelihood that statistics for data have changed; and collecting statistics for data in response to the likelihood. Indicators of the likelihood that statistics have changed may be useful to trigger automated statistics collection. Tables having statistics that change significantly may be collected more often than statistics of tables that are stable. A preferred model is provided to facilitate the collection of statistics that are more relevant: a table is scheduled for collection in accordance with observed patterns of table activity; a table is considered for collection if it meets a threshold level of activity; and a table is sampled to predict whether the statistics to be collected have changed. When collecting statistics, throttling and lock contention can minimize impact on a database user's response experience.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A data processing system implemented method of collecting statistics associated with data stored in a database, the database operatively coupled to a data processing system, the data processing system implemented method comprising: assembling a list of tables of said data, said tables being scheduled for periodic automatic statistics collection; for each of the tables, determining a likelihood that currently computed statistics associated with the data in each of the tables have changed; removing from the list tables for which said determined likelihood is low; collecting updated statistics fo

Technical Overview & Description

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

Non-Patent Literature (5)

  • "Automate database upkeep with the SQL Server Maintenance Plan Wizard" (2002).
  • Bauchot, et al., U.S. Appl. No. 10/835,015, Method and System in an Electronic Data Table for Managing Order Oriented Criterias, filed Apr. 29, 2004. Filed in EP Apr. 29, 2003, application # 033680448. All pages.
  • Denk et al., Statistical composites: a transformation-bound representation of statistical datasets, Jul. 24-26, 2002, IEEE, 217-226.
  • IBM Technical Disclosure NB9003388.
  • Lightstone, S.S., et al., Smarter DB2: IBM Puts DB2 on a Path toward Self-maintenance that Promises to Help DBAs Stay on Top of their Workloads, DB2Magazine vol. 7, Issue 4, Quarter 4, 2002, p. 32-41.