Reputation: 581
I have a requirement like running 'n' numbers of select
queries at fixed time intervals and storing that data. These results need to be pulled later upon a client's demand.
My question is:
Please suggest any compression techniques to store these query results; also, is it possible to store only revisions of previous resultsets instead of storing the whole resultset?
note:
I am new to computer science and programming and also not very aware about storage or db designs.
Upvotes: 0
Views: 534
Reputation: 977
I think you need to store the data in a database. SQL database can serve you the best. Regarding to storing the data in fixed interval of time, you just need to make effect of the change in the data set instead of storing the whole data again and again. I don't know what is your requirement and how much infrastructure you can afford. If you have such huge queries, I recommend you to work in Distributed System. Use NOSQL database for better performance.
Upvotes: 0
Reputation: 8273
Performance-wise I suppose it would be better to have a table which purpose is to store the query results.
Upvotes: 0