简体   繁体   English

Drupal Devel模块查询日志

[英]Drupal Devel module query log

I have a newly completed Drupal site and somewhere along the line I picked up a bug where the time to first byte is taking 10-12sec. 我有一个新近完成的Drupal站点,并且在某个地方找到了一个错误,该错误导致第一个字节的时间花费10-12秒。 At first glance it appears that the issue is with the DB queries. 乍看之下,问题似乎出在数据库查询上。

So, I loaded the Devel Module to start debugging the queries but I cant activate the query log options since the the host of this domain has the ridiculously old v3.2.1 Zend Optimizer running on the server and wont upgrade or disable it for me. 因此,我加载了Devel模块以开始调试查询,但是由于该域的主机在服务器上运行了可笑的Zend Optimizer v3.2.1,并且无法为我升级或禁用它,因此我无法激活查询日志选项。

So my question is, What alternative do I have to Devel Module to debug the DB queries? 所以我的问题是,我必须使用Devel Module来调试数据库查询吗? Anything would be appreciated... Module or a manual way of reviewing such queries for issues. 任何事情都将不胜感激...审查此类问题的模块或手动方法。

Its Drupal 7.3 on an IIS server with basically no control over the server configuration. IIS服务器上的Drupal 7.3基本无法控制服务器配置。

the best thing you can do is to copy whole drupal installation and get it running on your local machine, then you will be able to use devel module, but also other mysql debugging tools. 最好的办法是复制整个drupal安装并在本地计算机上运行它,然后您将能够使用devel模块,以及其他mysql调试工具。

maybe you will find out that drupal is running smooth on local machine, then you will need to change your server configuration or change provider. 也许您会发现drupal在本地计算机上运行平稳,那么您将需要更改服务器配置或更改提供程序。 big drupal sites needs really big server customizations, testing and optimalisations 大型Drupal网站需要真正的大型服务器自定义,测试和优化

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM