cache some time series grade stuff on sql server