Invention Grant
- Patent Title: Collecting statistics in unconventional database environments
-
Application No.: US15257507Application Date: 2016-09-06
-
Publication No.: US10970295B2Publication Date: 2021-04-06
- Inventor: Louis Martin Burger
- Applicant: Teradata US, Inc.
- Applicant Address: US OH Dayton
- Assignee: Teradata US, Inc.
- Current Assignee: Teradata US, Inc.
- Current Assignee Address: US OH Dayton
- Agent Ramin Mahboubian
- Main IPC: G06F16/00
- IPC: G06F16/00 ; G06F16/2458 ; G06F16/2453 ; G06F16/28 ; G06F16/21

Abstract:
A system and method for determining optimal query plans within a distributed processing system. The system includes a query optimizer for receiving a query and generating a query plan for execution by the distributed processing system; a repository including statistics related to prior executed query plans; a plan execution engine for receiving and executing the query plan, collecting statistics corresponding to the query plan, and storing the statistics and optimizer usage metadata corresponding to the query plan and prior executed query plans in the repository. The system further includes a statistics advisory tool for mining the metadata to generate a collection of histogram statistics and storing said histogram statistics in the repository. When generating a query plan, the query optimizer searches the statistics repository for statistics, including histogram statistics, useful to the generation of the current query plan and uses selected statistics from the repository to generate the query plan.
Public/Granted literature
- US20170068710A1 COLLECTING STATISTICS IN UNCONVENTIONAL DATABASE ENVIRONMENTS Public/Granted day:2017-03-09
Information query