tim_kinder
07-05-2006, 03:09 AM
Hello,
I'm trying to run statistics on visiting logs of relatively busy site (few thousands unique ip's per day, about 10 registered clicks whithin the site from each of them - after 1 year it'll make ~5 millions records in one table and ~50 millions in another).
I have a dedicated computer (P4 3 Ghz, 500Mb RAM) running Windows XP SP2, IIS (just to provide a web interface to MySQL), MySQL 5.0.22 (set up as default). Currently there are ~ 350,000 records in ip's table and ~3,500,000 in click's table (both MyISAM with indexes on most of the fields) - and it runs queries very slow, much slower than I'd expect (5-10 sec. and more for simple queries). And I'm affraid what will happen in one year time.
Now the questions. Is MySQL suitable to operate with such amounts of data?
How can I increase the perfomance and make sure there are no hidden rocks?
Will appreciate any help.
Regards,
Tim Kinder
I'm trying to run statistics on visiting logs of relatively busy site (few thousands unique ip's per day, about 10 registered clicks whithin the site from each of them - after 1 year it'll make ~5 millions records in one table and ~50 millions in another).
I have a dedicated computer (P4 3 Ghz, 500Mb RAM) running Windows XP SP2, IIS (just to provide a web interface to MySQL), MySQL 5.0.22 (set up as default). Currently there are ~ 350,000 records in ip's table and ~3,500,000 in click's table (both MyISAM with indexes on most of the fields) - and it runs queries very slow, much slower than I'd expect (5-10 sec. and more for simple queries). And I'm affraid what will happen in one year time.
Now the questions. Is MySQL suitable to operate with such amounts of data?
How can I increase the perfomance and make sure there are no hidden rocks?
Will appreciate any help.
Regards,
Tim Kinder