AI Assistant
Notifications
Clear all

wpdiscuz: too many SQL queries

2 Posts
2 Users
0 Reactions
11.3 K Views
(@SydPorter)
New Member
Joined: 11 years ago
Posts: 1
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
  [#140]

I love your plugin, but I can't use it because of big amount of SQL queries. My pages usually generated with 30 queries, but after I enabled plugin the number of queries increased to 100+.

The plugin calls 60 or more SQL queries on pages with comments. Many of them has something to do with notifications. I disabled all of the notification in wpDiscuz options, but all of these notification queries still appear. There are too many queries like this:

  • WC_DB_Helper->wc_is_user_subscription_confirmed
  • WC_DB_Helper->wc_has_post_notificatio
  • WC_DB_Helper->wc_has_comment_notification
  • WC_DB_Helper->wc_has_all_comments_notification

Is there any way to reduce the number of queries?

Sorry for my english.



   
Quote
 Tom
(@tomson)
Famed Member Admin
Joined: 11 years ago
Posts: 4248
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Hi SydPorter,

Sure we're currently working on SQL optimization, we'll let you know once it done.



   
ReplyQuote
Share:
Scroll to top