[build db] better identification of regional and time series data