Basically I have an XML file from an external server.
Xml correlation has one parameter value = n value now N can only be between 1 and 30
Whatever I choose, there will always be 4000 lines returned from the XML file. My script will call this xml file 30 times for each value once a day. So there are 120,000 lines. I will make fairly complex queries on these lines. But the main thing is that I will always first filter by value, therefore SELECT * WHERE value = 'N', etc. It will ALWAYS be used.
Now is it better to have one table where all 120k rows are stored? or 30 tables were saved 4k rows?
EDIT: The SQL database in question will be MySQL
EDIT: just to make it clearer, the data will be UPDATED every day, so the old tables will be overwritten, I don't want any archive solutions, just the best way to save the data so that there are as few performance bottlenecks as possible, the database results post-output data will be cached and also updated daily.
EDIT: I guess I'm too vague for my own good :( Basically, channels are leaderboards, each value is a different place in the leaderboard.
The values will be updated only if the position in the leaderboard changes, and there will always be only 120 thousand lines. no more, no less.
Let's say:
This is the current leaderboard and the next update that the feed returns:
2 3 . , :)
> . <:
12 1 . , , , , 80 , .