scanning for data gaps in time series
I have a table as follows
datetime | value
-------------------------------
2011-01-01 02:00:00 | 1.2
2011-01-01 02:02:00 | 1.4
2011-01-01 02:06:00 | 1.4
2011-01-01 02:08:00 | 1.1
2011-01-01 02:10:00 | 1.6
2011-01-01 02:16:00 | 1.5
2011-01-01 02:18:00 | 1.1
I want to scan the time series for intervals that are greater than two minutes and gives the following result
starttime | endtime | gap
------------------------------------------------
2011-01-01 02:02:00 | 2011-01-01 02:06:00 | 4
2011-01-01 02:10:00 | 2011-01-01 02:16:00 | 6
Subject
Written By
Posted
scanning for data gaps in time series
July 13, 2011 05:55PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.