Patents

US 8135702 B2: Eliminating unnecessary statistics collections for query optimization

Granted
2012-03-13
Filed
2008-10-27 application 12290088
Type
Utility · 22 claims
Elsewhere
Google Patents ↗ · USPTO patent document ↗ · USPTO Patent Center record ↗

Abstract

A method and system for eliminating unnecessary statistics collections for query optimization in a database stored on a computer. Statistics are unnecessary when a re-generated query execution plan that does not use the statistics is equivalent to an original query execution plan that uses the statistics. To determine this, an original query execution plan is created for each query in a specified workload using the statistics in the database. A search is performed of the statistics in order to enumerate one or more candidate sets of statistics to be eliminated. One or more of the candidate sets of statistics are removed from consideration prior to creating the re-generated query execution plan for each query in the specified workload. The re-generated query execution plan, which was created with one or more of the candidate sets of statistics removed from consideration, is compared with the original query execution plan, which was created using the statistics, in order to determine whether the re-generated query execution plan and the original query execution plan are equivalent. The one or more of the candidate sets of statistics removed from consideration are identified as unnecessary when the re-generated query execution plan and the original query execution plan are equivalent.

Source: PVGPATDIS, file of 2026-04-10 (ipg120313.xml).

Assignees

AssigneeTypePlaceAlso on furp.orgSource
Teradata US, Inc. 451 patentsUS company or organizationDayton, OHPVGPATDIS, file of 2026-04-10

Inventors

InventorPlacePatentsPerson pageSource
Louis BurgerEscondido, CA37PVGPATDIS, file of 2026-04-10
Frank Roderic VandervortRamona, CA16PVGPATDIS, file of 2026-04-10

CPC categories

SubclassCategoryFirst groupSource
G06FElectric digital data processingG06F16/24549PVGPATDIS, file of 2026-04-10

Cooperative Patent Classification, as currently assigned (one row per subclass).

Assignments and security interests

RecordedWhatFromToReel/frameSource
2008-10-27Assignment
Assignment of assignor's interest
BURGER, LOUIS M. signed 2008-10-21
VANDERVORT, FRANK RODERIC signed 2008-10-21
TERADATA US, INC. MIAMISBURG, OH21811/428ECORSEXC, file of 2026-09-25

Documents recorded with the USPTO Assignment Recordation Branch that list this patent. A security interest is a lender’s claim on the patent as collateral; a release ends it.

USPTO bulk data: PatentsView granted patents, disambiguated (PVGPATDIS) for patents, assignees, inventors, places and CPC categories; the USPTO Patent Assignment Dataset (ECORSEXC) for assignments and security interests. Patents filed in the last 20 years. No claims or full text. Links to other records are by name (and state): EXACT means the identical full name and state; FUZZY means a looser name match, with the confidence shown.