Database index storage based on temporal data
First Claim
Patent Images
1. A system, comprising:
- one or more processors; and
memory including instructions that, when executed by the one or more processors, cause the system to at least;
receive a first temporal data record corresponding to a computing resource metric, the first temporal data record specifying a first temporal data region defined by a first start time and a first end time;
generate a database query configured such that a second temporal data record specifying a second temporal region defined by a second start time and a second end time, the second end time greater than the first start time is responsive to the database query;
submit the database query to obtain the second temporal data record;
if the second temporal data region of the second temporal data record overlaps the first temporal data region of the first temporal data record as determined by the second start time being less than the first end time;
generate one or more new temporal data records such that the new temporal data records correspond to non-overlapping temporal data regions;
record the one or more new temporal data records in the database; and
delete the first temporal data record and the second temporal data record; and
if the second temporal data region of the second temporal data record does not overlap the temporal data region of the first temporal data record as determined by the second start time being less than the first end time, record the first temporal data record in the database.
1 Assignment
0 Petitions
Accused Products
Abstract
An analytics service receives a request to store a first temporal data record specifying a time interval during which data for a computing resource was collected within a database. The analytics service uses the time interval for the first temporal data record to obtain a second temporal data record from the database specifying an end time that is greater than the start time of the time interval of the first temporal data record. The analytics service generates new temporal data records that correspond to non-overlapping time intervals as a result of a determination that there is an overlap between the time intervals of the first temporal data record and the second temporal data record.
9 Citations
20 Claims
-
1. A system, comprising:
-
one or more processors; and memory including instructions that, when executed by the one or more processors, cause the system to at least; receive a first temporal data record corresponding to a computing resource metric, the first temporal data record specifying a first temporal data region defined by a first start time and a first end time; generate a database query configured such that a second temporal data record specifying a second temporal region defined by a second start time and a second end time, the second end time greater than the first start time is responsive to the database query; submit the database query to obtain the second temporal data record; if the second temporal data region of the second temporal data record overlaps the first temporal data region of the first temporal data record as determined by the second start time being less than the first end time; generate one or more new temporal data records such that the new temporal data records correspond to non-overlapping temporal data regions; record the one or more new temporal data records in the database; and delete the first temporal data record and the second temporal data record; and if the second temporal data region of the second temporal data record does not overlap the temporal data region of the first temporal data record as determined by the second start time being less than the first end time, record the first temporal data record in the database. - View Dependent Claims (2, 3, 4)
-
-
5. A computer-implemented method, comprising:
-
receiving a first temporal data record specifying a start time and an end time at which data associated with the first temporal data record was collected; identifying a second temporal data record specifying a start time and an end time at which data associated with the second temporal data record was collected, wherein the end time of the second temporal data record is greater than the start time of the first temporal data record; determining whether there is a temporal overlap between the first temporal data record and the second temporal data record at least in part by determining whether the start time of the second data record is less than the end time of the first temporal data record; and generating one or more temporal data records based at least in part on the temporal overlap such that the one or more temporal data records correspond to non-overlapping time intervals. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12)
-
-
13. A non-transitory computer-readable storage medium comprising executable instructions that, when executed by one or more processors of a computer system, cause the computer system to at least:
-
obtain a first temporal data record specifying a time interval during which data for a computing resource metric was collected; obtain a second temporal data record specifying an end time that is greater than a start time of the time interval; determine whether there is an overlap between the time interval of the first temporal data record and a time interval that is defined by a start time of the second temporal data record and the end time, wherein there is an overlap if the start time of the second temporal data record is less than the end time of the first temporal data record; and as a result of the overlap, generate new temporal data records that correspond to non-overlapping time intervals. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
Specification