×

Methods, systems, and computer program products for database table aggregation

  • US 8,275,751 B2
  • Filed: 12/18/2008
  • Issued: 09/25/2012
  • Est. Priority Date: 12/18/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method for database table aggregation, comprising:

  • encoding first and second components via a waveform definition and attribute values of the respective first and second components, the first component specifying first criteria for aggregating data and the second component specifying second criteria for aggregating data;

    generating a complex periodic aggregation waveform having variable-sized square waves respectively representing the first component and the second component in a repeating pattern that corresponds to the waveform definition and the first and second criteria, respectively, and which spans a length of a first axis that corresponds to a period of time for aggregating the data;

    providing a maximum byte count for aggregated data stored in a first table defined by at least one of the first and second criteria, the maximum byte count specifying a threshold value;

    aggregating the data for the duration of the period of time and in accordance with the attribute values of the respective first and second components;

    creating a second table for overflow of data determined for the first table when the threshold value has been exceeded;

    updating the complex periodic aggregation waveform to reflect results of the data aggregation, the updating including generating a waveform representing the second table along a second axis, the second axis depicted at a location corresponding to time in which the data aggregation for the first table was initiated;

    outputting a graphical depiction of the updated complex periodic aggregation waveform;

    wherein the method further comprises;

    in response to receiving a date/time value and a read/write indicator value, wherein a read indicator specifies a read operation and a write indicator specifies a write operation;

    searching the database of complex periodic aggregation waveforms until the date/time value is equal to or exceeds a unique identifier of a complex periodic aggregation waveform;

    scanning the complex periodic aggregation waveform, found in response to the searching, until a period of time specified in one of the first and second criteria encloses the start date/time value;

    searching a list of the tables until the start date/time value is equal to an identifier of one of the tables in the list;

    determining whether the table found in response to the searching has an amount of aggregated data that exceeds a specified threshold;

    performing one of the read operation and the write operation with respect to the table found in response to the searching based upon the read/write indicator value;

    if the read/write indicator value is equal to the write operation, returning a maximum table name representing the table having the latest start date and time; and

    if the read/write indicator value is equal to the read operation, returning the list of table names for a component indicating the threshold value has been exceeded.

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