aoepeople / aoe_profiler
Magento Profiler
v0.3.0
2013-10-27 00:28 UTC
Requires
This package is not auto-updated.
Last update: 2024-09-14 17:58:56 UTC
README
http://www.fabrizio-branca.de/magento-profiler.html
有关此扩展的 Magento 2 版本,请访问:https://github.com/perryholden/Holdenovi_Profiler
使用方法
将 aoe_profiler.xml.sample 文件复制到 var/aoe_profiler.xml,并查找有关该文件中设置含义的文档。
在系统 > 配置 > 开发者 > 调试 > 分析器中找到更多设置。
启用数据库分析
将其添加到您的 local.xml 中
<config> <global> <resources> <default_setup> <connection> <profiler>1</profiler> </connection> </default_setup> </resources> </global> </config>
注意
根据网站复杂度,分析运行过程中可能会收集大量数据。首先的问题是包含这些信息的数据表可能会增长。请检查清理任务的 cron 设置。
默认情况下,MySQL 将 max_allowed_packet 设置为 1 MB。一次分析运行可能会超过 1 MB。请检查 var/system.log 中的错误信息,并在我们的 MySQL 服务器设置(/etc/mysql/myconf)中增加此设置。(另请参阅:https://dev.mysqlserver.cn/doc/refman/5.1/en/packet-too-large.html)
[mysqld]
max_allowed_packet=16M