how to store historical data much more efficiently 78b0f2c8c811