Commit 8ad7c20d authored by Jérome Perrin's avatar Jérome Perrin

compare BTrees 4.5.1 vs 4.11.3 and mariadb 10.3 vs 10.4

parent 93dc33c4
This source diff could not be displayed because it is too large. You can view the blob instead.
# 6.6s user time, 30ms system time, 32.33M rss, 39.32M vsz
# Current date: Fri Feb 24 01:05:02 2023
# Hostname: vifibcloud-rapidspace-hosting-019
# Files: /srv/slapgrid/slappart15/srv/runner/instance/slappart7/tmp/inst/s3/var/log/mariadb_slowquery.log
# Overall: 15.98k total, 15 unique, 1.34 QPS, 2.67x concurrency __________
# Time range: 2023-02-23 21:43:54 to 2023-02-24 01:02:45
# Attribute total min max avg 95% stddev median
# ============ ======= ======= ======= ======= ======= ======= =======
# Exec time 31858s 1s 8s 2s 3s 549ms 2s
# Lock time 6s 0 51ms 347us 596us 923us 247us
# Rows sent 8.50M 0 6.10M 557.45 9.83 50.29k 5.75
# Rows examine 10.99G 0 6.10M 721.09k 871.90k 157.13k 717.31k
# Rows affecte 718 0 608 0.04 0 4.76 0
# Bytes sent 631.69M 11 271.84M 40.47k 833.10 2.89M 592.07
# Query size 37.72M 6 58.16k 2.42k 2.38k 748.99 2.38k
# Profile
# Rank Query ID Response time Calls R/Call V/M Item
# ==== ================== ================ ===== ====== ===== ============
# 1 0x24BB5348B901CDD5 31388.0264 98.5% 15816 1.9846 0.13 SELECT stock catalog category catalog category
# 2 0x0B2526E88FC6F3BE 431.7797 1.4% 150 2.8785 1.35 SELECT
# MISC 0xMISC 38.1146 0.1% 17 2.2420 0.0 <13 ITEMS>
# Query 1: 1.88 QPS, 3.73x concurrency, ID 0x24BB5348B901CDD5 at byte 24652901
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.13
# Time range: 2023-02-23 22:42:30 to 2023-02-24 01:02:45
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 98 15816
# Exec time 98 31388s 1s 4s 2s 3s 505ms 2s
# Lock time 99 6s 126us 51ms 350us 596us 926us 260us
# Rows sent 0 85.82k 1 10 5.56 9.83 2.79 5.75
# Rows examine 99 10.98G 330.30k 941.14k 727.84k 871.90k 133.86k 717.31k
# Rows affecte 0 0 0 0 0 0 0 0
# Bytes sent 1 8.70M 279 869 576.81 833.10 179.64 592.07
# Query size 99 37.49M 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 'catalog'\G
# SHOW CREATE TABLE `erp5`.`catalog`\G
# SHOW TABLE STATUS FROM `erp5` LIKE 'category'\G
# SHOW CREATE TABLE `erp5`.`category`\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
(
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
)
LEFT JOIN
category AS `related_delivery_uid_1_category`
ON
related_delivery_uid_1_category.base_category_uid = 284 AND
related_delivery_uid_1_category.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 = 185 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
)
INNER JOIN
category AS `related_causality_uid_1_category`
ON
related_causality_uid_1_category.base_category_uid = 240 AND
related_causality_uid_1_category.uid = catalog.uid
)
WHERE
1 = 1
AND (`related_explanation_portal_type_1_catalog`.`portal_type` = 'Sale Order'
AND `related_delivery_uid_1_category`.`category_uid` IS NULL
AND `catalog`.`portal_type` = 'Simulation Movement'
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_causality_uid_1_category`.`category_uid` = 24433
AND (`catalog`.`viewable_owner` = 'zope'
OR `catalog`.`security_uid` IN (14, 15, 17, 25, 26, 27, 35, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50))
AND `stock`.`explanation_uid` = 1229835)
GROUP BY
`catalog`.`uid`\G
# Query 2: 0.01 QPS, 0.04x concurrency, ID 0x0B2526E88FC6F3BE at byte 12148
# This item is included in the report because it matches --outliers.
# Scores: V/M = 1.35
# Time range: 2023-02-23 21:43:54 to 2023-02-24 00:57:52
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 0 150
# Exec time 1 432s 1s 5s 3s 5s 2s 992ms
# Lock time 0 0 0 0 0 0 0 0
# Rows sent 0 150 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 12.33k 84 90 84.16 80.10 1.32 80.10
# Query size 0 5.30k 36 42 36.16 34.95 0.89 34.95
# 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.
step,step_duration_seconds,step_duration,zope_total_rss,zope_count,root_fs_size,now
setup,407.764645,0:06:47.764645,12975161344,33,107740786,2023-02-23 21:54:31.775529
restart,31.232032,0:00:31.232032,9490329600,33,107740786,2023-02-23 21:55:03.007561
iteration_001,99.597678,0:01:39.597678,11215077376,33,129051154,2023-02-23 21:56:42.605239
iteration_002,90.344122,0:01:30.344122,11435139072,33,150053974,2023-02-23 21:58:12.949361
iteration_003,110.227743,0:01:50.227743,11520090112,33,171284351,2023-02-23 22:00:03.177104
iteration_004,95.632537,0:01:35.632537,11630821376,33,192706867,2023-02-23 22:01:38.809641
iteration_005,117.027565,0:01:57.027565,11718414336,33,214414645,2023-02-23 22:03:35.837206
iteration_006,91.209653,0:01:31.209653,11764662272,33,235692561,2023-02-23 22:05:07.046859
iteration_007,95.870254,0:01:35.870254,11815194624,33,257085814,2023-02-23 22:06:42.917113
iteration_008,98.456224,0:01:38.456224,11867242496,33,279248995,2023-02-23 22:08:21.373337
iteration_009,97.508106,0:01:37.508106,11906457600,33,301481927,2023-02-23 22:09:58.881443
iteration_010,123.292111,0:02:03.292111,11985080320,33,323609231,2023-02-23 22:12:02.173554
iteration_011,94.899526,0:01:34.899526,12016566272,33,344229003,2023-02-23 22:13:37.073080
iteration_012,96.188383,0:01:36.188383,12038348800,33,365675316,2023-02-23 22:15:13.261463
iteration_013,121.000514,0:02:01.000514,12087771136,33,387449261,2023-02-23 22:17:14.261977
iteration_014,117.004368,0:01:57.004368,12132634624,33,409801626,2023-02-23 22:19:11.266345
iteration_015,121.255571,0:02:01.255571,12180881408,33,431311587,2023-02-23 22:21:12.521916
iteration_016,95.895239,0:01:35.895239,12219375616,33,452533817,2023-02-23 22:22:48.417155
iteration_017,96.872404,0:01:36.872404,12245098496,33,473905825,2023-02-23 22:24:25.289559
iteration_018,116.35621,0:01:56.356210,12262285312,33,495730932,2023-02-23 22:26:21.645769
iteration_019,125.649706,0:02:05.649706,12303626240,33,517522327,2023-02-23 22:28:27.295475
iteration_020,95.558418,0:01:35.558418,12309999616,33,538901823,2023-02-23 22:30:02.853893
iteration_021,103.715708,0:01:43.715708,12376104960,33,561623656,2023-02-23 22:31:46.569601
iteration_022,91.0301,0:01:31.030100,12388405248,33,582909501,2023-02-23 22:33:17.599701
iteration_023,100.094526,0:01:40.094526,12405403648,33,604139450,2023-02-23 22:34:57.694227
iteration_024,105.839212,0:01:45.839212,12428234752,33,626178909,2023-02-23 22:36:43.533439
iteration_025,103.594818,0:01:43.594818,12446728192,33,648601988,2023-02-23 22:38:27.128257
iteration_026,103.046113,0:01:43.046113,12470120448,33,671309450,2023-02-23 22:40:10.174370
iteration_027,106.534791,0:01:46.534791,12473266176,33,693117272,2023-02-23 22:41:56.709161
iteration_028,103.274099,0:01:43.274099,12507803648,33,715761836,2023-02-23 22:43:39.983260
iteration_029,131.982108,0:02:11.982108,12543516672,33,737785802,2023-02-23 22:45:51.965368
iteration_030,97.555939,0:01:37.555939,12538933248,33,759790587,2023-02-23 22:47:29.521307
iteration_031,102.488058,0:01:42.488058,12562231296,33,781992741,2023-02-23 22:49:12.009365
iteration_032,125.539863,0:02:05.539863,12573298688,33,803617608,2023-02-23 22:51:17.549228
iteration_033,127.114936,0:02:07.114936,12636499968,33,825783603,2023-02-23 22:53:24.664164
iteration_034,94.196982,0:01:34.196982,12665716736,33,846181614,2023-02-23 22:54:58.861146
iteration_035,102.991367,0:01:42.991367,12698562560,33,868528159,2023-02-23 22:56:41.852513
iteration_036,122.836931,0:02:02.836931,12720926720,33,891412867,2023-02-23 22:58:44.689444
iteration_037,100.945619,0:01:40.945619,12761632768,33,912957397,2023-02-23 23:00:25.635063
iteration_038,107.150496,0:01:47.150496,12771786752,33,935082894,2023-02-23 23:02:12.785559
iteration_039,131.787786,0:02:11.787786,12789510144,33,956990251,2023-02-23 23:04:24.573345
iteration_040,103.272015,0:01:43.272015,12810891264,33,979071564,2023-02-23 23:06:07.845360
iteration_041,101.675035,0:01:41.675035,12830343168,33,1000738425,2023-02-23 23:07:49.520395
iteration_042,107.876898,0:01:47.876898,12869300224,33,1023458824,2023-02-23 23:09:37.397293
iteration_043,121.224326,0:02:01.224326,12937986048,33,1044525375,2023-02-23 23:11:38.621619
iteration_044,109.808175,0:01:49.808175,12957712384,33,1067227707,2023-02-23 23:13:28.429794
iteration_045,118.907954,0:01:58.907954,12971048960,33,1089774195,2023-02-23 23:15:27.337748
iteration_046,107.331274,0:01:47.331274,12999233536,33,1111632794,2023-02-23 23:17:14.669022
iteration_047,121.699536,0:02:01.699536,13026701312,33,1133232579,2023-02-23 23:19:16.368558
iteration_048,111.124901,0:01:51.124901,13030719488,33,1155219296,2023-02-23 23:21:07.493459
iteration_049,107.480681,0:01:47.480681,13053935616,33,1177912057,2023-02-23 23:22:54.974140
iteration_050,122.255375,0:02:02.255375,13054644224,33,1200059611,2023-02-23 23:24:57.229515
iteration_051,116.436345,0:01:56.436345,13061971968,33,1221452412,2023-02-23 23:26:53.665860
iteration_052,107.523666,0:01:47.523666,13087268864,33,1243629048,2023-02-23 23:28:41.189526
iteration_053,105.93698,0:01:45.936980,13118386176,33,1264622026,2023-02-23 23:30:27.126506
iteration_054,106.110604,0:01:46.110604,13114494976,33,1286270486,2023-02-23 23:32:13.237110
iteration_055,112.907995,0:01:52.907995,13132857344,33,1309229927,2023-02-23 23:34:06.145105
iteration_056,111.390088,0:01:51.390088,13069303808,33,1331134403,2023-02-23 23:35:57.535193
iteration_057,132.93109,0:02:12.931090,13075906560,33,1353347240,2023-02-23 23:38:10.466283
iteration_058,115.033266,0:01:55.033266,13077073920,33,1374991306,2023-02-23 23:40:05.499549
iteration_059,107.245992,0:01:47.245992,13085126656,33,1396928086,2023-02-23 23:41:52.745541
iteration_060,100.463645,0:01:40.463645,13099192320,33,1418166063,2023-02-23 23:43:33.209186
iteration_061,106.731804,0:01:46.731804,13109649408,33,1439823733,2023-02-23 23:45:19.940990
iteration_062,110.985688,0:01:50.985688,13099327488,33,1461569946,2023-02-23 23:47:10.926678
iteration_063,121.275648,0:02:01.275648,13112918016,33,1483436896,2023-02-23 23:49:12.202326
iteration_064,118.228431,0:01:58.228431,13134663680,33,1506375882,2023-02-23 23:51:10.430757
iteration_065,140.354745,0:02:20.354745,13190946816,33,1530237790,2023-02-23 23:53:30.785502
iteration_066,142.416259,0:02:22.416259,13210550272,33,1552145935,2023-02-23 23:55:53.201761
iteration_067,116.17546,0:01:56.175460,13235658752,33,1573018477,2023-02-23 23:57:49.377221
iteration_068,105.900127,0:01:45.900127,13244641280,33,1594194983,2023-02-23 23:59:35.277348
iteration_069,135.230519,0:02:15.230519,13233049600,33,1616940006,2023-02-24 00:01:50.507867
iteration_070,116.789394,0:01:56.789394,13260701696,33,1638841659,2023-02-24 00:03:47.297261
iteration_071,131.239723,0:02:11.239723,13282021376,33,1660404231,2023-02-24 00:05:58.536984
iteration_072,121.580353,0:02:01.580353,13270396928,33,1682167036,2023-02-24 00:08:00.117337
iteration_073,116.806389,0:01:56.806389,13282328576,33,1704327510,2023-02-24 00:09:56.923726
iteration_074,137.103483,0:02:17.103483,13294583808,33,1725985551,2023-02-24 00:12:14.027209
iteration_075,110.146098,0:01:50.146098,13302157312,33,1747020754,2023-02-24 00:14:04.173307
iteration_076,142.24414,0:02:22.244140,13354143744,33,1769662415,2023-02-24 00:16:26.417447
iteration_077,106.672007,0:01:46.672007,13388419072,33,1791133045,2023-02-24 00:18:13.089454
iteration_078,112.039666,0:01:52.039666,13414555648,33,1813199888,2023-02-24 00:20:05.129120
iteration_079,105.592428,0:01:45.592428,13431164928,33,1834516426,2023-02-24 00:21:50.721548
iteration_080,107.584381,0:01:47.584381,13449035776,33,1856306843,2023-02-24 00:23:38.305929
iteration_081,133.259121,0:02:13.259121,13466808320,33,1878378369,2023-02-24 00:25:51.565050
iteration_082,109.515956,0:01:49.515956,13493923840,33,1901701386,2023-02-24 00:27:41.081006
iteration_083,110.96995,0:01:50.969950,13493637120,33,1922968155,2023-02-24 00:29:32.050956
iteration_084,113.599113,0:01:53.599113,13504221184,33,1945357301,2023-02-24 00:31:25.650069
iteration_085,111.901426,0:01:51.901426,13533126656,33,1967283511,2023-02-24 00:33:17.551495
iteration_086,110.837357,0:01:50.837357,13550424064,33,1988709601,2023-02-24 00:35:08.388852
iteration_087,112.360626,0:01:52.360626,13564555264,33,2010818292,2023-02-24 00:37:00.749478
iteration_088,112.54784,0:01:52.547840,13591535616,33,2032950760,2023-02-24 00:38:53.297318
iteration_089,112.081868,0:01:52.081868,13580890112,33,2055117249,2023-02-24 00:40:45.379186
iteration_090,113.241131,0:01:53.241131,13602652160,33,2076882221,2023-02-24 00:42:38.620317
iteration_091,116.208894,0:01:56.208894,13609242624,33,2098736836,2023-02-24 00:44:34.829211
iteration_092,133.246246,0:02:13.246246,13613830144,33,2121101567,2023-02-24 00:46:48.075457
iteration_093,118.633554,0:01:58.633554,13667651584,33,2143709679,2023-02-24 00:48:46.709011
iteration_094,112.856195,0:01:52.856195,13714165760,33,2166282049,2023-02-24 00:50:39.565206
iteration_095,132.444041,0:02:12.444041,13800747008,33,2188178012,2023-02-24 00:52:52.009247
iteration_096,139.943404,0:02:19.943404,13813559296,33,2211323826,2023-02-24 00:55:11.952651
iteration_097,118.046748,0:01:58.046748,13823299584,33,2233447085,2023-02-24 00:57:09.999399
iteration_098,110.005875,0:01:50.005875,13824831488,33,2254869491,2023-02-24 00:59:00.005274
iteration_099,121.310234,0:02:01.310234,13868744704,33,2278423831,2023-02-24 01:01:01.315508
iteration_100,117.482098,0:01:57.482098,13882769408,33,2300386962,2023-02-24 01:02:58.797606
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