Method and system for efficiently evaluating a query against...

Data processing: database and file management or data structures – Database design – Data structure types

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C707S793000, C707S793000, C707S793000, C707S793000

Reexamination Certificate

active

06816853

ABSTRACT:

BACKGROUND AND SUMMARY
The present invention relates to the field of computer systems. More particularly, the invention relates to a method and system for executing a query involving a partitioned database object.
A “query” is a statement or collection of statements that is used to access a database. Specialized query languages, such as the structured query language (“SQL”) are often used to interrogate and access a database. Many types of queries include at least the following. First, the identity of the database object(s) being accessed to execute the query (e.g., one or more named database tables). If the query accesses two or more database objects, what is the link between the objects (e.g., a join condition or column). The typical query also defines selection criteria, which is often referred to as a matching condition, filter, or predicate. Lastly, a query may define which fields in the database object are to be displayed or printed in the result.
A query may seek to access a partitioned database object. Partitioning in a database system generally refers to the process of decomposing an object into a greater number of relatively smaller objects. Smaller objects are often easier to manage and more efficient to search than larger objects. Thus, database systems utilize partitioning to decompose objects such as tables and indexes into smaller and more manageable pieces or “partitions.”
One approach to evaluating a query on partitioned data is to treat each partition as a separate schema object. In this approach, some or all of the query is independently evaluated for each partition, and this process is iteratively performed for each partition until the entire query has been evaluated for all partitions to be accessed. Since each partition is independently evaluated, data processed or temporarily created for a first partition may be discarded or overwritten when evaluating a subsequent partition. However, certain categories of queries may require subsequent processing to use data that was created for a prior partition. This may occur, for example, if the query involves a blocking operation, in which no partition can be completely processed until data from all the relevant partitions have been accessed for the blocking operation.
The present invention provides a method and mechanism to execute a query against a partitioned database object, in which data processed or created for an earlier partition is maintained even after further processing is performed against a subsequent partition. In one embodiment of the invention, a shared data object, such as a context object, is maintained to store data from processing the partitions of a partitioned table. Rather than discarding or overwriting the shared data object after processing each partition, the data from a subsequent partition is instead appended to the shared data object. In this manner, data from all relevant partitions exists for later use. Further details of aspects, objects, and advantages of the invention are described below in the detailed description, drawings, and claims.


REFERENCES:
patent: 4202041 (1980-05-01), Kaplow et al.
patent: 4692858 (1987-09-01), Redford et al.
patent: 5167016 (1992-11-01), Bagley et al.
patent: 5767854 (1998-06-01), Anwar
patent: 5809212 (1998-09-01), Shasha
patent: 5809501 (1998-09-01), Noven
patent: 5845129 (1998-12-01), Wendorf et al.
patent: 5942741 (1999-08-01), Longacre, Jr. et al.
patent: 5960427 (1999-09-01), Goel et al.
patent: 6061678 (2000-05-01), Klein et al.
patent: 6070169 (2000-05-01), Shorter
patent: 6154742 (2000-11-01), Herriot
patent: 6285996 (2001-09-01), Jou et al.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method and system for efficiently evaluating a query against... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and system for efficiently evaluating a query against..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and system for efficiently evaluating a query against... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3359305

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.