Data aggregation and caching: How to quickly graph large time series datasets by interval Data aggregation and caching: How to quickly graph large time series datasets by interval database database