如何找到 joomla 的哪个部分正在减慢我的系统速度?
我在 mysql 中有这个慢查询:
Count: 59 Time=14.19s (837s) Lock=0.00s (0s) Rows=1.5 (87), fmrh[fmrh]@localhost
SELECT DISTINCT v.id
FROM jos_custom_properties_fields AS f
INNER JOIN jos_custom_properties_values as v
LEFT JOIN jos_jf_content AS jfcf ON jfcf.reference_id = f.id
LEFT JOIN jos_languages as jflf ON jfcf.language_id = jflf.id
LEFT JOIN jos_jf_content AS jfcv ON jfcv.reference_id = v.id
LEFT JOIN jos_languages as jflv ON jfcv.language_id = jflv.id
WHERE f.access <= 'S'
AND ( (jfcf.value = 'S' AND jflf.code = 'S')
OR f.label = 'S' )
AND ( (jfcv.value = 'S' AND jflv.code = 'S')
OR v.label = 'S' )
但我不知道它在 joomla 中的何处使用。 它是一个单一主机,会降低只有 2 个用户的 4 核 VMachine 的速度。 开发人员/集成商不再可用,我不知道我能做些什么来检测导致这种情况发生的 joomla 扩展。我认为这是 joomla-fish 但我不确定。
jfcf.value = 'S' 在 60Mb 表中的 MEDIUM TEXT 字段中进行搜索,我认为这不正确。
预先感谢您抽出时间。
维森特
I've this slow query in mysql :
Count: 59 Time=14.19s (837s) Lock=0.00s (0s) Rows=1.5 (87), fmrh[fmrh]@localhost
SELECT DISTINCT v.id
FROM jos_custom_properties_fields AS f
INNER JOIN jos_custom_properties_values as v
LEFT JOIN jos_jf_content AS jfcf ON jfcf.reference_id = f.id
LEFT JOIN jos_languages as jflf ON jfcf.language_id = jflf.id
LEFT JOIN jos_jf_content AS jfcv ON jfcv.reference_id = v.id
LEFT JOIN jos_languages as jflv ON jfcv.language_id = jflv.id
WHERE f.access <= 'S'
AND ( (jfcf.value = 'S' AND jflf.code = 'S')
OR f.label = 'S' )
AND ( (jfcv.value = 'S' AND jflv.code = 'S')
OR v.label = 'S' )
but I don't where in the joomla it's used.
It's a single hosting that slows down a 4 core VMachine whith only 2 users.
The developper/integrator is not available any more, and I don't know what I can do to detect the joomla-extension that is making this happen. I think it's joomla-fish but I'm not sure.
jfcf.value = 'S' makes a search among a MEDIUM TEXT field in a table with 60Mb, I think this is not wright.
Thank you in advance for your time.
Vicente
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为jos_jf_content表中的value列创建索引,执行速度会提高
create an index for the value column in jos_jf_content table, the execution speed will increase