dongyun51582 2014-09-03 21:57
浏览 73

什么导致减速Magento速度

Right now i am upgrading a Magento store (Having 1.5GB database after deleting logs) from 1.6 to 1.8. I have configured the project on my local development environment but i have found that the Magento instance is running very slow (15 min to display a single page)

I have started debugging the code and found that below code in app\code\core\Mage\Core\Controller\Vaelow rien\Front.php

while (!$request->isDispatched() && $i++<100) {
        foreach ($this->_routers as $router) {
            if ($router->match($this->getRequest())) {
                break;
            }
        }
    }

is taking too long time to execute. There was Approx 90 extension were install and i have removed most of them. Now only 15-20. Is there any way to identity and improve it ?

  • 写回答

3条回答 默认 最新

  • duangonglian6028 2014-09-04 03:43
    关注

    There are few Magento configuration. There is a need of a good hardware with Apache properly configured to handle.

    You first need to make sure your computer where you have installed is good enough to handle Magento with that big data base.

    Once done you need to look at configuration points: 1. Cache should be on and is writable. 2. Disbale unwanted modules. 3. Switch on profiler to make our which part of code is consuming lot of time. 4. Use of flat catalog. 5. Run indexing to make sure flat table is in use.

    Also : Tweaking magento for performance has lots of speed related pointers.

    评论

报告相同问题?

悬赏问题

  • ¥17 pro*C预编译“闪回查询”报错SCN不能识别
  • ¥15 微信会员卡接入微信支付商户号收款
  • ¥15 如何获取烟草零售终端数据
  • ¥15 数学建模招标中位数问题
  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向