Re: Massive SELECTs for a hit counter
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.
Subject
Views
Written By
Posted
3431
December 13, 2004 04:18PM
2281
December 13, 2004 10:42PM
2404
December 14, 2004 11:45AM
2237
December 14, 2004 12:48PM
2188
December 14, 2004 08:06PM
2263
December 14, 2004 12:55PM
2127
December 14, 2004 11:35PM
3625
December 16, 2004 01:45AM
Re: Massive SELECTs for a hit counter
2371
December 15, 2004 01:19PM
2324
December 15, 2004 01:39PM
2228
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.