Interface to time series DB