×

Techniques to extract and flatten hierarchies

  • US 9,659,073 B2
  • Filed: 06/18/2008
  • Issued: 05/23/2017
  • Est. Priority Date: 06/18/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • loading, from an online transaction processing (OLTP) system, a plurality of records, each of the records of the plurality of records identifies a parent-child relationship between two components in a hierarchy;

    after loading the plurality of records from the OLTP system, storing the plurality of records in a data warehouse that is separate from the OLTP system;

    after storing the plurality of records in the data warehouse, generating, at the data warehouse, a first set of strings based upon hierarchy data for the hierarchy stored in the plurality of records at the data warehouse by applying a recursive function to the plurality of records, the first set of strings representing hierarchical paths in the hierarchy, each string in the first set of strings comprising one or more components in the hierarchy and wherein the one or more components in the string are arranged in an order indicative of a hierarchical path represented by the string;

    filtering the first set of strings to create a second set of strings, at the data warehouse, so that strings of the first set of strings that trace a path from a root of the hierarchy to a leaf of the hierarchy are selected to create the second set of strings, wherein the second set of strings have fewer than all strings from the first set of strings in order to perform hierarchical flattening of the plurality of records;

    creating, in the data warehouse, a particular record for each string in the second set of strings; and

    querying the data warehouse for the particular record for a string in the second set of strings.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×