I'm building a MySQL database to store information on my websites such as traffic stats (from Google analytics), lead conversions and affiliate sales.
I've been searching and searching but can't find any useful info on how to best handle the historical data (I probably don't even know the search terms I should be using).
I want to update the DB each week and be able to keep the historical data so I can measure ongoing performance and draw my own graphs etc just like Google analytics but with conversion and revenue data as well.
What's the most effective and efficient way to update the DB each week and retain the previous data in each table? Some fields won't be updated but some will.
I've been searching and searching but can't find any useful info on how to best handle the historical data (I probably don't even know the search terms I should be using).
I want to update the DB each week and be able to keep the historical data so I can measure ongoing performance and draw my own graphs etc just like Google analytics but with conversion and revenue data as well.
What's the most effective and efficient way to update the DB each week and retain the previous data in each table? Some fields won't be updated but some will.
Comment