Systems and methods for optimizing database queries

a database and query technology, applied in the field of database query optimization, can solve the problems of not always feasible to pre-calculate and store derived and aggregated data, prohibitively long time-consuming access to massive views in memory in response to queries, and high processing costs of join operations, so as to reduce the consumption of system resources and increase the response time

Active Publication Date: 2011-03-15
EXPERIAN INFORMATION SOLUTIONS
View PDF90 Cites 271 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

[0006]A database warehouse system with query optimization capabilities is described that allows for speedy identification of sets of records of interest from amongst a large number of records, such as tens of millions of records or more. The records of interest may include complex derived data values that may be presented in a view for use by a query and that may be generated, at least in part, by aggregating data from a plurality of records in base data tables. Views that present comprehensive access to the base data

Problems solved by technology

However, when a data warehouse stores data that is frequently updated, and when queries to the data warehouse demand very up-to-date information, it is not always feasible to pre-calculate and store the derived and aggregated data.
Furthermore, accessing and manipulating the massive views in memory in response to a query can take a prohibitively long amount of time.
Join operations are very expensive with respect to system memory and processing resources.
However, improper el

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Systems and methods for optimizing database queries
  • Systems and methods for optimizing database queries
  • Systems and methods for optimizing database queries

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031]FIG. 1 is a block diagram depicting an overview of one embodiment of an online database 110 and associated data warehouse 150 system. As depicted in FIG. 1, an online database 110 may receive data input from a variety of sources 120-124. For example, a credit bureau may implement a system such as that depicted in FIG. 1 for maintaining credit-related information about consumer activities and may receive input regarding'consumers from financial institutions 121, merchants 122, lenders 123, government entities 124, and other data sources 120. In other embodiments, other types of data may be stored in the online database 110 as provided by other types of data sources.

[0032]The online database 110 may be configured to receive, update, and store vast amounts of data. For example, in one embodiment, a credit bureau uses the online database 110 for storing credit-related data received from a variety of sources 120-124 for over thirty million consumers. Such data may include, for exam...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A relational database warehouse system with query optimization capabilities is described that allows for speedy identification of sets of records of interest from amongst tens of millions of records. The records of interest may include complex derived attributes, generated, at least in part, by aggregating data from a plurality of records in base data tables. In various embodiments, the query optimization capabilities allow the database warehouse system to identify conditions under which normal query execution may be replaced by one or more optimized execution methods, including, for example, eliminating unnecessary inner join operations on base data tables specified by a query, re-ordering the execution of group-by operations and left-outer join operations to greatly reduce the size of join tables produced while processing a query, and/or consolidating a set of segmentation queries for execution in one pass over the records of the database.

Description

FIELD OF THE INVENTION[0001]The invention relates generally to the field of database query optimization and, more specifically, to optimizations for batched queries on views in data warehouses.BACKGROUND OF THE INVENTION[0002]Databases have evolved from simple file systems to massive collections of data serving a variety of users and numerous distinct applications. Online database systems may be configured to receive an ongoing stream of new and updated information, to update their records accordingly, and to allow for relatively small queries of the up-to-date data in real-time. A database warehouse is typically a storage facility for large amounts of data that allows for a more in-depth analysis of the data, using derived and / or aggregated information based on the data to identify groups of records within the database that share common characteristics, for example.[0003]Some database warehouses are used for basic data that is relatively static over time. In such data warehouses, e...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/00G06F7/00G06F17/30
CPCG06F17/30442G06F16/2453
Inventor ACHANTA, VENKAT R.
Owner EXPERIAN INFORMATION SOLUTIONS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products