forked from mtusi2026/mtusi2026lab5
1114 lines
31 KiB
JSON
1114 lines
31 KiB
JSON
{
|
|
"postgres": "PostgreSQL 17.6 (Debian 17.6-2.pgdg12+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 12.2.0-14+deb12u1) 12.2.0, 64-bit",
|
|
"messages": 100000,
|
|
"chat_sizes": [
|
|
70000,
|
|
20000,
|
|
9000,
|
|
1000
|
|
],
|
|
"repeats": 3,
|
|
"warmup_per_case": 1,
|
|
"measurements_per_case": 5,
|
|
"page_size": 51,
|
|
"query": "SELECT * FROM messages WHERE chat_id=%s AND (created_at, id)>(%s, %s)\n ORDER BY created_at, id LIMIT %s",
|
|
"summary": {
|
|
"chat_only": {
|
|
"insert_100000_median_ms": 1386.7587500000127,
|
|
"index_bytes": 671744,
|
|
"wal_bytes_median": 38822560,
|
|
"queries": 180,
|
|
"errors": 0,
|
|
"concurrency": 1,
|
|
"p50_ms": 1.6852079999978287,
|
|
"p95_ms": 7.566457999985232,
|
|
"p99_ms": 46.40233399999261,
|
|
"successful_sql_rps": 282.01364182715855
|
|
},
|
|
"history": {
|
|
"insert_100000_median_ms": 1404.4910420000178,
|
|
"index_bytes": 7315456,
|
|
"wal_bytes_median": 43108512,
|
|
"queries": 180,
|
|
"errors": 0,
|
|
"concurrency": 1,
|
|
"p50_ms": 0.22610399997802233,
|
|
"p95_ms": 0.29704099995342403,
|
|
"p99_ms": 0.3384169999662845,
|
|
"successful_sql_rps": 4322.810483886352
|
|
}
|
|
},
|
|
"trials": [
|
|
{
|
|
"variant": "chat_only",
|
|
"repeat": 1,
|
|
"insert_100000_ms": 1386.7587500000127,
|
|
"wal_bytes": 38822584,
|
|
"index_bytes": 671744,
|
|
"queries": [
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
6.914874999949916,
|
|
6.668166999986624,
|
|
6.523834000006445,
|
|
6.556250000016917,
|
|
6.811083000002327
|
|
],
|
|
"explain_execution_ms": 8.532
|
|
},
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
46.40233399999261,
|
|
6.385249999993903,
|
|
6.055750000030002,
|
|
7.862708000004659,
|
|
7.713500000022577
|
|
],
|
|
"explain_execution_ms": 7.042
|
|
},
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
6.462749999968764,
|
|
6.372040999963247,
|
|
6.377625000027365,
|
|
6.360333999964496,
|
|
6.293291999952544
|
|
],
|
|
"explain_execution_ms": 27.257
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
2.6799170000231243,
|
|
2.6539589999856616,
|
|
2.6237499999979264,
|
|
2.6159999999890715,
|
|
2.5921669999888763
|
|
],
|
|
"explain_execution_ms": 3.549
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
2.2941670000022896,
|
|
2.2702500000377768,
|
|
2.252708000014536,
|
|
2.271042000018042,
|
|
2.3105829999963134
|
|
],
|
|
"explain_execution_ms": 2.66
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
1.9595829999730086,
|
|
1.9207080000001042,
|
|
2.059125000016593,
|
|
2.0110829999566704,
|
|
2.0071669999879305
|
|
],
|
|
"explain_execution_ms": 1.827
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
1.3095409999550611,
|
|
1.3007080000306814,
|
|
1.288000000045031,
|
|
1.280042000018966,
|
|
1.2995419999697333
|
|
],
|
|
"explain_execution_ms": 1.592
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
1.156374999993659,
|
|
1.1407089999693198,
|
|
1.144167000006746,
|
|
1.1433750000264808,
|
|
1.1405409999838412
|
|
],
|
|
"explain_execution_ms": 1.222
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
1.0064999999599422,
|
|
1.003166999964833,
|
|
1.002000000028147,
|
|
0.9964999999851898,
|
|
0.9997909999697185
|
|
],
|
|
"explain_execution_ms": 0.846
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
0.3318340000078024,
|
|
0.34162500003276364,
|
|
0.3277920000073209,
|
|
0.32820799998489747,
|
|
0.33399999995253893
|
|
],
|
|
"explain_execution_ms": 0.204
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
0.31758300002593387,
|
|
0.31320800002276883,
|
|
0.3052920000072845,
|
|
0.32208299995772904,
|
|
0.31487500001503577
|
|
],
|
|
"explain_execution_ms": 0.151
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
0.29320900000584516,
|
|
0.29254200001105346,
|
|
0.30541699999275806,
|
|
0.2934999999979482,
|
|
0.2922080000189453
|
|
],
|
|
"explain_execution_ms": 0.106
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"variant": "history",
|
|
"repeat": 1,
|
|
"insert_100000_ms": 1404.4910420000178,
|
|
"wal_bytes": 43108512,
|
|
"index_bytes": 7315456,
|
|
"queries": [
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
0.3173750000087239,
|
|
0.29504200000474157,
|
|
0.28329200000598576,
|
|
0.3037079999899106,
|
|
0.31616600000461403
|
|
],
|
|
"explain_execution_ms": 0.021
|
|
},
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
0.2926249999859465,
|
|
0.21762500000477303,
|
|
0.19337500003757668,
|
|
0.21075000000791988,
|
|
0.23008300001947646
|
|
],
|
|
"explain_execution_ms": 0.019
|
|
},
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
0.2326670000343256,
|
|
0.22991600002342238,
|
|
0.25349999998525163,
|
|
0.2272909999874173,
|
|
0.2270420000058948
|
|
],
|
|
"explain_execution_ms": 0.019
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
0.2562920000173108,
|
|
0.23475000000416912,
|
|
0.22645799998599614,
|
|
0.22308400002657436,
|
|
0.2378749999820684
|
|
],
|
|
"explain_execution_ms": 0.018
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
0.22491599997920275,
|
|
0.25087500000609,
|
|
0.22708300002705073,
|
|
0.2274999999940519,
|
|
0.22325000003320383
|
|
],
|
|
"explain_execution_ms": 0.018
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
0.2279589999716336,
|
|
0.22745899997289598,
|
|
0.22599999999783904,
|
|
0.2297500000167929,
|
|
0.22641599997541562
|
|
],
|
|
"explain_execution_ms": 0.018
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
0.24199999995744292,
|
|
0.2252499999713109,
|
|
0.22495799998978327,
|
|
0.22799999999278953,
|
|
0.2394169999888618
|
|
],
|
|
"explain_execution_ms": 0.018
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
0.2292909999823678,
|
|
0.3384169999662845,
|
|
0.28125000000045475,
|
|
0.24829200003750884,
|
|
0.23558299994874687
|
|
],
|
|
"explain_execution_ms": 0.019
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
0.2306659999931071,
|
|
0.2268749999529973,
|
|
0.29704099995342403,
|
|
0.24354200002107973,
|
|
0.23233300004221746
|
|
],
|
|
"explain_execution_ms": 0.019
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
0.2479999999991378,
|
|
0.2283750000060536,
|
|
0.22741699996231546,
|
|
0.2274999999940519,
|
|
0.24287499996944462
|
|
],
|
|
"explain_execution_ms": 0.019
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
0.22462499998709973,
|
|
0.24941599997418962,
|
|
0.2247919999831538,
|
|
0.22466699999768025,
|
|
0.2243339999949967
|
|
],
|
|
"explain_execution_ms": 0.018
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
0.22287500001993976,
|
|
0.2249590000360513,
|
|
0.22291699997367687,
|
|
0.2342500000054315,
|
|
0.23004100000889594
|
|
],
|
|
"explain_execution_ms": 0.017
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"variant": "history",
|
|
"repeat": 2,
|
|
"insert_100000_ms": 1417.234876000009,
|
|
"wal_bytes": 43108512,
|
|
"index_bytes": 7315456,
|
|
"queries": [
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
0.3070409999850199,
|
|
0.2651249999985339,
|
|
0.2804580000201895,
|
|
0.2466660000095544,
|
|
0.4540420000012091
|
|
],
|
|
"explain_execution_ms": 0.021
|
|
},
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
0.30112500002132947,
|
|
0.23020800000495,
|
|
0.24920800001382304,
|
|
0.26024999999663123,
|
|
0.23162500002626984
|
|
],
|
|
"explain_execution_ms": 0.019
|
|
},
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
0.2297500000167929,
|
|
0.22941700001410936,
|
|
0.2268339999886848,
|
|
0.2509999999915635,
|
|
0.2265840000177377
|
|
],
|
|
"explain_execution_ms": 0.019
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
0.24954200000593119,
|
|
0.22820899999942412,
|
|
0.22675000002436718,
|
|
0.22470900000826077,
|
|
0.22833299999547307
|
|
],
|
|
"explain_execution_ms": 0.019
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
0.2232080000226233,
|
|
0.22866699998758122,
|
|
0.23858299999801602,
|
|
0.22420799996325513,
|
|
0.22699999999531428
|
|
],
|
|
"explain_execution_ms": 0.018
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
0.2425420000236045,
|
|
0.22604199995157614,
|
|
0.22554200000968194,
|
|
0.22283300000935924,
|
|
0.24158299999044175
|
|
],
|
|
"explain_execution_ms": 0.025
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
0.23279099997353114,
|
|
0.23029199996926764,
|
|
0.32120800000257077,
|
|
0.26729199998953845,
|
|
0.2517920000286722
|
|
],
|
|
"explain_execution_ms": 0.019
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
0.23408300000937743,
|
|
0.2288339999836353,
|
|
0.23687499998459316,
|
|
0.2249590000360513,
|
|
0.2247919999831538
|
|
],
|
|
"explain_execution_ms": 0.018
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
0.2243749999593092,
|
|
0.22408299997778158,
|
|
0.22312500004773028,
|
|
0.23924999999280772,
|
|
0.22150000000920045
|
|
],
|
|
"explain_execution_ms": 0.018
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
0.22354100002530686,
|
|
0.2302089999943746,
|
|
0.22079199999325283,
|
|
0.2222910000000411,
|
|
0.2202919999945152
|
|
],
|
|
"explain_execution_ms": 0.018
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
0.22287500001993976,
|
|
0.22287499996309634,
|
|
0.22041700003683218,
|
|
0.2310830000169517,
|
|
0.22616600000446851
|
|
],
|
|
"explain_execution_ms": 0.018
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
0.22241599998551465,
|
|
0.22308299998030634,
|
|
0.22195799999735755,
|
|
0.21995800000240706,
|
|
0.21950000001424996
|
|
],
|
|
"explain_execution_ms": 0.017
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"variant": "chat_only",
|
|
"repeat": 2,
|
|
"insert_100000_ms": 1390.132249999965,
|
|
"wal_bytes": 38822560,
|
|
"index_bytes": 671744,
|
|
"queries": [
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
7.372583000005761,
|
|
6.758875000002718,
|
|
6.808458000023165,
|
|
6.906250000042746,
|
|
7.094250000022839
|
|
],
|
|
"explain_execution_ms": 40.541
|
|
},
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
6.415666999998848,
|
|
6.257875000017066,
|
|
6.178666999971938,
|
|
8.023291000029076,
|
|
7.650417000036214
|
|
],
|
|
"explain_execution_ms": 7.198
|
|
},
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
42.71466599999485,
|
|
6.7938749999711945,
|
|
6.601541000009092,
|
|
6.471875000045202,
|
|
6.461500000000342
|
|
],
|
|
"explain_execution_ms": 5.685
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
2.8667090000453754,
|
|
2.8354170000284284,
|
|
2.8501250000090295,
|
|
2.787916999977824,
|
|
2.8024999999729516
|
|
],
|
|
"explain_execution_ms": 3.787
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
2.3539160000041193,
|
|
2.3988750000398795,
|
|
2.3642079999603993,
|
|
2.349291000030007,
|
|
2.33629199999541
|
|
],
|
|
"explain_execution_ms": 2.82
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
1.9656659999895965,
|
|
1.9535420000238446,
|
|
1.9440419999909864,
|
|
1.940166999986559,
|
|
1.9436249999671418
|
|
],
|
|
"explain_execution_ms": 1.83
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
1.3667079999777343,
|
|
1.36754199996858,
|
|
1.3556669999843507,
|
|
1.3793749999990723,
|
|
1.357499999983247
|
|
],
|
|
"explain_execution_ms": 1.715
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
1.1639999999601969,
|
|
1.1638330000209862,
|
|
1.1650000000145155,
|
|
1.1809580000203823,
|
|
1.1649159999933545
|
|
],
|
|
"explain_execution_ms": 1.275
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
0.9753749999958927,
|
|
0.9995409999987714,
|
|
1.014125000040167,
|
|
0.9871670000052291,
|
|
0.9951249999744505
|
|
],
|
|
"explain_execution_ms": 0.854
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
0.3327910000052725,
|
|
0.3331660000185366,
|
|
0.3437500000131877,
|
|
0.3285419999770056,
|
|
0.3382080000164933
|
|
],
|
|
"explain_execution_ms": 0.22
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
0.3201250000302025,
|
|
0.33404200001996287,
|
|
0.31708299997035283,
|
|
0.31666699999277625,
|
|
0.3300420000300619
|
|
],
|
|
"explain_execution_ms": 0.156
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
0.3005840000014359,
|
|
0.28595899999572794,
|
|
0.2849999999625652,
|
|
0.2990409999483745,
|
|
0.2847920000021986
|
|
],
|
|
"explain_execution_ms": 0.106
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"variant": "chat_only",
|
|
"repeat": 3,
|
|
"insert_100000_ms": 1330.3022509999778,
|
|
"wal_bytes": 38822560,
|
|
"index_bytes": 671744,
|
|
"queries": [
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
48.38283300000512,
|
|
7.059540999989622,
|
|
6.774750000033691,
|
|
7.226040999967154,
|
|
7.049875000006978
|
|
],
|
|
"explain_execution_ms": 8.497
|
|
},
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
5.816499999980351,
|
|
5.940875000021606,
|
|
52.47504099997968,
|
|
7.940541999971629,
|
|
7.566457999985232
|
|
],
|
|
"explain_execution_ms": 6.953
|
|
},
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
6.405041999983041,
|
|
6.38737500003117,
|
|
6.312415999957466,
|
|
6.295207999983177,
|
|
6.2736250000057225
|
|
],
|
|
"explain_execution_ms": 5.548
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
2.6689579999583657,
|
|
2.6040839999836862,
|
|
2.6041659999691547,
|
|
2.593499999989035,
|
|
2.596417000006568
|
|
],
|
|
"explain_execution_ms": 11.285
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
2.3674579999806156,
|
|
2.497582999978931,
|
|
2.4268750000260297,
|
|
2.543584000022747,
|
|
2.3092499999961547
|
|
],
|
|
"explain_execution_ms": 2.655
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
1.982666000003519,
|
|
1.9526250000012624,
|
|
1.9421659999920848,
|
|
2.0057080000128735,
|
|
1.990875000046799
|
|
],
|
|
"explain_execution_ms": 1.878
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
1.4241659999925105,
|
|
1.449707999995553,
|
|
1.3514999999983957,
|
|
1.3168329999757589,
|
|
1.3098750000040127
|
|
],
|
|
"explain_execution_ms": 1.607
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
1.1759579999761627,
|
|
1.1762500000145337,
|
|
1.1795839999990676,
|
|
1.1871670000118684,
|
|
1.1549170000080267
|
|
],
|
|
"explain_execution_ms": 1.221
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
0.9988330000396672,
|
|
1.0168339999836462,
|
|
1.0056670000153645,
|
|
0.9815419999767983,
|
|
0.9922919999780788
|
|
],
|
|
"explain_execution_ms": 0.831
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
0.33158299999058727,
|
|
0.32433300003731347,
|
|
0.3312079999773232,
|
|
0.3266250000137916,
|
|
0.3368750000163345
|
|
],
|
|
"explain_execution_ms": 0.194
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
0.3318330000183778,
|
|
0.3219579999722555,
|
|
0.3167920000350932,
|
|
0.317624999979671,
|
|
0.3145420000123522
|
|
],
|
|
"explain_execution_ms": 0.154
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
0.29337500001247463,
|
|
0.29699999998911153,
|
|
0.3068749999783904,
|
|
0.309750000042186,
|
|
0.29841700001043137
|
|
],
|
|
"explain_execution_ms": 0.107
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"variant": "history",
|
|
"repeat": 3,
|
|
"insert_100000_ms": 1366.9856260000302,
|
|
"wal_bytes": 43108536,
|
|
"index_bytes": 7315456,
|
|
"queries": [
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
0.29145799999241717,
|
|
0.25487500005283437,
|
|
0.24249999995618055,
|
|
0.24029200000086348,
|
|
0.40070800002922624
|
|
],
|
|
"explain_execution_ms": 0.02
|
|
},
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
0.24608299997908034,
|
|
0.2166659999716103,
|
|
0.19137499998578278,
|
|
0.20683299999291194,
|
|
0.18729199996414536
|
|
],
|
|
"explain_execution_ms": 0.034
|
|
},
|
|
{
|
|
"chat_size": 70000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
0.1954580000074202,
|
|
0.19033400002399503,
|
|
0.1846659999955591,
|
|
0.20504200000459605,
|
|
0.1987920000487975
|
|
],
|
|
"explain_execution_ms": 0.018
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
0.1877920000197264,
|
|
0.2019580000478527,
|
|
0.1839579999796115,
|
|
0.18112499998323983,
|
|
0.18541700001151185
|
|
],
|
|
"explain_execution_ms": 0.017
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
0.19970799996826827,
|
|
0.18504199999824777,
|
|
0.18249999999397915,
|
|
0.17937500001607987,
|
|
0.1814999999965039
|
|
],
|
|
"explain_execution_ms": 0.016
|
|
},
|
|
{
|
|
"chat_size": 20000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
0.18754100000251128,
|
|
0.18725000001040826,
|
|
0.18091699996602983,
|
|
0.22283300000935924,
|
|
0.20837499999970532
|
|
],
|
|
"explain_execution_ms": 0.017
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
0.1893749999908323,
|
|
0.20050000000537693,
|
|
0.18170799995687048,
|
|
0.1799160000359734,
|
|
0.19962499999337524
|
|
],
|
|
"explain_execution_ms": 0.018
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
0.2502920000324593,
|
|
0.22045800000114468,
|
|
0.21791599999687605,
|
|
0.2180409999823496,
|
|
0.23691699999517368
|
|
],
|
|
"explain_execution_ms": 0.017
|
|
},
|
|
{
|
|
"chat_size": 9000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
0.21720799998092843,
|
|
0.21795899999688118,
|
|
0.21658399998614186,
|
|
0.2168750000350883,
|
|
0.21812500000351065
|
|
],
|
|
"explain_execution_ms": 0.017
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.1,
|
|
"latency_ms": [
|
|
0.21791700004314407,
|
|
0.2171250000060354,
|
|
0.21858299999166775,
|
|
0.21612500000856016,
|
|
0.22783299999673545
|
|
],
|
|
"explain_execution_ms": 0.017
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.5,
|
|
"latency_ms": [
|
|
0.2180000000180371,
|
|
0.21766600002592895,
|
|
0.21808299999293013,
|
|
0.2169169999888254,
|
|
0.2186660000234042
|
|
],
|
|
"explain_execution_ms": 0.017
|
|
},
|
|
{
|
|
"chat_size": 1000,
|
|
"position": 0.9,
|
|
"latency_ms": [
|
|
0.21783400001140762,
|
|
0.21633299996892674,
|
|
0.2234579999935704,
|
|
0.21850000001677472,
|
|
0.2274999999940519
|
|
],
|
|
"explain_execution_ms": 0.017
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"snapshot": {
|
|
"counts": {
|
|
"users": 10,
|
|
"chats": 4,
|
|
"chat_members": 8,
|
|
"messages": 100000,
|
|
"schema_migrations": 1
|
|
},
|
|
"messages_sha256": "36958977cf7f00bc537cb8e2b0052fd83cc8358d0d44d72304d0856d1cf43870",
|
|
"samples": [
|
|
{
|
|
"chat_id": "fb372790-4b73-5a45-c97c-7e4287fa05be",
|
|
"created_at": "2026-01-01 00:00:00.000001+00:00",
|
|
"id": "0406791b-bf11-c4be-113d-e56c41008a52",
|
|
"sender_id": "fbb798c2-5241-0201-2e7b-d22eef00e52d",
|
|
"text": "Synthetic message 1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
},
|
|
{
|
|
"chat_id": "fb372790-4b73-5a45-c97c-7e4287fa05be",
|
|
"created_at": "2026-01-01 00:00:00.035000+00:00",
|
|
"id": "169ee7a7-ca0d-aa05-bd8c-a1eb275708e7",
|
|
"sender_id": "bdb1dd10-5679-979c-a82b-28edd1c8ccd2",
|
|
"text": "Synthetic message 35000 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
},
|
|
{
|
|
"chat_id": "fb372790-4b73-5a45-c97c-7e4287fa05be",
|
|
"created_at": "2026-01-01 00:00:00.070000+00:00",
|
|
"id": "dbf177a7-e559-4eb5-2f16-d7594a0c375b",
|
|
"sender_id": "bdb1dd10-5679-979c-a82b-28edd1c8ccd2",
|
|
"text": "Synthetic message 70000 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
},
|
|
{
|
|
"chat_id": "096d532a-b923-0f13-8dc9-243f47b54ac3",
|
|
"created_at": "2026-01-01 00:00:00.070001+00:00",
|
|
"id": "042eb2e1-c673-28b2-57e6-bbc531f9f886",
|
|
"sender_id": "fbb798c2-5241-0201-2e7b-d22eef00e52d",
|
|
"text": "Synthetic message 70001 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
},
|
|
{
|
|
"chat_id": "096d532a-b923-0f13-8dc9-243f47b54ac3",
|
|
"created_at": "2026-01-01 00:00:00.080000+00:00",
|
|
"id": "9042bcb2-df86-667b-9e54-e6e6c0c7923a",
|
|
"sender_id": "bdb1dd10-5679-979c-a82b-28edd1c8ccd2",
|
|
"text": "Synthetic message 80000 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
},
|
|
{
|
|
"chat_id": "096d532a-b923-0f13-8dc9-243f47b54ac3",
|
|
"created_at": "2026-01-01 00:00:00.090000+00:00",
|
|
"id": "5409a1ee-b7e3-f2fa-1b87-173c59924f20",
|
|
"sender_id": "bdb1dd10-5679-979c-a82b-28edd1c8ccd2",
|
|
"text": "Synthetic message 90000 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
},
|
|
{
|
|
"chat_id": "35bbad77-7634-ca61-4fd8-5d37539c23b8",
|
|
"created_at": "2026-01-01 00:00:00.090001+00:00",
|
|
"id": "8a98c150-4c98-8f1a-478f-2d01e8725584",
|
|
"sender_id": "fbb798c2-5241-0201-2e7b-d22eef00e52d",
|
|
"text": "Synthetic message 90001 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
},
|
|
{
|
|
"chat_id": "35bbad77-7634-ca61-4fd8-5d37539c23b8",
|
|
"created_at": "2026-01-01 00:00:00.094500+00:00",
|
|
"id": "64cc6094-35b0-52bc-2c33-655d810cbabc",
|
|
"sender_id": "bdb1dd10-5679-979c-a82b-28edd1c8ccd2",
|
|
"text": "Synthetic message 94500 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
},
|
|
{
|
|
"chat_id": "35bbad77-7634-ca61-4fd8-5d37539c23b8",
|
|
"created_at": "2026-01-01 00:00:00.099000+00:00",
|
|
"id": "26f56eb2-d617-f971-efa9-fc332ae1272b",
|
|
"sender_id": "bdb1dd10-5679-979c-a82b-28edd1c8ccd2",
|
|
"text": "Synthetic message 99000 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
},
|
|
{
|
|
"chat_id": "a3c16613-13f1-93e3-af30-521782e6eb21",
|
|
"created_at": "2026-01-01 00:00:00.099001+00:00",
|
|
"id": "7d565f77-f911-6eb9-62a9-dcf414afb5f3",
|
|
"sender_id": "fbb798c2-5241-0201-2e7b-d22eef00e52d",
|
|
"text": "Synthetic message 99001 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
},
|
|
{
|
|
"chat_id": "a3c16613-13f1-93e3-af30-521782e6eb21",
|
|
"created_at": "2026-01-01 00:00:00.099500+00:00",
|
|
"id": "86263544-3ca9-88ac-6a18-01fe3ed3d579",
|
|
"sender_id": "bdb1dd10-5679-979c-a82b-28edd1c8ccd2",
|
|
"text": "Synthetic message 99500 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
},
|
|
{
|
|
"chat_id": "a3c16613-13f1-93e3-af30-521782e6eb21",
|
|
"created_at": "2026-01-01 00:00:00.100000+00:00",
|
|
"id": "103bbef2-c217-19c4-d209-a1c1cdd3a1e2",
|
|
"sender_id": "bdb1dd10-5679-979c-a82b-28edd1c8ccd2",
|
|
"text": "Synthetic message 100000 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
}
|
|
]
|
|
},
|
|
"utc": "2026-10-22T11:09:43.745407+00:00",
|
|
"project": "lab2-research-85021a09d9",
|
|
"command": "./scripts/research.sh",
|
|
"host": "Darwin arm64",
|
|
"commit": "9961362 + working tree",
|
|
"postgres_limits": {
|
|
"cpus": 1,
|
|
"memory_mib": 512
|
|
},
|
|
"api_runner_limits": {
|
|
"cpus": 1,
|
|
"memory_mib": 256
|
|
},
|
|
"source": {
|
|
"container": "c0b5e13dc5d2fd8bbd488a9b227eb62e4fa6a3896f6b28cf464b94e3d8f9032f",
|
|
"image": "sha256:f3bd19c606e442c3d7bdfa8002e03fe260a1023351e0ea4598032022b68dd6e3",
|
|
"volumes": [
|
|
"lab2-research-85021a09d9_postgres_data"
|
|
]
|
|
},
|
|
"restored": {
|
|
"container": "1c23bc29d590048481d8e2d18dfe340627309f20f004d4ffdb8892c3582fb8f1",
|
|
"image": "sha256:f3bd19c606e442c3d7bdfa8002e03fe260a1023351e0ea4598032022b68dd6e3",
|
|
"volumes": [
|
|
"lab2-research-85021a09d9_restore_data"
|
|
]
|
|
},
|
|
"docker": "29.0.1 aarch64 CPUs=10 RAM=8217448448",
|
|
"stats_after_queries": "{\"BlockIO\":\"131kB / 583MB\",\"CPUPerc\":\"0.05%\",\"Container\":\"c0b5e13dc5d2fd8bbd488a9b227eb62e4fa6a3896f6b28cf464b94e3d8f9032f\",\"ID\":\"c0b5e13dc5d2\",\"MemPerc\":\"12.35%\",\"MemUsage\":\"63.24MiB / 512MiB\",\"Name\":\"lab2-research-85021a09d9-postgres-1\",\"NetIO\":\"378kB / 33.3MB\",\"PIDs\":\"6\"}",
|
|
"backup": {
|
|
"file": "backups/lab2-research-85021a09d9.dump",
|
|
"bytes": 3067615,
|
|
"seconds": 0.5438075830461457
|
|
},
|
|
"restore": {
|
|
"seconds": 0.6752373329363763,
|
|
"verification_seconds": 2.342134208069183,
|
|
"verification": {
|
|
"counts": {
|
|
"users": 10,
|
|
"chats": 4,
|
|
"chat_members": 8,
|
|
"messages": 100000,
|
|
"schema_migrations": 1
|
|
},
|
|
"messages_sha256": "36958977cf7f00bc537cb8e2b0052fd83cc8358d0d44d72304d0856d1cf43870",
|
|
"samples_verified": 12,
|
|
"all_messages_match": true,
|
|
"after_backup_message_missing_in_restore": true,
|
|
"source_messages": 100001
|
|
},
|
|
"post_backup_insert": {
|
|
"id": "9b10784e-e462-01b4-6520-1c572ae115d9",
|
|
"source_messages": 100001
|
|
}
|
|
},
|
|
"total_seconds": 22.895743250031956
|
|
} |