Hi Experts,
Can you pls give your suggestions for the below requirement-->
Requirement-->
There is a table which would be having history of 24 months of data at any point of time.
there is a requirement that users would be querying based on a month and year only for their reports ,not on the PI of the table.
Any month would be having appx. 120 GB data (after looking at the volume).
Solution -->
we are planning to have column (yr_mon) in table which would be storing the month & year so that there is no need to derive the month and year during the run time in a query.
We were planning to make yr_mon as PPI of this new table but as we know that in order to make the queries efficient pi and ppi should be
used together in order for the faster retreival however in this case User would only be knowing the month and year for querying hence
there would be a redistribution in absence of PI in queries,hence not going for PPI.
Finally we are thinking of making a NUSI on (yr_mon) column for fast retreival on this column alone.
Your opinions on the above pls.. thanks in advance..
cheers!
Nishant