×

Database query analysis technology

  • US 8,452,755 B1
  • Filed: 05/11/2010
  • Issued: 05/28/2013
  • Est. Priority Date: 05/12/2009
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method comprising:

  • receiving an input query that relates to multiple attribute classes of data records having attribute classes associated therewith in data storage;

    identifying the multiple attribute classes related to the input query, the multiple attribute classes being a subset of less than all of the attribute classes associated with the data records in the data storage;

    accessing, from electronic storage, an index that is descriptive of the data records in the data storage, the index defining positional relationships between the attribute classes of the data records, where an attribute class that has a relatively lower position in the index than another attribute class is a child attribute class of the other attribute class;

    identifying relative positions in the accessed index for the multiple attribute classes identified as being related to the input query;

    processing the accessed index based on more than one of the multiple attribute classes identified as being related to the input query and the identified relative positions;

    identifying, using the processed index, groups of data records that are included in the data records in the data storage and that share common values for the multiple attribute classes identified as being related to the input query;

    accessing, from the data storage, metrics corresponding to the data records included in each of the identified groups of data records;

    performing computations on the accessed metrics that distinguish among each of the identified groups of data records;

    generating a report that reflects results of the computations; and

    storing, in electronic storage, the generated report,wherein processing the accessed index based on more than one of the multiple attribute classes identified as being related to the input query and the identified relative positions comprises;

    identifying portions of the accessed index that correspond to the multiple attribute classes identified as being related to the input query and disregarding portions of the accessed index that correspond to attribute classes other than the multiple attribute classes identified as being related to the input query;

    based on the identified relative positions, selecting, from among the multiple attribute classes identified as being related to the input query, the attribute class that has the highest relative position within the accessed index;

    for each distinct value in the selected attribute class, assigning a distinct identifier to portions of the accessed index within the selected attribute class that correspond to the distinct value;

    based on the identified relative positions, selecting, from among the multiple attribute classes associated with the input query, the attribute class that has a second highest relative position after the attribute class that has the highest relative position;

    for each portion of the index within the selected attribute class that has the second highest relative position, identifying an attribute value corresponding to the portion and a parent identifier of a portion of the index within the attribute class that has the highest relative position that links to the portion of the index within the selected attribute class that has the second highest relative position;

    based on the identified attribute values and parent identifiers, identifying distinct attribute value and parent identifier pairs within the selected attribute class that has the second highest relative position; and

    for each distinct attribute value and parent identifier pair, assigning a distinct identifier to portions of the index within the selected attribute class that has the second highest relative position that share the distinct attribute value and parent identifier pair.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×