×

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

  • US 8,429,132 B2
  • Filed: 08/27/2012
  • Issued: 04/23/2013
  • Est. Priority Date: 12/18/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method, 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 square waves representing the first and second components in a repeating pattern corresponding to the waveform definition and the first and second criteria, respectively, and which spans a length of a first axis indicative of a period of time for aggregating the data;

    providing, as a threshold value, a maximum byte count for aggregated data stored in a first table defined by at least one of the first and second criteria, and 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 a time in which the data aggregation for the first table was initiated;

    creating tables containing aggregated data for the first and second components based upon the first and second criteria, each of the tables assigned an identifier indicating a start date and time in which the data is stored in the tables, the tables including the first and second tables;

    in response to receiving a start 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 a database of complex periodic aggregation waveforms until the start date/time value exceeds an identifier of a complex periodic aggregation waveform in the database, 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, and 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; and

    in response to determining the table found in response to the searching has an amount of aggregated data that exceeds the maximum byte count, performing one of the read operation and the write operation with respect to the table found in response to the searching and based upon the read/write indicator value.

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