I wrote a php/mysql based banners serving application.
When a banner is viewed or clicked, the app log the event in a mysql table called "LOG".
I'm using this same table to display clients stats.
LOG table contains (ip,browser,time,date,viewer,banner,client...)
each feild is important for reporting
My problem now is : When the application serves millions of banners the "LOG" table will cause delivery slow.
And when I purge data from "LOG" table my clients won't see thier stats data.
Anyone have a great idea to solve this prob ?
Thanks