Method and apparatus for processing count statements in a databa

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

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

G06F 1730

Patent

active

058192565

ABSTRACT:
A method and apparatus for processing count queries in a database system is provided. The database server determines whether it is possible for the target data specified in a count query to contain null values. If the target data cannot contain null values, the count query is converted into a count star query. Count star queries are executed by counting the number of records that store the target data without actually reading and evaluating the target data. If an index for the table that stores the target data exists, then the number of records are counted without accessing the table itself by counting record identifiers in the index. If the index is a bitmap index, the number of bits that are set in bitmaps from the index are counted without actually generating record identifiers from the bitmaps. Many processes are used to generate intermediate count values from the bitmaps. The intermediate count values are summed to produce a total count value. For count queries that contain group by clauses, intermediate count values are generated for each distinct key value. The intermediate count values are summed to produce a total count value for each distinct key value.

REFERENCES:
patent: 5379419 (1995-01-01), Hefferman et al.
patent: 5412804 (1995-05-01), Krishna
patent: 5542078 (1996-07-01), Martel et al.
patent: 5561793 (1996-10-01), Bennett et al.
patent: 5590324 (1996-12-01), Leung et al.
patent: 5634019 (1997-05-01), Koppolu 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 apparatus for processing count statements in a databa 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 apparatus for processing count statements in a databa, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for processing count statements in a databa will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-93494

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