承接 gtstudio/module-querylog 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

gtstudio/module-querylog

最新稳定版本:1.0.1

Composer 安装命令:

composer require gtstudio/module-querylog

包简介

Show the slowest SQL queries on the storefront.

README 文档

README

gtstudio/module-querylog

Main Functionalities

This module helps you to debug and find database query bottlenecks. You will be able to see the query execution time, stack trace through the front end of the store in real time.

Installation

* = in production please use the --keep-generated option

Type 1: Zip file

  • Unzip the zip file in app/code/Gtstudio
  • Enable the module by running php bin/magento module:enable Gtstudio_QueryLog
  • Apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush

Type 2: Composer

  • Install the module composer by running composer require gtstudio/module-querylog
  • enable the module by running php bin/magento module:enable Gtstudio_QueryLog
  • apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush

Specifications

  • Console Command

    • dev:query-view:enable
  • Console Command

    • dev:query-view:disable

Usage

To enable you just need to run the following command :

bin/magento dev:query-view:enable --include-all-queries=1 --query-time-threshold=0.001 --include-call-stack=1.

To disable you must run the following command :

bin/magento dev:query-view:disable.

统计信息

  • 总下载量: 54
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 25
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 25
  • Watchers: 2
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-25