I am working on a system that should log every kind of page in a MySQL table. The view will be registered only if the visitor has not been on this page before in the past 24 hours. I am wondering if this would be a problem in terms of performance and database size.
The site that needs to do this is about 60,000 unique pageviews per day, so approximately 60,000 new lines are added per day (a little less than 1 time in 2 seconds). The table has only 3 columns: i_id , ip_address , timestamp . i_id is a foreign key to another table.
The table will be cleared at the end of each day using a CRON script.
Will there be any instant overstrain of the database by doing this? For example, if a site receives a surge in traffic (it runs fairly regularly), it can take up to 200,000 page views per day, which means more than 2 requests per second.
source share