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
3877
December 13, 2004 04:18PM
2609
December 14, 2004 11:45AM
2420
December 14, 2004 08:06PM
Re: Massive SELECTs for a hit counter
2495
December 14, 2004 12:55PM
2330
December 14, 2004 11:35PM
3991
December 16, 2004 01:45AM
2621
December 15, 2004 01:19PM
2546
December 15, 2004 01:39PM
2427
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.