I have a table named 'calls' with about 1,000,000 rows so far. Every day new calls are made, and I provide an aggregate daily stat, looking at todays calls only.
So a sum of all calls made today, grouped by their status.
My question is...
Is there any performance advantage gained to storing only todays calls in a seperate cache table that gets cleared daily. And then performing the aggregate just on this table.
Or does the fact that Im filtering the main table by date, kinda just ignore the other 990,000 lines. Meaning I wont gain any performance by creating a temp cache table to fill daily.