Jump to content
  • Greetings Guest!

    CheersandGears.com was founded in 2001 and is one of the oldest continuously operating automotive forums out there.  Come see why we have users who visit nearly every day for the past 16+ years. Signup is fast and free, or you can opt for a premium subscription to view the site ad-free.

Sign in to follow this  

"Views" counter stuck on ZERO?

Recommended Posts

Can anyone tell us why the "views" counter is stuck at "0" in some threads? It's disconcerting. Thanks. Edited by ocnblu

Share this post

Link to post
Share on other sites

It eventually seems to catch up - really strange quirk.

I've requested that some of our more tech-oriented folks look into it.

Share this post

Link to post
Share on other sites

It's not broken. The automatic update of the "Views" counter is turned down to three hours. It is a performance issue.

Here is why:

Update Topic Views Immediately How can I tell if I need this?

If enabled, the topic views counter will be updated as one loads a topic. If not enabled, the topic views will be written to another table and the topic views updated every 3 hours. This will significantly reduce overhead on the topics table if you have a very busy board as it overcomes the write lock initiated when the topic counter is updated.

Often times with large boards updating the topic views can cause issues. Since the topics database table is accessed every time someone views a topic, it can put a strain on the table and lock queries as a result. Setting this option to No will update the views every 6 hours. While all views will be counted, the topic counter will not be updated right away to help reduce the chance of this table being locked. This setting is recommended for large/active boards.

Share this post

Link to post
Share on other sites

When thread views (and other things) are set to update in real time, it's a drain on the server...

Share this post

Link to post
Share on other sites

Your content will need to be approved by a moderator

You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

About us

CheersandGears.com - Founded 2001

We ♥ Cars

Get in touch

Follow us

Recent tweets



Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.