Disable Hits item record?

More
8 years 1 month ago #65279 by lipatovroman
Hi!
I know, that when user opens any item on site - FC (and Joomla) stores in DB table com_content HIts counter.
So, if site have very big traffic - this is a very slow site speed.

Is it possible to disable this?

Also question: what else FC stores in DB on each user visit on item page.
Thanks.

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago - 8 years 1 month ago #65280 by ggppdk
Replied by ggppdk on topic Disable Hits item record?
Hello

yes the DB updates are much more of a concern than SELECTs
AND IF you use MyISAM then an update locks the full content TABLE ... which may slow down your website
- if you are using innoDB then you have no such problem (and J3 does work with innoDB properly)

- also selects can be cached by your DB server in short periods
- plus you can enable Joomla caching to avoid most of them completely
- and we have done a lot of work to avoid optimize SELECT queries that could have been expensive

----

About DB table "updates / inserts"
- yes, we only update the content / category view tables with the hits counter

but we do this even when view caching and page cache plugin
and joomla also did same thing in J3.5+ making hits work even when caching is ON

----

Now if you have access to MySQL configuration ... some VPS are "sharing" the DB server and will not allow you to change MySQL config then you can do more optimizations, read more here:


Updating the Hits Counter on Your Joomla Website Taking a Long Time? Read This!


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 8 years 1 month ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #65281 by ggppdk
Replied by ggppdk on topic Disable Hits item record?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago - 8 years 1 month ago #65282 by lipatovroman

ggppdk wrote: Hello

yes the DB updates are much more of a concern than SELECTs
AND IF you use MyISAM then an update locks the full content TABLE ... which may slow down your website
- if you are using innoDB then you have no such problem (and J3 does work with innoDB properly)


Ok, my server supports both InnoDB and MyISAM. Should I do anything about this?
Last edit: 8 years 1 month ago by lipatovroman.

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #65284 by ggppdk
Replied by ggppdk on topic Disable Hits item record?
Hello

check that tables
#__content
#__category

are innodb

and also you may check that your MySQL cache is no more than 100 MBytes


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.415 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline