MySQL Forums
Forum List  »  Performance

Re: Massive SELECTs for a hit counter
Posted by: Peter Zaitsev
Date: December 15, 2004 01:19PM

This seems like very typical problem for users implementing Web statistics
or other "log analyses" in MySQL.

There are several approaches here

1) maintain counters. This works great if you have just couple of simple stats

2) update the data periodically, ie during the night.

3) do "incremental" updates for your data live or periodically.

Last one is actually pretty tricky if you would want to count unique users per period of time etc.

Options: Reply• Quote


Subject
Views
Written By
Posted
4105
December 13, 2004 04:18PM
2665
December 14, 2004 11:45AM
2488
December 14, 2004 08:06PM
2567
December 14, 2004 12:55PM
2390
December 14, 2004 11:35PM
4071
December 16, 2004 01:45AM
Re: Massive SELECTs for a hit counter
2686
December 15, 2004 01:19PM
2608
December 15, 2004 01:39PM
2473
December 15, 2004 01:53PM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.