Commit ee04182a authored by Jérome Perrin's avatar Jérome Perrin

measures from py3

parent f72c15bc
This source diff could not be displayed because it is too large. You can view the blob instead.
# 4.5s user time, 30ms system time, 29.65M rss, 37.04M vsz
# Current date: Sun Oct 13 17:43:36 2024
# Hostname: vifibcloud-rapidspace-hosting-019
# Files: /srv/slapgrid/slappart15/srv/runner/instance/slappart7/tmp/inst/s3/var/log/mariadb_slowquery.log
# Overall: 4.79k total, 10 unique, 0.42 QPS, 0.76x concurrency ___________
# Time range: 2024-10-13 14:32:57 to 17:41:20
# Attribute total min max avg 95% stddev median
# ============ ======= ======= ======= ======= ======= ======= =======
# Exec time 8589s 1s 5s 2s 3s 546ms 2s
# Lock time 2s 0 32ms 333us 626us 829us 224us
# Rows sent 41.15k 0 165 8.79 9.83 4.25 8.91
# Rows examine 5.29G 0 8.49M 1.13M 2.05M 1.41M 871.90k
# Rows affecte 1.59k 0 553 0.34 0 13.22 0
# Bytes sent 3.54M 11 8.42k 774.65 833.10 243.26 793.42
# Query size 11.16M 6 64.79k 2.38k 2.38k 1.64k 2.38k
# Profile
# Rank Query ID Response time Calls R/Call V/M Item
# ==== ================== =============== ===== ====== ===== =============
# 1 0xA01AA9F9D3955EF6 8235.0022 95.9% 4562 1.8051 0.14 SELECT stock category catalog category
# 2 0x0B2526E88FC6F3BE 331.2282 3.9% 217 1.5264 0.85 SELECT
# MISC 0xMISC 22.8084 0.3% 15 1.5206 0.0 <8 ITEMS>
# Query 1: 0.45 QPS, 0.81x concurrency, ID 0xA01AA9F9D3955EF6 at byte 11787136
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.14
# Time range: 2024-10-13 14:52:45 to 17:41:20
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 95 4562
# Exec time 95 8235s 1s 3s 2s 3s 497ms 2s
# Lock time 98 2s 135us 32ms 344us 626us 838us 236us
# Rows sent 97 40.20k 7 10 9.02 9.83 0.87 8.91
# Rows examine 99 5.29G 448.14k 8.49M 1.19M 5.99M 1.42M 871.90k
# Rows affecte 0 0 0 0 0 0 0 0
# Bytes sent 98 3.49M 659 869 801.13 833.10 47.33 793.42
# Query size 96 10.81M 2.43k 2.43k 2.43k 2.38k 0 2.38k
# String:
# Databases erp5
# Hosts 10.0.44.65
# Users user
# Query_time distribution
# 1us
# 10us
# 100us
# 1ms
# 10ms
# 100ms
# 1s ################################################################
# 10s+
# Tables
# SHOW TABLE STATUS FROM `erp5` LIKE 'stock'\G
# SHOW CREATE TABLE `erp5`.`stock`\G
# SHOW TABLE STATUS FROM `erp5` LIKE 'category'\G
# SHOW CREATE TABLE `erp5`.`category`\G
# SHOW TABLE STATUS FROM `erp5` LIKE 'catalog'\G
# SHOW CREATE TABLE `erp5`.`catalog`\G
# EXPLAIN /*!50100 PARTITIONS*/
SELECT DISTINCT
catalog.path, catalog.uid ,`related_delivery_uid_1_category`.`category_uid` AS `delivery_uid`
FROM
(
(
(
(
(
(
catalog AS `catalog`
INNER JOIN
stock AS `stock`
ON
`stock`.`uid` = `catalog`.`uid`
)
INNER JOIN
category AS `related_causality_uid_1_category`
ON
related_causality_uid_1_category.base_category_uid = 202 AND
related_causality_uid_1_category.uid = catalog.uid
)
INNER JOIN
(
stock AS `related_explanation_portal_type_stock`
INNER JOIN
catalog AS `related_explanation_portal_type_1_catalog`
ON
related_explanation_portal_type_1_catalog.uid = related_explanation_portal_type_stock.explanation_uid
)
ON
related_explanation_portal_type_stock.uid = catalog.uid
)
INNER JOIN
(
category AS `related_parent_specialise_portal_type_category`
INNER JOIN
catalog AS `related_parent_specialise_portal_type_1_catalog`
ON
related_parent_specialise_portal_type_category.base_category_uid = 178 AND
related_parent_specialise_portal_type_1_catalog.uid = related_parent_specialise_portal_type_category.category_uid
)
ON
related_parent_specialise_portal_type_category.uid = catalog.parent_uid
)
INNER JOIN
(
catalog AS `related_grand_parent_simulation_state_catalog`
INNER JOIN
catalog AS `related_grand_parent_simulation_state_1_catalog`
ON
related_grand_parent_simulation_state_1_catalog.uid = related_grand_parent_simulation_state_catalog.parent_uid
)
ON
related_grand_parent_simulation_state_catalog.uid = catalog.parent_uid
)
LEFT JOIN
category AS `related_delivery_uid_1_category`
ON
related_delivery_uid_1_category.base_category_uid = 207 AND
related_delivery_uid_1_category.uid = catalog.uid
)
WHERE
1 = 1
AND (`catalog`.`portal_type` = 'Simulation Movement'
AND `stock`.`explanation_uid` = 1640805
AND `related_causality_uid_1_category`.`category_uid` = 12333
AND `related_explanation_portal_type_1_catalog`.`portal_type` = 'Sale Order'
AND `related_parent_specialise_portal_type_1_catalog`.`portal_type` = 'Delivery Simulation Rule'
AND `related_grand_parent_simulation_state_1_catalog`.`simulation_state` = 'confirmed'
AND `related_delivery_uid_1_category`.`category_uid` IS NULL
AND (`catalog`.`viewable_owner` = 'zope'
OR `catalog`.`security_uid` IN (14, 15, 16, 20, 21, 22, 28, 29, 30, 31, 33, 34, 35, 37, 39, 40, 41, 42, 43, 44)))
GROUP BY
`catalog`.`uid`\G
# Query 2: 0.02 QPS, 0.03x concurrency, ID 0x0B2526E88FC6F3BE at byte 2024
# This item is included in the report because it matches --outliers.
# Scores: V/M = 0.85
# Time range: 2024-10-13 14:32:57 to 17:34:08
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 4 217
# Exec time 3 331s 1s 5s 2s 4s 1s 992ms
# Lock time 0 0 0 0 0 0 0 0
# Rows sent 0 217 1 1 1 1 0 1
# Rows examine 0 0 0 0 0 0 0 0
# Rows affecte 0 0 0 0 0 0 0 0
# Bytes sent 0 17.80k 84 84 84 84 0 84
# Query size 0 7.63k 36 36 36 36 0 36
# String:
# Databases erp5
# Hosts 10.0.44.65
# Users user
# Query_time distribution
# 1us
# 10us
# 100us
# 1ms
# 10ms
# 100ms
# 1s ################################################################
# 10s+
# EXPLAIN /*!50100 PARTITIONS*/
SELECT GET_LOCK('ZMySQLDA(erp5)', 5)\G
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment