我的网站因为magento

时间:2016-06-01 08:23:00

标签: database magento optimization

服务器提供商提供此邮件: 大卫F. 2016年6月1日上午02:28 你好, 请不要为新问题打开旧票,因为这会延迟并混淆您的决议 我此时已将MySQL备份到您的服务器上。由于abc.com在其数据库中的优化不佳以及abc.com收到的流量,MySQL失败了。在一分钟内,域名收到了超过一千个请求。     首次参赛:2016年6月1日:12:31:00      最后入场时间:01 / Jun / 2016:12:31:570194102 B] 处理的行:0000001042 [196K / 0000201010 B]

      Total number of unique IP addresses:         41
                 Total number of requests:       1042
   Total number of unique request strings:        196
          Total number of unique referers:         15
       Total number of unique user agents:         28
        Total bandwidth sent in responses:        14M [  15267079B]

   Top 10 requesting IP Addresses based on count:
            COUNT:      313 / 30.04%  IP:  108.179.204.83  HOST: pre.abc.com
            COUNT:      171 / 16.41%  IP:    54.227.18.40  HOST: ec2-54-227-18-40.compute-1.amazonaws.com
            COUNT:      134 / 12.86%  IP:     54.163.6.82  HOST: ec2-54-163-6-82.compute-1.amazonaws.com
            COUNT:      131 / 12.57%  IP:   183.182.87.75  HOST: static-182-87-75.rpnspl.com
            COUNT:      105 / 10.08%  IP:     59.95.57.26  HOST: Unknown Host
            COUNT:       36 / 03.45%  IP:   54.196.238.20  HOST: ec2-54-196-238-20.compute-1.amazonaws.com
            COUNT:       31 / 02.98%  IP:   117.247.235.3  HOST: Unknown Host
            COUNT:       28 / 02.69%  IP:  123.201.52.244  HOST: 244-52-201-123.static.youbroadband.in
            COUNT:        9 / 00.86%  IP:  68.180.228.175  HOST: b110088.yse.yahoo.net
            COUNT:        9 / 00.86%  IP:   45.125.187.42  HOST: Unknown Host

   Top 10 Request Strings:
           Count:      340 / 32.63%     Request: "POST /index.php/api/soap/index/ HTTP/1.1"
           Count:      311 / 29.85%     Request: "GET /index.php/api/soap/index/?wsdl=1 HTTP/1.1"
           Count:       12 / 01.15%     Request: "GET / HTTP/1.1"
           Count:        5 / 00.48%     Request: "GET /media/catalog/product/cache/1/small_image/260x260/9df78eab33525d08d6e5fb8d27136e95/f/o/foodprocessor.png HTTP/1.1"
           Count:        5 / 00.48%     Request: "GET /media/catalog/product/cache/1/small_image/260x260/9df78eab33525d08d6e5fb8d27136e95/s/p/spray-mop.jpg HTTP/1.1"
           Count:        5 / 00.48%     Request: "GET /media/catalog/product/cache/1/small_image/260x260/9df78eab33525d08d6e5fb8d27136e95/4/2/42604_1_.jpg HTTP/1.1"
           Count:        4 / 00.38%     Request: "GET /media/catalog/product/cache/1/small_image/260x260/9df78eab33525d08d6e5fb8d27136e95/s/k/sku-700-gkh600sl.jpg HTTP/1.1"
           Count:        4 / 00.38%     Request: "GET /media/catalog/product/cache/1/small_image/260x260/9df78eab33525d08d6e5fb8d27136e95/s/k/sku-700-potg19pcr-red.jpg HTTP/1.1"
           Count:        4 / 00.38%     Request: "GET /skin/frontend/sns_simen/default/images/border.png HTTP/1.1"
           Count:        4 / 00.38%     Request: "GET /media/catalog/product/cache/1/small_image/260x260/9df78eab33525d08d6e5fb8d27136e95/s/k/sku-700-akh900cb.jpg HTTP/1.1"

   Top 10 User Agents:
           Count:      340 / 32.63%  User Agent: "PHP-SOAP/5.3.10-1ubuntu3.11"
           Count:      314 / 30.13%  User Agent: "-"
           Count:      131 / 12.57%  User Agent: "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/537.36"
           Count:      105 / 10.08%  User Agent: "Mozilla/5.0 (Linux; Android 5.0.2; vivo Y51L Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Mobile Safari/537.36"
           Count:       39 / 03.74%  User Agent: "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36"
           Count:       34 / 03.26%  User Agent: "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36"
           Count:       10 / 00.96%  User Agent: "Mozilla/5.0 (Windows NT 6.1; rv:46.0) Gecko/20100101 Firefox/46.0"
           Count:        9 / 00.86%  User Agent: "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)"
           Count:        9 / 00.86%  User Agent: "Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; NOKIA; Lumia 525) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537"
           Count:        7 / 00.67%  User Agent: "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0"

=============================================== ======================

我强烈建议您优化网站和数据库,以便减少资源消耗,或者再次发生这种情况。此外,您可以考虑使用Sitelock或Cloudflare等内容交付网络,以便在高流量时减轻服务器上的压力。

数据库:abc_live + ------------------------------------------------- + ---------- + ------------ + |表|专栏|总行数| + ------------------------------------------------- + ---------- + ------------ + | core_url_rewrite | 10 | 74108 | | customer_entity_varchar | 5 | 77885 | | log_url | 3 | 283444 | | log_url_info | 3 | 283444 | | log_visitor | 6 | 316794 | | log_visitor_info | 7 | 316794 | | m_fpc_crawler_url | 10 | 504698 | | m_fpc_log | 4 | 4144330 | | report_event | 7 | 87849 | | report_viewed_product_index | 6 | 64276 | | sales_flat_quote_address | 69 | 102544 | | sales_flat_quote_item | 54 | 57560 | | sales_flat_quote_item_option | 5 | 78328 |

如果您有任何其他问题或需要进一步说明,您可以随时回复此机票或通过我们的实时网络聊天系统(https://chat.hostgator.com/)或我们的美国/加拿大免费电话号码全天候联系我们( 866)96 - GATOR(42867)或我们的国际线00 + 1-713-574-5287。

所以请帮助我如何优化magento数据库,以便网站不受更多请求的影响。

0 个答案:

没有答案