Model-based Integration of Past & Future in TimeTravel

We demonstrate TimeTravel, an efficient DBMS system for seamless integrated querying of past and (forecasted) future values of time series, allowing the user to view past and future values as one joint time series. This functionality is important for advanced application domain like energy. The main idea is to compactly represent time series as models. By using models, the TimeTravel system answers queries approximately on past and future data with error guarantees (absolute error and confidence) one order of magnitude faster than when accessing the time series directly. In addition, it efficiently supports exact historical queries by only accessing relevant portions of the time series. This is unlike existing approaches, which access the entire time series to exactly answer the query. To realize this system, we propose a novel hierarchical model index structure. As real-world time series usually exhibits seasonal behavior, models in this index incorporate seasonality. To construct a hierarchical model index, the user specifies seasonality period, error guarantees levels, and a statistical forecast method. As time proceeds, the system incrementally updates the index and utilizes it to answer approximate and exact queries. TimeTravel is implemented into PostgreSQL, thus achieving complete user transparency at the query level. In the demo, we show the easy building of a hierarchical model index for a real-world time series and the effect of varying the error guarantees on the speed up of approximate and exact queries.

[1]  Jonathan D. Cryer,et al.  Time Series Analysis , 1986 .

[2]  J. Dicapua Chebyshev Polynomials , 2019, Fibonacci and Lucas Numbers With Applications.

[3]  Eamonn J. Keogh,et al.  iSAX: indexing and mining terabyte sized time series , 2008, KDD.

[4]  Samuel Madden,et al.  Querying continuous functions in a database system , 2008, SIGMOD Conference.

[5]  Hagit Shatkay,et al.  Approximate queries and representations for large data sequences , 1996, Proceedings of the Twelfth International Conference on Data Engineering.

[6]  T. J. Rivlin The Chebyshev polynomials , 1974 .

[7]  R. Kavasseri,et al.  Day-ahead wind speed forecasting using f-ARIMA models , 2009 .

[8]  Wolfgang Lehner,et al.  F2DB: The Flash-Forward Database System , 2012, 2012 IEEE 28th International Conference on Data Engineering.

[9]  Yoshimi Fukuhara,et al.  Stock Price Prediction Using Prior Knowledge and Neural Networks , 1997, Intell. Syst. Account. Finance Manag..

[10]  Wolfgang Lehner,et al.  Efficient In-Database Maintenance of ARIMA Models , 2011, SSDBM.

[11]  Jennie Duggan,et al.  Simultaneous Equation Systems for Query Processing on Continuous-Time Data Streams , 2008, 2008 IEEE 24th International Conference on Data Engineering.

[12]  R. Fisher The Advanced Theory of Statistics , 1943, Nature.

[13]  Samuel Madden,et al.  MauveDB: supporting model-based user views in database systems , 2006, SIGMOD Conference.

[14]  P. Young,et al.  Time series analysis, forecasting and control , 1972, IEEE Transactions on Automatic Control.

[15]  Gareth J. Janacek,et al.  A Bit Level Representation for Time Series Data Mining with Shape Based Similarity , 2006, Data Mining and Knowledge Discovery.

[16]  David R. Cox,et al.  Time Series Analysis , 2012 .