a slow DB query runs on every page load
-
Hello,
Using Query Monitor we’ve detected There is a very long query running on every page load:select * from wcsc_logs where ( ( end IS NULL ) or ( ( coalesce( result, '' ) != '' ) and ( result NOT IN ( 'skipped','completed','exited','in progress' ) ) ) ) and ( start > 16673982980000 ) and ( hook_name != 'wcsc_wp_cron' )
This DB query increase the load time of every page by about 1 second, deactivating the plugin speeds up the website by 1 second, that is a lot. The rest of the DB queries made for the page generation each take less than 0.01 seconds.
How can this be resolved?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘a slow DB query runs on every page load’ is closed to new replies.