From 7537122f8c902d6c7ae54ebccd924b25432cc591 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 14 Jan 2024 16:03:31 +0100 Subject: [PATCH] Update inspections.md Signed-off-by: Dennis Eichhorn --- quality/inspections.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/quality/inspections.md b/quality/inspections.md index fcde6ae..8260511 100755 --- a/quality/inspections.md +++ b/quality/inspections.md @@ -245,6 +245,15 @@ sitespeed.io ./Build/Helper/Scripts/sitespeedDemoUrls.txt -b chrome --outputFold 1. Download the latest trace from `http://vm_ip:82/Logs` 2. Drag and drop that downloaded `*.xt` file in the trace visualizer +### SQL performance + +With query profiling enabled you can inspect slow running queries that may need optimization. The threashold for slow running queries is defined at 0.5s. + +```sh +mysqldumpslow -t 10 /var/log/mysql/mysql-slow.log +mysqldumpslow -t 10 -s l /var/log/mysql/mysql-slow.log +``` + ### Custom scripts #### C++ tests