×

Systems and methods for optimizing database queries

  • US 8,065,264 B1
  • Filed: 03/09/2011
  • Issued: 11/22/2011
  • Est. Priority Date: 04/11/2005
  • Status: Active Grant
First Claim
Patent Images

1. A method of executing a query on a relational database, the method comprising:

  • receiving, by a computing device, a plurality of queries, the plurality of queries representing a request to segment data representing a general population into a plurality of segments, wherein the data representing the general population is stored in one or more consumer data records derived from one or more base tables of the relational database;

    determining, by the computing device, that the plurality of segments are mutually exclusive;

    generating, by the computing device, a consolidated query based on the plurality of queries, the consolidated query comprising instructions that segments the general population into the same plurality of segments as the plurality of queries using one read of the consumer data records; and

    ,executing, by the computing device, the consolidated query on the consumer data records;

    generating, by the computing device, an output data table comprising a record identifier column and a segmentation identifier column;

    generating, by the computing device, a record identifier value and a segmentation identifier value for each consumer data record;

    storing the record identifier value in the record identifier column of the output data table; and

    storing the segmentation identifier value in the segmentation identifier column of the output data table.

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