Keyword

Database Crash Issue

  • ashish
  • ashish's Avatar Topic Author
  • Offline
  • New Member
More
10 years 6 months ago #126032 by ashish
Database Crash Issue was created by ashish
Hello All,

I am using K2 with my site. My hosting team disabled the DB as due to some huge records by jos_k2_comment issue.

Please find below response from them

SELECT * FROM jos_k2_comments WHERE itemID=8 AND published=1 ORDER BY commentDate DESC LIMIT 2884440, 10 EXPLAIN: id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE jos_k2_comments ref itemID,published,latestComments itemID 4 const 2924535 Using where; Using filesort This query examines 2,924,535 rows, which is unacceptable



Please help me to figure this out.

Thanks

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

More
10 years 6 months ago #126033 by Lefteris
Replied by Lefteris on topic Re: Database Crash Issue
Hi. Do you have 2,924,535 comments in your site? Then probably you have left K2 comments public and unprotected from spam. If your site is not using comments go to K2 parameters and disable them. If your site has comments only for logged in users set the comments option to "only for registered". Finally if your site is using comments enable one of the antispam solutions in K2 parameters.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum