前提・実現したいこと
wpXのサーバーを利用してワードプレスでサイトを作っているのですが、
「著しく高いデータベース負荷」で制限をかけられてしまいました。
その制限を解除するため、原因を探ろうと負荷上昇時の以下のクエリを見せてもらったのですが、何が原因なのか分かりませんでした。
お手数をおかけしますが、以下のクエリから何が原因で負荷がかかっているのご教授して頂けないでしょうか?
発生している問題・エラーメッセージ
該当のソースコード
▼負荷上昇時のクエリ --------------------------------------------------- 371926:mail:cpanel:Sleep:11:: 371983:mail:cpanel:Sleep:20:: 371994:mail:cpanel:Sleep:2:: 449087:mail:cpanel:Sleep:2:: 501520:mail:cpanel:Sleep:32:: 792144:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%0.gif%' AND meta_key = '_wp_attached_file' 792148:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%0.gif%' AND meta_key = '_wp_attached_file' 792150:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%0.gif%' AND meta_key = '_wp_attached_file' 792168:deleu_wt1:deleu_wt1:Query:2:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%sp/rr%' AND meta_key = '_wp_attached_file' 792183:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%0.gif%' AND meta_key = '_wp_attached_file' 792184:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%sp/rr%' AND meta_key = '_wp_attached_file' 792186:deleu_wt1:deleu_wt1:Query:0:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%svt/bgt%' AND meta_key = '_wp_attached_file' 792188:deleu_wt1:deleu_wt1:Query:0:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%0.gif%' AND meta_key = '_wp_attached_file' 792189:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%0.gif%' AND meta_key = '_wp_attached_file' 792191:deleu_wt1:deleu_wt1:Query:0:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%sp/rr%' AND meta_key = '_wp_attached_file' 792192:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%svt/bgt%' AND meta_key = '_wp_attached_file' 792193:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%0.gif%' AND meta_key = '_wp_attached_file' 792194:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%0.gif%' AND meta_key = '_wp_attached_file' 792197:deleu_wt1:deleu_wt1:Query:0:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%sp/rr%' AND meta_key = '_wp_attached_file' 792203:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%svt/bgt%' AND meta_key = '_wp_attached_file' 792204:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%sp/rr%' AND meta_key = '_wp_attached_file' 792207:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%0.gif%' AND meta_key = '_wp_attached_file' 792210:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%0.gif%' AND meta_key = '_wp_attached_file' 792211:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%wp-content/themes/keni80_wp_standard_all_201 792212:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%hsb/1cdf08bd.7665e3d0.17bd46e7.d0dd8d1b/%' A 792213:deleu_wt1:deleu_wt1:Query:0:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%svt/bgt%' AND meta_key = '_wp_attached_file' 792218:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%svt/bgt%' AND meta_key = '_wp_attached_file' 792219:deleu_wt1:deleu_wt1:Query:0:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%svt/bgt%' AND meta_key = '_wp_attached_file' 792221:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%hsb/1cdf08bd.7665e3d0.17bd46e7.d0dd8d1b/%' A 792224:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%svt/bgt%' AND meta_key = '_wp_attached_file' 792228:deleu_wt1:deleu_wt1:Query:0:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%svt/bgt%' AND meta_key = '_wp_attached_file' 792230:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%0.gif%' AND meta_key = '_wp_attached_file' 792231:deleu_wt1:deleu_wt1:Query:0:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%svt/bgt%' AND meta_key = '_wp_attached_file' 792232:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%wp-content/themes/keni80_wp_standard_all_201 792236:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%sp/rr%' AND meta_key = '_wp_attached_file' 792237:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%svt/bgt%' AND meta_key = '_wp_attached_file' 792238:deleu_wt1:deleu_wt1:Query:2:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%svt/bgt%' AND meta_key = '_wp_attached_file' 792239:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%svt/bgt%' AND meta_key = '_wp_attached_file' 792246:deleu_wt1:deleu_wt1:Query:0:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%svt/bgt%' AND meta_key = '_wp_attached_file' 792247:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%0.gif%' AND meta_key = '_wp_attached_file' 792251:deleu_wt1:deleu_wt1:Query:0:Sending data:SELECT ID FROM wp_posts WHERE guid LIKE '%lead/P9228A/P7477219/u312334X%' 792252:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%0.gif%' AND meta_key = '_wp_attached_file' 792253:deleu_wt1:deleu_wt1:Query:0:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%sp/rr%' AND meta_key = '_wp_attached_file' 792254:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%0.gif%' AND meta_key = '_wp_attached_file' 792259:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%svt/bgt%' AND meta_key = '_wp_attached_file' 792262:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%0.gif%' AND meta_key = '_wp_attached_file' 792264:deleu_wt1:deleu_wt1:Query:2:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%wp-content/themes/keni80_wp_standard_all_201 792266:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%0.gif%' AND meta_key = '_wp_attached_file' 792267:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%wp-content/themes/keni80_wp_standard_all_201 792269:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%svt/bgt%' AND meta_key = '_wp_attached_file' 792271:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%servlet/gifbanner%' AND meta_key = '_wp_atta 792272:deleu_wt1:deleu_wt1:Query:0:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%0.gif%' AND meta_key = '_wp_attached_file' 792277:mysqlroot::Query:0::SHOW PROCESSLIST 792278:mail:cpanel:Sleep:1:: 792279:mail:cpanel:Sleep:1:: 792280:mail:cpanel:Sleep:2:: 792281:mail:cpanel:Sleep:2:: 792282:deleu_wt1:deleu_wt1:Query:1:Sending data:SELECT post_id FROM wp_postmeta WHERE meta_value LIKE '%wp-content/themes/keni80_wp_standard_all_201 792284:deleu_wt1:deleu_wt1:Query:0:Sending data:SELECT ID FROM wp_posts WHERE guid LIKE '%wp-content/themes/keni80_wp_standard_all_201911240029/imag 792287:fackomi_w1:fackomi_w1:Sleep:0:: 792288:deleu_wt1:deleu_wt1:Query:0:Sending data:SELECT option_name, option_value FROM wp_options WHERE autoload = 'yes' ---------------------------------------------------
試したこと
補足情報(FW/ツールのバージョンなど)
サイトのテンプレートは「賢威」を使っています。
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/10/10 06:49
2020/10/10 07:07 編集
2020/10/10 07:30 編集
2020/10/10 07:33 編集
2020/10/10 07:44
2020/10/10 07:45
2020/10/10 07:49
2020/10/10 09:45
2020/10/10 09:47
2020/10/10 09:47
2020/10/10 09:57