Table is not caching thousands of rows in vain (#13576)

Change-Id: I6f6382dd3468db40c36e507b94f84ab1191e100f