The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Jan. 24, 2023

Filed:

Sep. 28, 2018
Applicant:

Oracle International Corporation, Redwood Shores, CA (US);

Inventors:

Sunil P. Chakkappen, Foster City, CA (US);

Mohamed Zait, San Jose, CA (US);

Christoforus Widodo, Sunnyvale, CA (US);

Hong Su, San Carlos, CA (US);

Assignee:

Oracle International Corporation, Redwood Shores, CA (US);

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 16/00 (2019.01); G06F 16/2453 (2019.01); G06F 7/14 (2006.01); G06F 16/22 (2019.01); G06F 16/23 (2019.01); G06F 16/951 (2019.01); G06F 16/2458 (2019.01);
U.S. Cl.
CPC ...
G06F 16/24542 (2019.01); G06F 7/14 (2013.01); G06F 16/2282 (2019.01); G06F 16/2365 (2019.01); G06F 16/2386 (2019.01); G06F 16/2462 (2019.01); G06F 16/24532 (2019.01); G06F 16/951 (2019.01);
Abstract

Techniques are described for responding to aggregate queries using optimizer statistics already available in the data dictionary of the database in which the database object targeting by the aggregate query resides, without the user creating any additional objects (e.g. materialized views) and without requiring the objects to be loaded into volatile memory in a columnar fashion. The user query is rewritten to produce a transformed query that targets the dictionary tables to form the aggregate result without scanning the user tables. 'Accuracy indicators' may be maintained to indicate whether those statistics are accurate. Only accurate statistics are used to answer queries that require accurate answers. The accuracy check can be made during runtime, allowing the query plan of the transformed query to be used regardless of the accuracy of the statistics. For queries that request approximations, inaccurate statistics may be used so long as the statistics are 'accurate enough'.


Find Patent Forward Citations

Loading…