MySQL Forums
Forum List  »  Performance

Re: Massive SELECTs for a hit counter
Posted by: Thomas Seifert
Date: December 14, 2004 12:55PM

2 million rows are considered for that user and counted.
that takes some time I guess. should be much faster if not half of all the rows are from one user.

you should still just update a counter with each page-view as this will be magnitudes faster to retrieve.

Options: ReplyQuote


Subject
Views
Written By
Posted
3269
December 13, 2004 04:18PM
2326
December 14, 2004 11:45AM
2115
December 14, 2004 08:06PM
Re: Massive SELECTs for a hit counter
2168
December 14, 2004 12:55PM
2061
December 14, 2004 11:35PM
3421
December 16, 2004 01:45AM
2291
December 15, 2004 01:19PM
2252
December 15, 2004 01:39PM
2165
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.