How does mysql design tables for daily data records?

problem description

there is a list that is incremented from time to time. Every day, the data in the list should be queried on a website to check whether the data appears on a website and record the results every day. At least the query results in the last 60 days need to be retained. How should the table be designed?

the environmental background of the problems and what methods you have tried

I have tried to build a table every day. Although the demand can be met, it doesn"t feel right. Is there a better solution?

Dec.28,2021

have you considered


this requirement that any table has a field that records the date, and no subtable

is needed at all?
Menu