I have a table which is getting populated in real time - getting new data almost every minute or so. Additionally I need to retrieve and process the new data as and when it comes into the system. What kind of structuring you think will be appropriate in this scenario?
Each data rows is limited in size - maximun 40 bytes.
I think of keeping a Recent_Data table that will capture the incoming data and replicating this data to Old_Data table that will get populated simultaneously with Recent_Data table.
As number of rows will grow with time, I will keep data for a certain period in Recent_Data. Though Old_Data will contain past data as well as Recent_Data because I need to have access to both recent and past data.
My Select operations for past data can be directed to Old_Data and for recent data I will access Recent_Data. Do you think this is good to access Recent_Data when at the same time this might be receiving the incoming data (as I said, data inflow is frequent).
Suggestions are invited!
Megha