[risolto] Troppe query, Aruba mi blocca una tabella del database.
-
Ciao a tutti.
Utilizzo WP 3.1 su server linux.Oggi aruba mi ha comunicato che ha bloccato la mia tabella _comments nel mio database in quanto
"genera un numero di query molto elevato e costante, che finisce con il rallentare il server Database Mysql."
Io attualmente ho i seguenti plugin attivati:
Add Sig
AddThis Social Bookmarking Widget
Akismet
Category Icons
Executable PHP widget
Extended Recent Comments
PhotoXhibit
Post Layout
PostLift
Sidebar Login
Really Simple CAPTCHA
Smart Youtube
Twitter Goodies
User Locker
WordPress.com Stats
WP-Polls
WP-reCAPTCHA
WP Geo
WP_IdenticonAruba mi ha anche inviato la query in questione:
EXPLAIN SELECT DISTINCT ID, post_title, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type,comment_author_url, SUBSTRING(comment_content,1,50) AS com_excerpt FROM wp5mzf9f_comments LEFT OUTER JOIN wp5mzf9f_posts ON (wp5mzf9f_comments.comment_post_ID = wp5mzf9f_posts.ID) WHERE comment_approved = '1' AND comment_type = '' AND post_password = '' ORDER BY comment_date_gmt DESC LIMIT 10: *** row 1 *** table: wp5mzf9f_comments type: ref possible_keys: comment_approved,comment_post_ID,comment_approved_date_gmt key: comment_approved_date_gmt key_len: 22 ref: const rows: 32627 Extra: Using where; Using temporary; Using filesort *** row 2 *** table: wp5mzf9f_posts type: eq_ref possible_keys: PRIMARY key: PRIMARY key_len: 8 ref: Sql219338_1.wp5mzf9f_comments.comment_post_ID rows: 1 Extra: Using whereOra, io non ci capisco moltissimo, mi potete aiutare a capire qual'è il plugin o comunque dove risiede il problema delle eccesive query?
Grazie a chi vorrà gentilmente aiutarmi.
-
-
-
-
-
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi