Column-oriented database for large time series