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
3422
December 13, 2004 04:18PM
2399
December 14, 2004 11:45AM
2182
December 14, 2004 08:06PM
Re: Massive SELECTs for a hit counter
2253
December 14, 2004 12:55PM
2126
December 14, 2004 11:35PM
3623
December 16, 2004 01:45AM
2368
December 15, 2004 01:19PM
2322
December 15, 2004 01:39PM
2227
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.