×

Improving efficiency in processing queries directed to static data sets

  • US 7,725,468 B2
  • Filed: 05/22/2005
  • Issued: 05/25/2010
  • Est. Priority Date: 04/08/2005
  • Status: Active Grant
First Claim
Patent Images

1. A method of processing queries directed to a static data set, said static data set containing a plurality of data items which are unlikely to change, said method being performed in a server, said method comprising:

  • storing said static data set in a data warehouse in the form of a plurality of tables, wherein each table contains a corresponding set of columns and a corresponding set of rows, wherein each data item is stored in one row of the table;

    determining which of a set of conditions match which of said plurality of data items in said static data set by retrieving and inspecting said plurality of data items of said static data set stored in the form of said plurality of tables in said data warehouse,wherein each of said set of conditions comprises an identifier of a column, a comparison operation, and a corresponding comparison value,wherein a match for a condition is determined to be present when a data item retrieved from said data warehouse has a first value for the same column as the condition, and applying said comparison operation on said first value and said comparison value produces a true result;

    maintaining a match data indicating which conditions match which data items in said static data set according to said determining,wherein said match data indicates a corresponding set of data items matching each of said set of conditions based on a plurality of row identifiers, with each row identifier uniquely identifying a corresponding row in one of said plurality of tables and is not formed based on said plurality of data items,wherein said match data comprises a plurality of entries, with each entry corresponding to a single condition and indicating a set of rows matching the corresponding condition using said row identifiers;

    receiving a query containing a first condition, wherein said query is received after said maintaining and wherein said first condition is contained in said set of conditions;

    examining said match data to determine a first set of data items matching said first condition received in said query, without having to inspect again said static data set stored in said data warehouse, wherein said first set of data items are contained in said static data set,wherein said examining comprises identifying the single entry in said plurality of entries corresponding to said first condition and wherein the set of rows identified in the single entry being provided as said first set of data items;

    retrieving only said first set of data items from said data warehouse according to said examining; and

    generating a response to said query, said response containing said first set of data items retrieved from said data warehouse.

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