Check the slow queries for my site, and it shows this:
Query
SELECT ID, post_title
FROM www_posts
WHERE post_status = "publish"
AND post_type IN ("post", "page")
Caller
acym_loadObjectList()
wp-content/plugins/acymailing/back/libraries/wordpress/database.php:27
plgAcymPost->getPosts()
wp-content/plugins/acymailing/back/dynamics/post/plugin.php:453
acym_trigger()
wp-content/plugins/acymailing/back/helpers/global/addon.php:33
AcyMailing\Init\acyGutenberg->registerBlockSubscription()
wp-content/plugins/acymailing/wpinit/gutenberg.php:45
AcyMailing\Init\acyGutenberg->registerBlock()
wp-content/plugins/acymailing/wpinit/gutenberg.php:38
AcyMailing\Init\acyGutenberg->__construct()
wp-content/plugins/acymailing/wpinit/gutenberg.php:18
acymailingLoader->initAcyMailing()
wp-content/plugins/acymailing/index.php:110
do_action('init')
wp-includes/plugin.php:517
Component
Plugin: acymailing
I have a lot of posts in my site (over 30,000 posts). It seems acymailing runs this query when every page is loaded every time. Just don't know why this query is needed when load the page.
Is there any setting for disable it? Or I missed anything? Or it's necessary?
Thanks,
Lomu