Performing an efficient implicit join of multiple mixed-type records

Inactive Publication Date: 2010-07-01
IBM CORP
View PDF8 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

[0004]The present invention introduces techniques for efficiently joining multiple mixed-type records retrieved from a hierarchical database. Records are retrieved from a hierarchical database. The retrieved records may be relevant to a query submitted by a client. Each of the retrieved records is categorized into a record type and has a unique identifier field. A record map is populated by iterating over the retrieved records. The record map associates each identifying value included in one or more unique identifier fields with data from each record having the identifying value. Moreover, for each record, a flag in the record map corresponding to the record type of the record and is associated with the identifying value included in the unique identifier field of the record is set. Inner joins and outer joins can then be performed using the contents of the record map. The query submitted by the client can then be answered based on the result of any inner joins and outer joins thus performed. Notably, the query submitted by the client may be processed using a single pass through the database. Thus, resource requirements for processing the query and any joins included therein are beneficially reduced.

Problems solved by technology

A database may store quantities of data which are potentially very large.

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
  • Performing an efficient implicit join of multiple mixed-type records
  • Performing an efficient implicit join of multiple mixed-type records
  • Performing an efficient implicit join of multiple mixed-type records

Examples

Experimental program
Comparison scheme
Effect test

Example

[0013]The following description details how the present invention is employed to retrieve data. Throughout the description of the invention reference is made to FIGS. 1-4. When referring to the figures, like structures and elements shown throughout are indicated with like reference numerals.

[0014]FIG. 1 shows an example environment 102 embodying the present invention. It is initially noted that the environment 102 is presented for illustration purposes only, and is representative of countless configurations in which the invention may be implemented. Thus, the present invention should not be construed as limited to the environment configurations shown and discussed herein.

[0015]The environment 102 includes a database server 104. A database server may be any of a wide variety of systems configured to store and manage data. The database server 104 may be a general purpose computer. Such a computer may incorporate any of a wide variety of architectures. The computer, even if originally man

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 method, system, method and computer program product for retrieving data. Records are retrieved from a hierarchical database. The records are categorized into a plurality of record types. Each record comprises a unique identifier field. A record map contains zero or more entries. Each entry comprises an identifying value, data from at least one record and a set of Boolean flags. Each flag corresponds to a record type. A computer iterates over the retrieved records. Data from each record is stored at an entry in the record map having an identifying value equal to the value included in the unique identifier field of the record. Moreover, the flag in this entry which corresponds to the record type of the record is set. Inner joins and outer joins are then performed using the contents of the record map.

Description

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

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
Owner IBM CORP
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