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: ReplyQuote


Subject
Views
Written By
Posted
3691
December 13, 2004 04:18PM
2537
December 14, 2004 11:45AM
2346
December 14, 2004 08:06PM
2401
December 14, 2004 12:55PM
2252
December 14, 2004 11:35PM
3838
December 16, 2004 01:45AM
Re: Massive SELECTs for a hit counter
2546
December 15, 2004 01:19PM
2452
December 15, 2004 01:39PM
2350
December 15, 2004 01:53PM


Sorry, you can't reply to this topic. It has been closed.

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.