I can have several tables with 10+ millions rows in by year.
I would to know what's the best approach to maintain responsiveness with this amount of datas and I have two ideas.
Don't touch these tables in the time, hoping that with the design of the database it will still be responsive despite data quantity
Copy the structure of these tables in archive tables and move old datas in, in order to keep "production tables" reduced
Or do you have other ideas?
I can't delete old datas because we have to make statistics over several years.