Cached statistics and db indexes