Having performance issue with posts-to-posts plugin
-
Hi
I have been experiencing intermittent issues where generated mysql statements are causing performance problems. I think this is due to them deadlocking each other while waiting for the statements to complete.
The start of the statement looks like this:
SELECT
dmg_posts. * ,
dmg_p2p. * FROM
dmg_postsINNER JOIN
dmg_p2pWHERE ? = ? AND
dmg_posts.
post_type= ? AND (
dmg_posts.
post_status= ? OR
dmg_posts.
post_status= ? ) AND
dmg_posts.
post_status= ? AND (
dmg_p2p.
p2p_type= ? AND ( (
dmg_posts.
ID=
dmg_p2p.
p2p_toAND
dmg_p2p.
p2p_fromIN ( SELECT
dmg_posts.
IDFROM
dmg_postsWHERE ? = ? AND
dmg_posts.
IDIN (...) AND
dmg_posts.
post_type= ? AND (
dmg_posts.
post_stat`Please help me solve this. I have this issue from long time.
- The topic ‘Having performance issue with posts-to-posts plugin’ is closed to new replies.