![sp_Related](https://www.cyberseo.net/wp-content/sp-resources/forum-plugins/tags/resources/images/sp_Related.png)
![sp_TopicIcon](https://www.cyberseo.net/wp-content/sp-resources/forum-themes/default/images/sp_TopicIcon.png)
![Topic Rating: 0 Topic Rating: 0](https://www.cyberseo.net/wp-content/sp-resources/forum-plugins/post-rating/resources/images/sp_RateStarOff.png)
![Topic Rating: 0 Topic Rating: 0](https://www.cyberseo.net/wp-content/sp-resources/forum-plugins/post-rating/resources/images/sp_RateStarOff.png)
![Topic Rating: 0 Topic Rating: 0](https://www.cyberseo.net/wp-content/sp-resources/forum-plugins/post-rating/resources/images/sp_RateStarOff.png)
![Topic Rating: 0 Topic Rating: 0](https://www.cyberseo.net/wp-content/sp-resources/forum-plugins/post-rating/resources/images/sp_RateStarOff.png)
![Topic Rating: 0 Topic Rating: 0](https://www.cyberseo.net/wp-content/sp-resources/forum-plugins/post-rating/resources/images/sp_RateStarOff.png)
3:09 pm
![Avatar](https://www.cyberseo.net/wp-content/forum-avatars/defaults/userdefault.png)
May 11, 2017
![sp_UserOfflineSmall](https://www.cyberseo.net/wp-content/sp-resources/forum-themes/default/images/sp_UserOfflineSmall.png)
Hello,
I received few notices from my hosting provider that I run plenty of slow queries like that:
# Query_time: 2.024816 Lock_time: 0.000051 Rows_sent: 5 Rows_examined: 341525
use bmwshper_abcd;
SET timestamp=1511332396;
SELECT ID FROM wp_2_posts as posts, wp_2_postmeta as postmeta WHERE posts.ID = postmeta.post_id AND (((postmeta.meta_key = 'cyberseo_post_name' AND postmeta.meta_value = 'in-the-news-altschool-to-close-elementary-school-in-manhattans-east-village-by-education-next') OR (posts.post_name = 'in-the-news-altschool-to-close-elementary-school-in-manhattans-east-village-by-education-next')) OR (posts.guid = 'Login to see this link)) AND posts.post_status NOT IN ('trash') AND posts.post_type NOT IN ('attachment', 'revision', 'nav_menu_item');
I suppose this is the duplicate post checking query. Is there a way to optimize this?
Most Users Ever Online: 541
Currently Online:
12 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
ninja321: 86
s.baryshev.aoasp: 68
Freedom: 61
harboot: 56
Pandermos: 54
MediFormatica: 49
Member Stats:
Guest Posters: 337
Members: 2899
Moderators: 0
Admins: 1
Forum Stats:
Groups: 1
Forums: 5
Topics: 1674
Posts: 8532
Newest Members:
ron.cloudycreek, miondsettowin, mieeimgroup, shopmazza, mag_one_net, 4aff.pmAdministrators: CyberSEO: 4026