Files
mtusi2026lab2/evidence/query-plan.json
T

3551 lines
123 KiB
JSON

{
"started_at": "2026-10-17T14:35:22.670213+00:00",
"scope": "SQL, not HTTP latency",
"initial_chat_sizes": [
90000,
5000,
2000,
1000,
500,
500,
250,
250,
250,
250
],
"concurrency": 1,
"warmup_queries_per_trial": 20,
"client_platform": "arm64",
"trials": [
{
"index": "single",
"repeat": 1,
"initial_messages": 100000,
"plans": {
"large_first": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 6499.08,
"Total Cost": 6504.89,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 7.317,
"Actual Total Time": 8.576,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 2718,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Gather Merge",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 6499.08,
"Total Cost": 16758.94,
"Plan Rows": 90022,
"Plan Width": 188,
"Actual Startup Time": 7.316,
"Actual Total Time": 8.571,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Workers Planned": 1,
"Workers Launched": 1,
"Shared Hit Blocks": 2718,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Sort",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 5499.07,
"Total Cost": 5631.45,
"Plan Rows": 52954,
"Plan Width": 188,
"Actual Startup Time": 6.2,
"Actual Total Time": 6.207,
"Actual Rows": 51.0,
"Actual Loops": 2,
"Disabled": false,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "top-N heapsort",
"Sort Space Used": 38,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 2718,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Workers": [
{
"Worker Number": 0,
"Sort Method": "top-N heapsort",
"Sort Space Used": 38,
"Sort Space Type": "Memory"
}
],
"Plans": [
{
"Node Type": "Seq Scan",
"Parent Relationship": "Outer",
"Parallel Aware": true,
"Async Capable": false,
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.0,
"Total Cost": 3732.41,
"Plan Rows": 52954,
"Plan Width": 188,
"Actual Startup Time": 0.005,
"Actual Total Time": 3.656,
"Actual Rows": 45000.0,
"Actual Loops": 2,
"Disabled": false,
"Filter": "((chat_id = '00000000-0000-0000-0000-000000000064'::uuid) AND (ROW(created_at, id) > ROW('2026-10-17 00:00:00+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))",
"Rows Removed by Filter": 5000,
"Shared Hit Blocks": 2703,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Workers": []
}
]
}
]
}
]
},
"Planning": {
"Shared Hit Blocks": 42,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.109,
"Triggers": [],
"Execution Time": 8.593
}
],
"large_deep": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 4724.77,
"Total Cost": 4724.9,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 4.645,
"Actual Total Time": 4.651,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 2703,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Sort",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 4724.77,
"Total Cost": 4745.13,
"Plan Rows": 8146,
"Plan Width": 188,
"Actual Startup Time": 4.644,
"Actual Total Time": 4.647,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "top-N heapsort",
"Sort Space Used": 38,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 2703,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Seq Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.0,
"Total Cost": 4453.0,
"Plan Rows": 8146,
"Plan Width": 188,
"Actual Startup Time": 3.176,
"Actual Total Time": 4.132,
"Actual Rows": 9001.0,
"Actual Loops": 1,
"Disabled": false,
"Filter": "((chat_id = '00000000-0000-0000-0000-000000000064'::uuid) AND (ROW(created_at, id) > ROW('2026-10-17 00:00:00.081+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))",
"Rows Removed by Filter": 90999,
"Shared Hit Blocks": 2703,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
}
]
}
]
},
"Planning": {
"Shared Hit Blocks": 0,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.056,
"Triggers": [],
"Execution Time": 4.662
}
],
"small_deep": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 27.33,
"Total Cost": 27.46,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 0.034,
"Actual Total Time": 0.037,
"Actual Rows": 26.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 9,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Sort",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 27.33,
"Total Cost": 27.91,
"Plan Rows": 231,
"Plan Width": 188,
"Actual Startup Time": 0.033,
"Actual Total Time": 0.034,
"Actual Rows": 26.0,
"Actual Loops": 1,
"Disabled": false,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "quicksort",
"Sort Space Used": 31,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 9,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Scan Direction": "Forward",
"Index Name": "messages_by_chat",
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.29,
"Total Cost": 19.62,
"Plan Rows": 231,
"Plan Width": 188,
"Actual Startup Time": 0.025,
"Actual Total Time": 0.028,
"Actual Rows": 26.0,
"Actual Loops": 1,
"Disabled": false,
"Index Cond": "(chat_id = '00000000-0000-0000-0000-00000000006c'::uuid)",
"Rows Removed by Index Recheck": 0,
"Filter": "(ROW(created_at, id) > ROW('2026-10-17 00:00:00.000225+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid))",
"Rows Removed by Filter": 224,
"Index Searches": 1,
"Shared Hit Blocks": 9,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
}
]
}
]
},
"Planning": {
"Shared Hit Blocks": 0,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.047,
"Triggers": [],
"Execution Time": 0.044
}
]
},
"reads": {
"successful_queries": 200,
"errors": 0,
"elapsed_seconds": 1.2936824580001485,
"queries_per_second": 154.5974429530195,
"p50_ms": 8.458667000240894,
"p95_ms": 9.545756250076918,
"p99_ms": 10.841738420344859,
"raw_latency_ms": [
1.9184170000698941,
9.92870900017806,
7.604458000059822,
9.798624999802996,
0.680249999732041,
9.954209000170522,
7.316125000215834,
9.379499999795371,
0.5690829998457048,
9.324208000180079,
6.904959000166855,
9.946916999979294,
0.6677500000478176,
9.614041000077123,
7.548166000105994,
9.54287500007922,
0.5930410002292774,
9.184125000047061,
6.827166999755718,
9.126957999797014,
0.5129170003783656,
8.960459000263654,
6.6887920002045576,
8.963666999989073,
0.5151249997652485,
8.843374999742082,
6.634541000039462,
8.776749999924505,
0.5352500002118177,
8.766124999965541,
6.628334000197356,
9.310790999734309,
0.5474170002344181,
8.862042000146175,
6.543417000102636,
9.052833000168903,
0.5582079998021072,
9.12779199961733,
6.8367919998308935,
9.04812499993568,
0.4982909999853291,
8.941790999870136,
6.784207999771752,
8.80162500016013,
0.4949999997734267,
8.967207999830862,
6.490374999884807,
9.256958000150917,
0.49116700029117055,
9.600500000033207,
7.519958000102633,
10.080000000016298,
0.5812919998788857,
18.95008300016343,
6.84679200003302,
9.153499999683845,
0.6047499996384431,
9.108208999805356,
6.781958999908966,
9.11737499973242,
0.5605410001408018,
8.992999999918538,
6.695166000099562,
8.928499999910855,
0.5853329998899426,
9.02887499978533,
6.66987499971583,
9.172916999887093,
0.6085830000301939,
8.978750000096625,
6.7602909998640826,
8.819250000215106,
0.5842499999744177,
8.9767499998743,
6.496040999991237,
8.780458000273939,
0.5051250000178698,
8.802833000117971,
6.306291999862879,
8.818082999823673,
0.5425419999482983,
8.820083000045997,
6.508542000119633,
8.696667000094749,
0.45279200003278675,
8.761542000229383,
6.418333000056009,
8.551167000405258,
0.49845899957290385,
8.528583000043,
6.294750000051863,
8.577374999731546,
0.5649589998029114,
8.478834000015922,
6.718624999848544,
8.855667000261747,
0.5796669997835124,
8.689499999945838,
6.311374999768304,
8.877374999883614,
0.46458299993901164,
8.615041000211932,
6.355958999847644,
8.570834000238392,
0.540500000170141,
8.45504200015057,
6.322374999854219,
8.525624999947468,
0.5031249997955456,
8.462292000331217,
6.443333999868628,
9.112541999911627,
0.5870830000276328,
9.305124999627878,
6.919040999946446,
9.143041999777779,
0.6412919997274003,
9.324874999947497,
6.7984590000378375,
9.219167000082962,
0.7989169998836587,
9.223957999893173,
6.752250000317872,
9.058582999841747,
0.5853329998899426,
9.019166999678419,
6.8780829997194814,
9.024375000080909,
0.5892090002816985,
8.856541000113793,
6.342707999920094,
9.037208999870927,
0.5789589999949385,
9.026457999880222,
6.79149999996298,
8.798750000096334,
0.5305409999891708,
8.950708000156737,
6.381083999713155,
9.057249999841588,
0.800874999640655,
8.88066700008494,
6.592665999960445,
9.034916000018711,
0.6104160001996206,
8.675624999796128,
6.624374999773863,
8.896875000118598,
0.5276249999042193,
8.79145899989453,
6.640874999902735,
9.132417000273563,
0.5342919998838624,
8.741500000269298,
7.0125840002219775,
9.221959000115021,
0.5790000000160944,
9.257457999865437,
6.695041000057245,
9.154584000043542,
0.5872500000805303,
9.261209000214876,
6.929333000243787,
9.234167000158777,
0.7021249998615531,
9.049750000031054,
9.47287500002858,
13.282625000101689,
1.0754170002655883,
10.817083000347338,
7.97104200000831,
9.412083999905008,
0.6177079999361013,
9.185209000406758,
6.722250000166241,
9.236291999968671,
0.5675419997714926,
8.988334000150644,
6.585542000266287,
9.106582999720558,
0.6362909998642863,
9.24016599992683,
6.993250000050466,
9.151207999821054,
0.7172500004344329,
9.334332999969774,
6.669458000033046,
9.124250000240863,
0.630915999863646,
9.122584000124334,
6.833375000041997,
9.180292000110057,
0.5325840002115001,
9.046584000316216,
6.741874999988795,
9.359041999687179,
0.5904159997953684,
9.155250000276283,
6.786917000226822,
9.442875000331696
]
},
"writes": {
"committed_batches": 20,
"rows_per_batch": 100,
"errors": 0,
"elapsed_seconds": 0.07370200000013938,
"rows_per_second": 27136.305663295676,
"wal_bytes_cluster_delta": 570200,
"p50_ms": 3.3152295002309984,
"p95_ms": 4.277578849814745,
"p99_ms": 4.336415770030726,
"raw_batch_latency_ms": [
4.2405829999552225,
3.736000000117201,
3.801249999924039,
4.273707999800536,
3.023374999884254,
3.4514580001996364,
3.3195000000887376,
3.248833999805356,
2.9992499999025313,
3.310959000373259,
3.5219579999647976,
3.2462080002915172,
3.4768330001497816,
3.0689169998368016,
3.138541000225814,
3.0270000002019515,
3.0171669995979755,
4.351125000084721,
3.095541999755369,
3.490750000310072
]
},
"index_bytes_after_writes": 688128,
"postgres_resource_samples": [
{
"at": "2026-10-17T14:35:25.020637+00:00",
"cpu": "92.89%",
"memory": "93.64MiB / 512MiB"
},
{
"at": "2026-10-17T14:35:27.026785+00:00",
"cpu": "2.77%",
"memory": "93.79MiB / 512MiB"
}
]
},
{
"index": "composite",
"repeat": 1,
"initial_messages": 100000,
"plans": {
"large_first": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 0.42,
"Total Cost": 6.37,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 0.009,
"Actual Total Time": 0.015,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 5,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Scan Direction": "Forward",
"Index Name": "messages_history",
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.42,
"Total Cost": 10499.58,
"Plan Rows": 89961,
"Plan Width": 188,
"Actual Startup Time": 0.008,
"Actual Total Time": 0.012,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Index Cond": "((chat_id = '00000000-0000-0000-0000-000000000064'::uuid) AND (ROW(created_at, id) > ROW('2026-10-17 00:00:00+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))",
"Rows Removed by Index Recheck": 0,
"Index Searches": 1,
"Shared Hit Blocks": 5,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
}
]
},
"Planning": {
"Shared Hit Blocks": 33,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.088,
"Triggers": [],
"Execution Time": 0.023
}
],
"large_deep": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 0.42,
"Total Cost": 33.46,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 0.006,
"Actual Total Time": 0.013,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 5,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Scan Direction": "Forward",
"Index Name": "messages_history",
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.42,
"Total Cost": 5254.26,
"Plan Rows": 8108,
"Plan Width": 188,
"Actual Startup Time": 0.006,
"Actual Total Time": 0.01,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Index Cond": "((chat_id = '00000000-0000-0000-0000-000000000064'::uuid) AND (ROW(created_at, id) > ROW('2026-10-17 00:00:00.081+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))",
"Rows Removed by Index Recheck": 0,
"Index Searches": 1,
"Shared Hit Blocks": 5,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
}
]
},
"Planning": {
"Shared Hit Blocks": 0,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.022,
"Triggers": [],
"Execution Time": 0.017
}
],
"small_deep": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 0.42,
"Total Cost": 90.47,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 0.006,
"Actual Total Time": 0.01,
"Actual Rows": 26.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 4,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Scan Direction": "Forward",
"Index Name": "messages_history",
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.42,
"Total Cost": 385.34,
"Plan Rows": 218,
"Plan Width": 188,
"Actual Startup Time": 0.006,
"Actual Total Time": 0.008,
"Actual Rows": 26.0,
"Actual Loops": 1,
"Disabled": false,
"Index Cond": "((chat_id = '00000000-0000-0000-0000-00000000006c'::uuid) AND (ROW(created_at, id) > ROW('2026-10-17 00:00:00.000225+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))",
"Rows Removed by Index Recheck": 0,
"Index Searches": 1,
"Shared Hit Blocks": 4,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
}
]
},
"Planning": {
"Shared Hit Blocks": 0,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.017,
"Triggers": [],
"Execution Time": 0.014
}
]
},
"reads": {
"successful_queries": 200,
"errors": 0,
"elapsed_seconds": 0.1024969590002911,
"queries_per_second": 1951.2774032586858,
"p50_ms": 0.44637499991040386,
"p95_ms": 0.7903205500724652,
"p99_ms": 1.2885267499632387,
"raw_latency_ms": [
3.3800839996729337,
1.112124999963271,
0.49808400035544764,
0.5914590001339093,
0.42937500029438525,
0.45783299992763205,
0.7629579999957059,
0.502666000102181,
0.5640419999508595,
0.51441599998725,
0.5017920002501342,
0.46854200036250404,
0.3951670000787999,
0.4340000000411237,
0.44754100008503883,
0.41416600015509175,
0.38487499978145934,
0.46204199998101103,
0.4899170003227482,
0.4627500002243323,
0.514709000071889,
0.4699589999290765,
0.48466599992025294,
0.4365409999991243,
0.43416699963927385,
0.4712499999186548,
0.45474999978978303,
0.5835000001752633,
0.40966700044009485,
0.4610000000866421,
0.4552079999484704,
0.46670899973833,
0.44116600020061014,
0.5698340000890312,
0.5712919996767596,
0.6221250000635337,
0.3915419997611025,
0.5243750001682201,
0.4682089997913863,
0.5312089997460134,
0.4142910001974087,
0.45237500035000267,
0.5153329998393019,
0.4785840001204633,
0.46025000028748764,
0.4282499999135325,
0.43449999975564424,
0.45433300010699895,
0.37362500006565824,
0.4388749998724961,
0.443459000052826,
0.42633400016711676,
0.4157089997534058,
0.43008399961763644,
0.5168749999029387,
0.45783299992763205,
0.49891700018633856,
0.42162500039921724,
0.418041999637353,
0.4387500002849265,
0.38945899996178923,
0.44620800008488004,
0.44216600008439855,
0.4210839997540461,
0.3917079998245754,
0.4107919999114529,
0.42929099981847685,
0.42054200002894504,
0.40420899995297077,
0.43608299984043697,
0.42929199980790145,
0.43979100018987083,
0.39204199993037037,
0.40162499999496504,
0.45054099973640405,
0.43791600000986364,
0.37849999989703065,
0.42254099980709725,
0.4247500000928994,
0.43354199988243636,
0.38158400002430426,
0.4273329996067332,
0.43612500030576484,
0.4074169996783894,
0.3764590001082979,
0.42325000003984314,
0.4977499997949053,
0.4205000000183645,
0.3670829996735847,
0.4177910000180418,
0.4120419998798752,
0.41091699995376985,
0.39387500009979703,
0.41245800002798205,
0.42862500004048343,
0.4223330001877912,
0.38545899997188826,
0.4228329999023117,
0.40508300025976496,
0.4381660000944976,
0.37058299994896515,
0.4302920001464372,
0.424667000061163,
0.40108399980454124,
0.38912499985599425,
0.41145800014419365,
0.4112080000595597,
0.42804200029422645,
0.3940829997191031,
0.4542909996416711,
0.43658399999912945,
0.4555830000754213,
0.41599999985919567,
0.43020800012527616,
0.4378329999781272,
0.4465419997359277,
0.37595899993903004,
0.40641600025992375,
0.6232079999790585,
1.2829170000259182,
1.2880829999630805,
0.5033749998801795,
0.4007089996775903,
0.44504200013761874,
0.37799999972776277,
0.4422500001055596,
0.4268749999027932,
0.44508400014819927,
0.41879200034600217,
0.4165830000602,
0.435165999988385,
0.4496669998843572,
0.4677500000980217,
0.4561250002552697,
0.4073749996678089,
0.43133300005138153,
0.3812909999396652,
0.38695800003551994,
0.40124999986801413,
0.40649999982633744,
0.3615420000642189,
0.398332999793638,
0.4384160001791315,
0.41983299979619915,
0.3884170000674203,
0.4901249999420543,
0.5285829997774272,
0.4235000001244771,
0.3952919996663695,
0.406082999688806,
0.4150419999859878,
0.6044159999873955,
0.39416599975083955,
0.5450420003398904,
0.476542000342306,
0.48316699985662126,
0.45441700012816,
0.46229200006564497,
0.468458000341343,
0.592833000155224,
0.5287090002639161,
0.5507500000021537,
0.45350000027610804,
0.8534170001439634,
0.5167089998394658,
0.6390829998963454,
0.6939589998182782,
0.7948339998620213,
0.5475829998431436,
0.774666999859619,
0.7012080000095011,
0.8224580001296999,
0.4823749995921389,
0.5134159996487142,
0.5867089998901065,
0.5629170000247541,
0.44741700003214646,
0.5398749999585561,
0.5895839999539021,
0.6361670002661413,
0.5456250000861473,
0.605333999828872,
0.5429580000964052,
0.7408750002468878,
0.6113330000516726,
0.6526660004055884,
0.5830830000377318,
0.49837500000649015,
0.5294999996294791,
0.676708999890252,
0.4832499998883577,
0.5832500000906293,
0.5767079996985558,
0.5720419999306614,
0.7900830000835413,
0.7490840002901678,
0.7410419998450379,
1.332457999978942,
0.8375830002478324,
0.8468749997518898
]
},
"writes": {
"committed_batches": 20,
"rows_per_batch": 100,
"errors": 0,
"elapsed_seconds": 0.0741105410002092,
"rows_per_second": 26986.714345997752,
"wal_bytes_cluster_delta": 722112,
"p50_ms": 3.2408125000529253,
"p95_ms": 4.063306599664429,
"p99_ms": 4.321928519775611,
"raw_batch_latency_ms": [
3.9015829997879337,
3.3149580003737356,
3.105416999915178,
3.5054170002695173,
3.1791249998605053,
4.0462919996571145,
3.2416670001111925,
3.319207999993523,
3.149541999846406,
3.212125000118249,
3.1492920002165192,
3.1504580001637805,
3.5445830003482115,
3.1863330000305723,
3.23866700000508,
3.0585409999730473,
3.2421249998151325,
3.2545829999435227,
3.239957999994658,
4.386583999803406
]
},
"index_bytes_after_writes": 6127616,
"postgres_resource_samples": [
{
"at": "2026-10-17T14:35:29.097757+00:00",
"cpu": "8.06%",
"memory": "96.92MiB / 512MiB"
}
]
},
{
"index": "composite",
"repeat": 2,
"initial_messages": 100000,
"plans": {
"large_first": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 0.42,
"Total Cost": 6.37,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 0.009,
"Actual Total Time": 0.017,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 5,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Scan Direction": "Forward",
"Index Name": "messages_history",
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.42,
"Total Cost": 10508.76,
"Plan Rows": 90108,
"Plan Width": 188,
"Actual Startup Time": 0.009,
"Actual Total Time": 0.014,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Index Cond": "((chat_id = '00000000-0000-0000-0000-000000000064'::uuid) AND (ROW(created_at, id) > ROW('2026-10-17 00:00:00+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))",
"Rows Removed by Index Recheck": 0,
"Index Searches": 1,
"Shared Hit Blocks": 5,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
}
]
},
"Planning": {
"Shared Hit Blocks": 33,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.102,
"Triggers": [],
"Execution Time": 0.027
}
],
"large_deep": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 0.42,
"Total Cost": 33.58,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 0.009,
"Actual Total Time": 0.018,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 5,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Scan Direction": "Forward",
"Index Name": "messages_history",
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.42,
"Total Cost": 5253.08,
"Plan Rows": 8077,
"Plan Width": 188,
"Actual Startup Time": 0.008,
"Actual Total Time": 0.014,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Index Cond": "((chat_id = '00000000-0000-0000-0000-000000000064'::uuid) AND (ROW(created_at, id) > ROW('2026-10-17 00:00:00.081+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))",
"Rows Removed by Index Recheck": 0,
"Index Searches": 1,
"Shared Hit Blocks": 5,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
}
]
},
"Planning": {
"Shared Hit Blocks": 0,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.042,
"Triggers": [],
"Execution Time": 0.025
}
],
"small_deep": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 0.42,
"Total Cost": 89.09,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 0.007,
"Actual Total Time": 0.011,
"Actual Rows": 26.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 4,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Scan Direction": "Forward",
"Index Name": "messages_history",
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.42,
"Total Cost": 476.84,
"Plan Rows": 274,
"Plan Width": 188,
"Actual Startup Time": 0.007,
"Actual Total Time": 0.009,
"Actual Rows": 26.0,
"Actual Loops": 1,
"Disabled": false,
"Index Cond": "((chat_id = '00000000-0000-0000-0000-00000000006c'::uuid) AND (ROW(created_at, id) > ROW('2026-10-17 00:00:00.000225+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))",
"Rows Removed by Index Recheck": 0,
"Index Searches": 1,
"Shared Hit Blocks": 4,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
}
]
},
"Planning": {
"Shared Hit Blocks": 0,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.034,
"Triggers": [],
"Execution Time": 0.017
}
]
},
"reads": {
"successful_queries": 200,
"errors": 0,
"elapsed_seconds": 0.0955898749998596,
"queries_per_second": 2092.271801802165,
"p50_ms": 0.4321459998664068,
"p95_ms": 0.6705413500412756,
"p99_ms": 1.0288989899527223,
"raw_latency_ms": [
4.600333000325918,
0.9754170000633167,
0.5900830001337454,
0.6062920001568273,
0.48308400027963216,
0.502666000102181,
0.48683399973015185,
0.6982499999139691,
1.0353329998906702,
1.0287079999216076,
0.6690830000479764,
0.469125000108761,
0.4483339998841984,
0.4869579997830442,
0.4610419996424753,
0.4496669998843572,
0.3816670000560407,
0.47041699963301653,
0.415916000292782,
0.4162499999438296,
0.4103750002286688,
0.4354579996288521,
0.4394170000523445,
0.4292500002520683,
0.43962500012639794,
0.40433300000586314,
0.5126250002831512,
0.7500000001527951,
0.4374160002953431,
0.575458999719558,
0.4577499998958956,
0.5354999998417043,
0.43220899988227757,
0.43233399992459454,
0.48279199972967035,
0.5647920002047613,
0.4942499999742722,
0.49316700005874736,
0.5035830004089803,
0.46550000024581095,
0.4651669996746932,
0.4114170001230377,
0.46983399988675956,
0.42920800024148775,
0.40287500041813473,
0.3988749999734864,
0.42770800018843147,
0.44129199977760436,
0.3762500000448199,
0.41920900002878625,
0.4164160000073025,
0.44845800039183814,
0.4110419999960868,
0.45433300010699895,
0.4561250002552697,
0.4193749996375118,
0.3847080001833092,
0.4269999999451102,
0.41679099967950606,
0.4336670003795007,
0.38250000034167897,
0.45787499993821257,
0.4598330001499562,
0.4364999999779684,
0.41633299997556605,
0.4086660001121345,
0.43000000005122274,
0.40395799987891223,
0.3662919998532743,
0.4123329999856651,
0.4442499998731364,
0.48812500017447746,
0.36625000029744115,
0.42220899968015146,
0.46491600005538203,
0.41170799977408024,
0.44795800022257026,
0.4132500002924644,
0.4481249998207204,
0.4012079998574336,
0.375665999854391,
0.4544160001387354,
0.42187500002910383,
0.47062499970706995,
0.3777500000978762,
0.4479579997678229,
0.49024999998437124,
0.4737909998766554,
0.4069169999638689,
0.4030419995615375,
0.42125000027226633,
0.5633340001622855,
0.4030830000374408,
0.4332499997872219,
0.4429169998729776,
0.521458000093844,
0.5233339998085285,
0.4565829999592097,
0.503000000207976,
0.44829100033894065,
0.4410830001688737,
0.4297499999665888,
0.4326250000303844,
0.4119999998692947,
0.3862079997816181,
0.4689580000558635,
0.4522079998423578,
0.4442089998519805,
0.40399999988949276,
0.44675000026472844,
0.3830839996226132,
0.42341600010331604,
0.42037499997604755,
0.4162079999332491,
0.4299580000406422,
0.4309159999138501,
0.4054579999319685,
0.44120800021119067,
0.4069999999956053,
0.4557500001283188,
0.46320799992827233,
0.4149169999436708,
0.44858399996883236,
0.428665999606892,
0.36720900016007363,
0.4185419998066209,
0.4302500001358567,
0.40383299983659526,
0.39991699986785534,
0.44720799996866845,
0.42241600021952763,
0.4253749998497369,
0.3818330001195136,
0.45762499985357863,
0.5358329999580747,
0.45629099986399524,
0.3895419999935257,
0.432082999850536,
0.39624999999432475,
0.4359169997769641,
0.416792000123678,
0.40612499969938654,
0.40166700000554556,
0.41666700008136104,
0.37970899984429707,
0.44129199977760436,
0.42900000016743434,
0.3878329998769914,
0.36908399988533347,
0.43558300012591644,
0.42391699980726116,
0.4400840002745099,
0.3950829996028915,
0.4252500002621673,
0.44316699995761155,
0.4380000000310247,
0.39775000004738104,
0.45066700022289297,
0.43712500018955325,
0.8306250001623994,
0.3857090000565222,
0.4125000000385626,
0.4090829997949186,
0.4078340002706682,
0.4494999998314597,
0.4303330001675931,
0.43262499957563705,
0.4368750001049193,
0.37804200019309064,
0.4717089996120194,
0.45516699992731446,
0.44049999996786937,
0.4250420001881139,
0.45512499991673394,
0.465041000097699,
0.4422500001055596,
0.40629099976285943,
0.4020830001536524,
0.402541999847017,
0.43608299984043697,
0.38120899989735335,
0.40166600001612096,
0.41749999991225195,
0.41433300020798924,
0.3621669998210564,
0.39620899997316883,
0.390917000004265,
0.43520899998839013,
0.37829099983355263,
0.40204100014307187,
0.3987079999205889,
0.7462919998033613,
1.020916000015859,
1.0288339999533491,
0.4209579997223045,
0.4264170001988532,
0.3517079999255657,
0.39491699999416596,
0.4050829998050176,
0.473000000056345
]
},
"writes": {
"committed_batches": 20,
"rows_per_batch": 100,
"errors": 0,
"elapsed_seconds": 0.06781450000016775,
"rows_per_second": 29492.217740970627,
"wal_bytes_cluster_delta": 714824,
"p50_ms": 3.1146455000907736,
"p95_ms": 3.437846150222868,
"p99_ms": 3.6989692301494865,
"raw_batch_latency_ms": [
3.764250000131142,
3.226583000014216,
3.150250000089727,
3.0420420002883475,
3.105457999936334,
3.1740419999550795,
3.275459000178671,
3.0416659997172246,
3.123833000245213,
3.420667000227695,
3.1045420000737067,
3.0512079997606634,
3.2142089999069867,
3.1015839999781747,
3.1269169999177393,
3.02295800020147,
2.9680419997930585,
2.922542000305839,
3.32295799989879,
2.7570420002120954
]
},
"index_bytes_after_writes": 6127616,
"postgres_resource_samples": [
{
"at": "2026-10-17T14:35:32.126382+00:00",
"cpu": "0.09%",
"memory": "97.84MiB / 512MiB"
}
]
},
{
"index": "single",
"repeat": 2,
"initial_messages": 100000,
"plans": {
"large_first": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 6497.81,
"Total Cost": 6503.62,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 6.99,
"Actual Total Time": 8.176,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 2718,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Gather Merge",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 6497.81,
"Total Cost": 16750.26,
"Plan Rows": 89957,
"Plan Width": 188,
"Actual Startup Time": 6.989,
"Actual Total Time": 8.172,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Workers Planned": 1,
"Workers Launched": 1,
"Shared Hit Blocks": 2718,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Sort",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 5497.8,
"Total Cost": 5630.09,
"Plan Rows": 52916,
"Plan Width": 188,
"Actual Startup Time": 5.997,
"Actual Total Time": 5.999,
"Actual Rows": 51.0,
"Actual Loops": 2,
"Disabled": false,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "top-N heapsort",
"Sort Space Used": 38,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 2718,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Workers": [
{
"Worker Number": 0,
"Sort Method": "top-N heapsort",
"Sort Space Used": 38,
"Sort Space Type": "Memory"
}
],
"Plans": [
{
"Node Type": "Seq Scan",
"Parent Relationship": "Outer",
"Parallel Aware": true,
"Async Capable": false,
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.0,
"Total Cost": 3732.41,
"Plan Rows": 52916,
"Plan Width": 188,
"Actual Startup Time": 0.006,
"Actual Total Time": 3.465,
"Actual Rows": 45000.0,
"Actual Loops": 2,
"Disabled": false,
"Filter": "((chat_id = '00000000-0000-0000-0000-000000000064'::uuid) AND (ROW(created_at, id) > ROW('2026-10-17 00:00:00+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))",
"Rows Removed by Filter": 5000,
"Shared Hit Blocks": 2703,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Workers": []
}
]
}
]
}
]
},
"Planning": {
"Shared Hit Blocks": 33,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.115,
"Triggers": [],
"Execution Time": 8.188
}
],
"large_deep": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 4721.2,
"Total Cost": 4721.33,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 4.068,
"Actual Total Time": 4.073,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 2703,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Sort",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 4721.2,
"Total Cost": 4741.3,
"Plan Rows": 8039,
"Plan Width": 188,
"Actual Startup Time": 4.068,
"Actual Total Time": 4.07,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "top-N heapsort",
"Sort Space Used": 38,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 2703,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Seq Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.0,
"Total Cost": 4453.0,
"Plan Rows": 8039,
"Plan Width": 188,
"Actual Startup Time": 2.71,
"Actual Total Time": 3.563,
"Actual Rows": 9001.0,
"Actual Loops": 1,
"Disabled": false,
"Filter": "((chat_id = '00000000-0000-0000-0000-000000000064'::uuid) AND (ROW(created_at, id) > ROW('2026-10-17 00:00:00.081+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))",
"Rows Removed by Filter": 90999,
"Shared Hit Blocks": 2703,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
}
]
}
]
},
"Planning": {
"Shared Hit Blocks": 0,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.037,
"Triggers": [],
"Execution Time": 4.079
}
],
"small_deep": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 27.53,
"Total Cost": 27.66,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 0.025,
"Actual Total Time": 0.027,
"Actual Rows": 26.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 9,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Sort",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 27.53,
"Total Cost": 28.12,
"Plan Rows": 235,
"Plan Width": 188,
"Actual Startup Time": 0.024,
"Actual Total Time": 0.025,
"Actual Rows": 26.0,
"Actual Loops": 1,
"Disabled": false,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "quicksort",
"Sort Space Used": 31,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 9,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Scan Direction": "Forward",
"Index Name": "messages_by_chat",
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.29,
"Total Cost": 19.69,
"Plan Rows": 235,
"Plan Width": 188,
"Actual Startup Time": 0.019,
"Actual Total Time": 0.021,
"Actual Rows": 26.0,
"Actual Loops": 1,
"Disabled": false,
"Index Cond": "(chat_id = '00000000-0000-0000-0000-00000000006c'::uuid)",
"Rows Removed by Index Recheck": 0,
"Filter": "(ROW(created_at, id) > ROW('2026-10-17 00:00:00.000225+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid))",
"Rows Removed by Filter": 224,
"Index Searches": 1,
"Shared Hit Blocks": 9,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
}
]
}
]
},
"Planning": {
"Shared Hit Blocks": 0,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.04,
"Triggers": [],
"Execution Time": 0.033
}
]
},
"reads": {
"successful_queries": 200,
"errors": 0,
"elapsed_seconds": 1.1970314160003,
"queries_per_second": 167.07999249365557,
"p50_ms": 8.115895499940962,
"p95_ms": 8.697488950269872,
"p99_ms": 8.887546249820842,
"raw_latency_ms": [
2.8564999997797713,
8.808167000097455,
6.077542000184621,
8.775083999807975,
0.5151660002411518,
8.57537499996397,
6.192332999944483,
8.436332999735896,
0.4287090000616445,
8.32266699990214,
6.489625000085653,
8.655583999825467,
0.5930419997639547,
8.376208000299812,
6.054417000086687,
8.609874999820022,
0.8556669999961741,
8.607666999978392,
6.39950000004319,
8.46604100024706,
0.6343340000967146,
8.383291999962239,
6.151084000066476,
8.454958999664086,
0.5901249996895785,
8.421624999755295,
6.25499999978274,
8.453458000076353,
0.5724590000681928,
8.46570800013069,
5.922958999690309,
8.362125000076048,
0.5674169997291756,
8.66074999976263,
6.0950830002184375,
8.66825000002791,
0.5393750002440356,
8.350499999778549,
6.14537499996004,
8.622458999980154,
0.6125410000095144,
8.624583999790048,
6.051750000096945,
8.740207999835548,
0.8690839999871969,
8.526083000106155,
6.2088750000839354,
8.577625000270928,
0.574916999994457,
8.431792000010319,
6.230208000033599,
8.53937500005486,
0.6390000003193563,
8.345958999598224,
6.315749999885156,
9.114874999795575,
0.6411250001292501,
8.885249999821099,
6.25458400008938,
8.680917000219779,
0.5962499999441206,
8.565249999719526,
6.256207999740582,
8.53370899994843,
0.5711660000997654,
8.545582999886392,
8.578292000038346,
10.012749999987136,
0.7550839995928982,
8.836249999603751,
6.294499999967229,
8.577375000186294,
0.6397500001185108,
8.558792000258109,
6.373540999902616,
8.491375000176049,
0.5860419996679411,
8.43216700013727,
6.20600000002014,
8.562458999676892,
0.6340410000120755,
8.445999999821652,
6.247875000099157,
8.367041999918001,
0.6948749996809056,
8.441625000159547,
6.261125000037282,
8.405124999626423,
0.49024999998437124,
8.33874999989348,
6.31254199970499,
8.625999999821943,
0.8185840001715405,
8.532666000064637,
6.3020840002536715,
8.545124999727705,
1.1592500000006112,
8.577833999879658,
6.22758299959969,
8.378167000046233,
0.6517080000776332,
8.380540999951336,
6.258709000121598,
8.492417000070418,
0.555458000235376,
8.362832999864622,
6.184542000028159,
8.31483299998581,
0.6387920002453029,
8.387040999878081,
6.260583000312181,
8.39449999966746,
0.5621249997602717,
8.482791999995243,
6.310708999990311,
8.757915999922261,
0.6226249997780542,
8.278374999918015,
6.228666999959387,
8.311915999911434,
0.5675830002473958,
8.461667000119633,
6.225333000202227,
8.35733399981109,
0.47420900000361144,
8.51391700007298,
6.289124999966589,
8.755500000006577,
1.216874999954598,
8.682624999892141,
6.0019580000698625,
8.703625000180182,
0.6222080000952701,
8.538874999885593,
6.260583000312181,
8.321917000102985,
0.5735419999837177,
8.33287500017832,
6.089957999847684,
8.399333999932423,
0.5840829999215202,
8.387000000311673,
6.240915999569552,
8.504458000061277,
0.559292000161804,
8.37912499991944,
6.311292000191315,
8.353083999736555,
0.5605410001408018,
8.462459000384115,
6.1712090000582975,
8.307042000069487,
0.5478330003825249,
8.494749999954365,
6.276290999721823,
8.272166000097059,
0.5901250001443259,
8.49225000001752,
6.1937919999763835,
8.403249999901163,
0.5549580000661081,
8.373708999897644,
6.250625000120635,
8.463915999982419,
0.5851669998264697,
8.266249999905995,
6.1562079999930575,
8.422375000009197,
0.5751250000685104,
8.372833000066748,
6.058874999780528,
8.697166000274592,
0.8375409997825045,
8.56945799978348,
6.0135419998914585,
8.602375000009488,
0.6803329997637775,
8.205084000110219,
6.185333000303217,
8.43075000011595,
0.5667909999829135,
8.188082999822655,
6.208083999808878,
8.411667000018497,
0.5916660002185381,
8.415041999796813,
6.20775000015783,
8.554041000024881,
0.5523330000869464,
8.372499999950378,
6.1226669999996375,
8.29341700000441,
0.586332999773731,
8.357875000001513,
6.1638329998459085,
8.367833000193059,
0.7206249997580016,
8.33375000001979,
6.163666000247758,
8.043708000059269
]
},
"writes": {
"committed_batches": 20,
"rows_per_batch": 100,
"errors": 0,
"elapsed_seconds": 0.08592845900011525,
"rows_per_second": 23275.175922767536,
"wal_bytes_cluster_delta": 573808,
"p50_ms": 3.8423749999765278,
"p95_ms": 4.918889550367567,
"p99_ms": 5.061610709958586,
"raw_batch_latency_ms": [
4.711042000053567,
4.364166999948793,
3.903207999883307,
4.2442079998181725,
3.399790999992547,
5.097290999856341,
3.5859999998137937,
4.839291999815032,
3.678874999877735,
4.259833000105573,
3.3526670003993786,
3.7815420000697486,
4.299082999750681,
3.9927919997353456,
3.3033750000868167,
3.7175410002419085,
3.2103749999805586,
3.496875000109867,
3.3273750000262226,
4.909500000394473
]
},
"index_bytes_after_writes": 688128,
"postgres_resource_samples": [
{
"at": "2026-10-17T14:35:34.316821+00:00",
"cpu": "89.08%",
"memory": "98.68MiB / 512MiB"
},
{
"at": "2026-10-17T14:35:36.327165+00:00",
"cpu": "0.07%",
"memory": "99.14MiB / 512MiB"
}
]
},
{
"index": "single",
"repeat": 3,
"initial_messages": 100000,
"plans": {
"large_first": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 6502.35,
"Total Cost": 6508.16,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 7.121,
"Actual Total Time": 8.271,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 2718,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Gather Merge",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 6502.35,
"Total Cost": 16781.13,
"Plan Rows": 90188,
"Plan Width": 188,
"Actual Startup Time": 7.12,
"Actual Total Time": 8.267,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Workers Planned": 1,
"Workers Launched": 1,
"Shared Hit Blocks": 2718,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Sort",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 5502.34,
"Total Cost": 5634.97,
"Plan Rows": 53052,
"Plan Width": 188,
"Actual Startup Time": 6.072,
"Actual Total Time": 6.074,
"Actual Rows": 51.0,
"Actual Loops": 2,
"Disabled": false,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "top-N heapsort",
"Sort Space Used": 38,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 2718,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Workers": [
{
"Worker Number": 0,
"Sort Method": "top-N heapsort",
"Sort Space Used": 38,
"Sort Space Type": "Memory"
}
],
"Plans": [
{
"Node Type": "Seq Scan",
"Parent Relationship": "Outer",
"Parallel Aware": true,
"Async Capable": false,
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.0,
"Total Cost": 3732.41,
"Plan Rows": 53052,
"Plan Width": 188,
"Actual Startup Time": 0.005,
"Actual Total Time": 3.515,
"Actual Rows": 45000.0,
"Actual Loops": 2,
"Disabled": false,
"Filter": "((chat_id = '00000000-0000-0000-0000-000000000064'::uuid) AND (ROW(created_at, id) > ROW('2026-10-17 00:00:00+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))",
"Rows Removed by Filter": 5000,
"Shared Hit Blocks": 2703,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Workers": []
}
]
}
]
}
]
},
"Planning": {
"Shared Hit Blocks": 31,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.089,
"Triggers": [],
"Execution Time": 8.283
}
],
"large_deep": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 4729.61,
"Total Cost": 4729.73,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 4.059,
"Actual Total Time": 4.065,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 2703,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Sort",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 4729.61,
"Total Cost": 4750.33,
"Plan Rows": 8291,
"Plan Width": 188,
"Actual Startup Time": 4.059,
"Actual Total Time": 4.061,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "top-N heapsort",
"Sort Space Used": 38,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 2703,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Seq Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.0,
"Total Cost": 4453.0,
"Plan Rows": 8291,
"Plan Width": 188,
"Actual Startup Time": 2.707,
"Actual Total Time": 3.556,
"Actual Rows": 9001.0,
"Actual Loops": 1,
"Disabled": false,
"Filter": "((chat_id = '00000000-0000-0000-0000-000000000064'::uuid) AND (ROW(created_at, id) > ROW('2026-10-17 00:00:00.081+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))",
"Rows Removed by Filter": 90999,
"Shared Hit Blocks": 2703,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
}
]
}
]
},
"Planning": {
"Shared Hit Blocks": 0,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.043,
"Triggers": [],
"Execution Time": 4.072
}
],
"small_deep": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 30.53,
"Total Cost": 30.66,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 0.025,
"Actual Total Time": 0.028,
"Actual Rows": 26.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 9,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Sort",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 30.53,
"Total Cost": 31.21,
"Plan Rows": 270,
"Plan Width": 188,
"Actual Startup Time": 0.025,
"Actual Total Time": 0.026,
"Actual Rows": 26.0,
"Actual Loops": 1,
"Disabled": false,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "quicksort",
"Sort Space Used": 31,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 9,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Scan Direction": "Forward",
"Index Name": "messages_by_chat",
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.29,
"Total Cost": 21.53,
"Plan Rows": 270,
"Plan Width": 188,
"Actual Startup Time": 0.019,
"Actual Total Time": 0.022,
"Actual Rows": 26.0,
"Actual Loops": 1,
"Disabled": false,
"Index Cond": "(chat_id = '00000000-0000-0000-0000-00000000006c'::uuid)",
"Rows Removed by Index Recheck": 0,
"Filter": "(ROW(created_at, id) > ROW('2026-10-17 00:00:00.000225+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid))",
"Rows Removed by Filter": 224,
"Index Searches": 1,
"Shared Hit Blocks": 9,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
}
]
}
]
},
"Planning": {
"Shared Hit Blocks": 0,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.041,
"Triggers": [],
"Execution Time": 0.033
}
]
},
"reads": {
"successful_queries": 200,
"errors": 0,
"elapsed_seconds": 1.2137888340002974,
"queries_per_second": 164.77330685343165,
"p50_ms": 7.305979000193474,
"p95_ms": 8.876687200177003,
"p99_ms": 9.30667142006307,
"raw_latency_ms": [
3.484208000372746,
9.046749999924941,
6.224707999990642,
8.580375000292406,
0.47404199995071394,
8.341167000253336,
5.87891600025614,
8.610625000073924,
0.44216700007382315,
8.469500000046537,
6.1017080001875,
8.326665999902616,
0.43504099994606804,
8.331334000104107,
6.292749999829539,
8.442500000001019,
0.5795830002170987,
8.512375000009342,
6.156250000003638,
8.7082919999375,
0.5546669999603182,
8.477500000026339,
6.205749999935506,
8.373458000278333,
0.49179100005858345,
20.256999999674008,
6.244250000236207,
8.444125000096392,
0.7182079998528934,
8.745541000280355,
6.181124999784515,
8.730208000088169,
0.6569170000148006,
8.392707999973936,
6.307874999947671,
8.53116600001158,
0.6263340001169126,
8.419541999955982,
6.25408400037486,
8.413708000261977,
0.5907909999223193,
8.35629199991672,
6.297958000232029,
8.463916999971843,
0.5057089997535513,
8.240125000156695,
6.157917000109592,
8.339875000274333,
0.6218339999577438,
9.12620799999786,
6.339249999655294,
8.317499999975553,
0.6448330000239366,
8.259249999809981,
6.454625000060332,
9.23116600006324,
0.5997909997859097,
8.364207999875362,
5.955583999821101,
8.651999999983673,
0.6087080000725109,
8.405333000155224,
6.277792000219051,
8.3966249999321,
0.6438330001401482,
8.414957999775652,
6.171875000291038,
8.291665999877296,
0.5058329998064437,
8.320542000092246,
6.241625000257045,
8.279958999992232,
0.5233339998085285,
8.263291999810463,
6.278333000409475,
8.451249999779975,
0.570707999941078,
8.451083000181825,
6.135459000233823,
8.371499999611842,
0.565916000141442,
8.336208000400802,
6.123957999989216,
8.325042000251415,
0.5169169999135192,
8.460667000235844,
6.2492080000993155,
8.409291999669222,
0.6654999997408595,
8.36870800003453,
6.207707999692502,
8.374999999887223,
0.5994580001242866,
8.317583999996714,
6.1934579998705885,
8.52720800003226,
0.5252089999885357,
8.394458999646304,
6.23908300030962,
8.516792000136775,
0.8732500000405707,
8.665874999678636,
6.240875000003143,
8.496000000377535,
0.6544170000779559,
8.157333000326616,
6.213958999978786,
8.86620800019955,
0.6701659999635012,
8.956874999967113,
6.381624999903579,
8.87558300019009,
0.9332500003438327,
9.081457999855047,
6.220874999598891,
8.729333999781375,
0.6965410002521821,
8.54833299990787,
6.259125000269705,
8.428208000168524,
0.582000000122207,
8.387959000174305,
6.294957999671169,
8.366625000235217,
0.6328750000648142,
8.361332999811566,
5.989499999941472,
8.343291999608482,
0.5720409999412368,
8.451790999970399,
5.976375000045664,
8.897666999928333,
0.6857909997961542,
8.307874999900378,
6.304042000010668,
8.772374999807653,
0.7785000002513698,
8.345917000042391,
6.278291999933572,
8.518749999893771,
0.6628330002058647,
8.38449999992008,
6.221042000106536,
8.441958000275918,
0.6277919997046411,
8.387500000026193,
6.243375000394735,
8.366499999738153,
0.5431660001704586,
8.419833000061772,
6.212041999788198,
8.405042000049434,
0.5672500001310254,
8.34099999974569,
6.19749999987107,
8.377624999866384,
0.5101249998915591,
8.27570800038302,
6.34920799984684,
8.42224999996688,
0.6724579998262925,
8.37341699980243,
6.254500000068219,
8.446959000139032,
0.5917079997743713,
8.3517920002123,
6.28099999994447,
8.530417000201851,
0.7872920000409067,
8.40179100032401,
6.143957999938721,
8.572666999953071,
0.5830000000059954,
8.39087499980451,
6.015707999722508,
8.680208999976458,
0.6069579999348207,
8.29904100010026,
6.078958999751194,
8.646207999845501,
0.6459589999394666,
8.474000000205706,
6.049500000244734,
8.979249999811145,
0.7785410002725257,
8.590124999955151,
6.317708999631577,
8.4694170000148,
0.6725420003022009,
8.355334000043513,
6.184874999689782,
16.781708000053186,
0.8010420001482998,
9.119290999933582,
6.164709000131552,
8.494665999933204,
0.4773339996972936,
8.308541999667796,
6.17999999985841,
8.31087500000649
]
},
"writes": {
"committed_batches": 20,
"rows_per_batch": 100,
"errors": 0,
"elapsed_seconds": 0.07512720900012937,
"rows_per_second": 26621.513385337606,
"wal_bytes_cluster_delta": 573856,
"p50_ms": 3.2253335002678796,
"p95_ms": 4.114763150187174,
"p99_ms": 4.723586230315958,
"raw_batch_latency_ms": [
4.029624999930093,
3.2321670000783342,
3.1675410000389093,
3.146832999846083,
3.214084000319417,
3.192375000253378,
3.2261670003208565,
3.3279160002166464,
3.309541999897192,
3.356582999913371,
3.207834000022558,
3.2245000002149027,
3.896624999924825,
3.4091669999725127,
4.0747090001787,
3.221124999981839,
3.1824159996176604,
3.1014589999358577,
3.1041249999361753,
4.875792000348156
]
},
"index_bytes_after_writes": 688128,
"postgres_resource_samples": [
{
"at": "2026-10-17T14:35:38.511819+00:00",
"cpu": "90.99%",
"memory": "100.4MiB / 512MiB"
},
{
"at": "2026-10-17T14:35:40.528666+00:00",
"cpu": "0.10%",
"memory": "100.7MiB / 512MiB"
}
]
},
{
"index": "composite",
"repeat": 3,
"initial_messages": 100000,
"plans": {
"large_first": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 0.42,
"Total Cost": 6.36,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 0.008,
"Actual Total Time": 0.016,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 5,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Scan Direction": "Forward",
"Index Name": "messages_history",
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.42,
"Total Cost": 10517.67,
"Plan Rows": 90241,
"Plan Width": 188,
"Actual Startup Time": 0.008,
"Actual Total Time": 0.013,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Index Cond": "((chat_id = '00000000-0000-0000-0000-000000000064'::uuid) AND (ROW(created_at, id) > ROW('2026-10-17 00:00:00+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))",
"Rows Removed by Index Recheck": 0,
"Index Searches": 1,
"Shared Hit Blocks": 5,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
}
]
},
"Planning": {
"Shared Hit Blocks": 31,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.092,
"Triggers": [],
"Execution Time": 0.024
}
],
"large_deep": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 0.42,
"Total Cost": 33.35,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 0.009,
"Actual Total Time": 0.018,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 5,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Scan Direction": "Forward",
"Index Name": "messages_history",
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.42,
"Total Cost": 5254.86,
"Plan Rows": 8138,
"Plan Width": 188,
"Actual Startup Time": 0.009,
"Actual Total Time": 0.014,
"Actual Rows": 51.0,
"Actual Loops": 1,
"Disabled": false,
"Index Cond": "((chat_id = '00000000-0000-0000-0000-000000000064'::uuid) AND (ROW(created_at, id) > ROW('2026-10-17 00:00:00.081+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))",
"Rows Removed by Index Recheck": 0,
"Index Searches": 1,
"Shared Hit Blocks": 5,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
}
]
},
"Planning": {
"Shared Hit Blocks": 0,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.031,
"Triggers": [],
"Execution Time": 0.024
}
],
"small_deep": [
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 0.42,
"Total Cost": 89.58,
"Plan Rows": 51,
"Plan Width": 188,
"Actual Startup Time": 0.006,
"Actual Total Time": 0.009,
"Actual Rows": 26.0,
"Actual Loops": 1,
"Disabled": false,
"Shared Hit Blocks": 4,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0,
"Plans": [
{
"Node Type": "Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Scan Direction": "Forward",
"Index Name": "messages_history",
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 0.42,
"Total Cost": 451.45,
"Plan Rows": 258,
"Plan Width": 188,
"Actual Startup Time": 0.006,
"Actual Total Time": 0.008,
"Actual Rows": 26.0,
"Actual Loops": 1,
"Disabled": false,
"Index Cond": "((chat_id = '00000000-0000-0000-0000-00000000006c'::uuid) AND (ROW(created_at, id) > ROW('2026-10-17 00:00:00.000225+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))",
"Rows Removed by Index Recheck": 0,
"Index Searches": 1,
"Shared Hit Blocks": 4,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
}
]
},
"Planning": {
"Shared Hit Blocks": 0,
"Shared Read Blocks": 0,
"Shared Dirtied Blocks": 0,
"Shared Written Blocks": 0,
"Local Hit Blocks": 0,
"Local Read Blocks": 0,
"Local Dirtied Blocks": 0,
"Local Written Blocks": 0,
"Temp Read Blocks": 0,
"Temp Written Blocks": 0
},
"Planning Time": 0.019,
"Triggers": [],
"Execution Time": 0.013
}
]
},
"reads": {
"successful_queries": 200,
"errors": 0,
"elapsed_seconds": 0.08978108400015117,
"queries_per_second": 2227.6407355436168,
"p50_ms": 0.4289164999136119,
"p95_ms": 0.5508277002491011,
"p99_ms": 0.9835804099930098,
"raw_latency_ms": [
1.2916249997942941,
0.563874999897962,
0.5648339997605945,
0.5066249996161787,
0.4281659998923715,
0.4127500001231965,
0.42287499991289224,
0.43120899999848916,
0.3922910000255797,
0.4192910000710981,
0.4658339998968586,
0.5306250000103319,
0.42829099993468844,
0.5625829999189591,
0.46929199970691116,
0.46645800011901883,
0.4084580000380811,
0.439165999978286,
0.46129100019243197,
0.4707079997388064,
0.4098330000488204,
0.46695899982296396,
0.4607910000231641,
0.46345800001290627,
0.45416700004352606,
0.5097500002193556,
0.8567909999328549,
0.4998340000383905,
0.43995899977744557,
0.4780419999406149,
0.7332079999287089,
0.5249999999250576,
0.4402500003379828,
0.5502090002664772,
0.6132500002422603,
0.5112920002829924,
0.5236249999143183,
0.46095799962131423,
0.427625000156695,
0.4364999999779684,
0.4007920001640741,
0.4693749997386476,
0.4452920002222527,
0.4603330003192241,
0.39425000022674794,
0.42791699979716213,
0.4546669997580466,
0.4648330000236456,
0.39470899992011255,
0.4137079999964044,
0.5158750000191503,
0.4337919999670703,
0.38558300002478063,
0.4459580000002461,
0.41612499990151264,
0.4476250001061999,
0.4081669999322912,
0.4461250000531436,
0.41329199984829756,
0.43550000009418,
0.3931670003112231,
0.45233300033942214,
0.4184159997748793,
0.4287500000828004,
0.40941699990071356,
0.42666700028348714,
0.44312499994703103,
0.4490839996833529,
0.39287500021600863,
0.4059169996253331,
0.4119580003134615,
0.4432079999787675,
0.36499999987427145,
0.39974999981495785,
0.43695800013665576,
0.43879199984075967,
0.44741700003214646,
0.4626670001925959,
0.45979199967405293,
0.4312920000302256,
0.4041249999318097,
0.4515000000537839,
0.4583749996527331,
0.4473330000109854,
0.43441600018923054,
0.4234169996379933,
0.43133300005138153,
0.4075000001648732,
0.38879199973962386,
0.48966600024868967,
0.44583299995792913,
0.3992500001004373,
0.435375000051863,
0.4246660000717384,
0.4363329999250709,
0.3955000001951703,
0.40204200013249647,
0.40824999996402767,
0.413374999880034,
0.4274170000826416,
0.43737499981943984,
0.4297079999560083,
0.42966599994542776,
0.40904199977376265,
0.39695900022707065,
0.41816599969024537,
0.4380000000310247,
0.41266700009146007,
0.36687500005427864,
0.4067499999109714,
0.4027089998999145,
0.4146659998696123,
0.36333300022306503,
0.38974999961283174,
0.3938340000786411,
0.4544580001493159,
0.4079999998793937,
0.40379199981543934,
0.39204099994094577,
0.4457499999261927,
0.4075000001648732,
0.5178750002414745,
0.4519579997577239,
0.4243339999447926,
0.37462499994944665,
0.5206670002735336,
0.40949999993245,
0.6878340000184835,
0.9832499999902211,
1.0162910002691206,
0.549499999578984,
0.43287500011501834,
0.3750840000975586,
0.42104099975404097,
0.43004200006180326,
0.4309159999138501,
0.4342499996710103,
0.4135419999329315,
0.43137500006196206,
0.43912499995713006,
0.38362500026778434,
0.4157920002398896,
0.42987500000890577,
0.48429199978272663,
0.3841669999928854,
0.439249999999447,
0.4615830002876464,
0.44200000002092565,
0.37579099989670794,
0.41095799997492577,
0.4554580000331043,
0.4066249998686544,
0.39775000004738104,
0.43254199999864795,
0.4158329998062982,
0.5272080002214352,
0.39279099974010023,
0.4409590001159813,
0.42791699979716213,
0.42395800028316444,
0.37725000038335565,
0.41429099974266137,
0.4125420000491431,
0.42908299974442343,
0.39675000016359263,
0.42104099975404097,
0.4210000001876324,
0.4486249999899883,
0.37524999970628414,
0.4538329999377311,
0.41245800002798205,
0.4252919998180005,
0.3994170001533348,
0.4250420001881139,
0.4216249999444699,
0.42541599987089285,
0.4114170001230377,
0.41704200020831195,
0.4359159997875395,
0.4186250002931047,
0.3806670001722523,
0.4103329997633409,
0.4007080001429131,
0.39979199982553837,
0.3724170001078164,
0.3886659997078823,
0.44733400000041,
0.431500000104279,
0.37970799985487247,
0.4235420001350576,
0.42579199998726835,
0.4295829999136913,
0.3667910000331176,
0.454665999768622,
0.4523749998952553,
0.4476670001167804,
0.36416700004338054,
0.39850000030128285,
0.41541599966876674,
0.4424160001690325
]
},
"writes": {
"committed_batches": 20,
"rows_per_batch": 100,
"errors": 0,
"elapsed_seconds": 0.0846094999997149,
"rows_per_second": 23638.007552423063,
"wal_bytes_cluster_delta": 725704,
"p50_ms": 3.413354000031177,
"p95_ms": 4.6456951998152425,
"p99_ms": 11.136539039816842,
"raw_batch_latency_ms": [
3.8760000002184825,
3.541083000072831,
3.092874999765627,
3.1073330001163413,
3.257249999933265,
3.124875000139582,
3.46899999976813,
3.0752909997318056,
3.1624580001334834,
3.2836659997883544,
3.8065839999035234,
3.359916000135854,
3.577625000161788,
3.4570830002849107,
3.3785830000852,
3.4481249999771535,
3.2466249999743013,
12.759249999817257,
4.21866599981513,
4.159874999913882
]
},
"index_bytes_after_writes": 6127616,
"postgres_resource_samples": [
{
"at": "2026-10-17T14:35:42.607655+00:00",
"cpu": "5.80%",
"memory": "102.1MiB / 512MiB"
}
]
}
],
"postgres_version": "PostgreSQL 18.3 (Debian 18.3-1.pgdg13+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 14.2.0-19) 14.2.0, 64-bit",
"durability": {
"fsync": "on",
"synchronous_commit": "on",
"full_page_writes": "on"
},
"backup_restore": {
"snapshot": {
"counts": {
"users": 2,
"chats": 10,
"chat_members": 20,
"messages": 102000,
"sessions": 1,
"schema_migrations": 1
},
"all_messages_sha256": "9e4c5255d2a3cb471b152fcee72630b4291d1368b292deb23971142c48be80dd",
"selected_messages": [
[
"00000e8b-85d1-0f30-a66e-3e940457d573",
"00000000-0000-0000-0000-000000000064",
"00000000-0000-0000-0000-000000000001",
"mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
"2026-10-17 00:00:00.023217+00:00"
],
[
"00002b87-ffb8-cba4-eaa1-7745ae2f0702",
"00000000-0000-0000-0000-000000000064",
"00000000-0000-0000-0000-000000000001",
"mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
"2026-10-17 00:00:00.019423+00:00"
],
[
"00006fd3-f211-26b7-5f2b-289a975692e3",
"00000000-0000-0000-0000-000000000064",
"00000000-0000-0000-0000-000000000001",
"mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
"2026-10-17 00:00:00.045337+00:00"
],
[
"0000834d-f9fd-6a70-db8b-33c3b4637739",
"00000000-0000-0000-0000-000000000067",
"00000000-0000-0000-0000-000000000001",
"mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
"2026-10-17 00:00:00.000667+00:00"
],
[
"0001a049-e0b6-2a3f-8b1b-e3aa38dba70a",
"00000000-0000-0000-0000-000000000064",
"00000000-0000-0000-0000-000000000001",
"mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
"2026-10-17 00:00:00.015563+00:00"
],
[
"0002392a-3c9c-535d-4300-b8b98251ccd9",
"00000000-0000-0000-0000-000000000064",
"00000000-0000-0000-0000-000000000001",
"mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
"2026-10-17 00:00:00.002838+00:00"
],
[
"00030201-8fad-d71e-53ac-a2be9f8f8f2f",
"00000000-0000-0000-0000-000000000064",
"00000000-0000-0000-0000-000000000001",
"mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
"2026-10-17 00:00:00.056060+00:00"
],
[
"00038ef3-4329-84db-32ad-1a140807cd4a",
"00000000-0000-0000-0000-000000000064",
"00000000-0000-0000-0000-000000000001",
"mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
"2026-10-17 00:00:00.030883+00:00"
]
]
},
"restored": {
"counts": {
"users": 2,
"chats": 10,
"chat_members": 20,
"messages": 102000,
"sessions": 1,
"schema_migrations": 1
},
"all_messages_sha256": "9e4c5255d2a3cb471b152fcee72630b4291d1368b292deb23971142c48be80dd",
"selected_messages": [
[
"00000e8b-85d1-0f30-a66e-3e940457d573",
"00000000-0000-0000-0000-000000000064",
"00000000-0000-0000-0000-000000000001",
"mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
"2026-10-17 00:00:00.023217+00:00"
],
[
"00002b87-ffb8-cba4-eaa1-7745ae2f0702",
"00000000-0000-0000-0000-000000000064",
"00000000-0000-0000-0000-000000000001",
"mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
"2026-10-17 00:00:00.019423+00:00"
],
[
"00006fd3-f211-26b7-5f2b-289a975692e3",
"00000000-0000-0000-0000-000000000064",
"00000000-0000-0000-0000-000000000001",
"mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
"2026-10-17 00:00:00.045337+00:00"
],
[
"0000834d-f9fd-6a70-db8b-33c3b4637739",
"00000000-0000-0000-0000-000000000067",
"00000000-0000-0000-0000-000000000001",
"mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
"2026-10-17 00:00:00.000667+00:00"
],
[
"0001a049-e0b6-2a3f-8b1b-e3aa38dba70a",
"00000000-0000-0000-0000-000000000064",
"00000000-0000-0000-0000-000000000001",
"mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
"2026-10-17 00:00:00.015563+00:00"
],
[
"0002392a-3c9c-535d-4300-b8b98251ccd9",
"00000000-0000-0000-0000-000000000064",
"00000000-0000-0000-0000-000000000001",
"mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
"2026-10-17 00:00:00.002838+00:00"
],
[
"00030201-8fad-d71e-53ac-a2be9f8f8f2f",
"00000000-0000-0000-0000-000000000064",
"00000000-0000-0000-0000-000000000001",
"mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
"2026-10-17 00:00:00.056060+00:00"
],
[
"00038ef3-4329-84db-32ad-1a140807cd4a",
"00000000-0000-0000-0000-000000000064",
"00000000-0000-0000-0000-000000000001",
"mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
"2026-10-17 00:00:00.030883+00:00"
]
]
},
"equal": true,
"dump_seconds": 0.3680197080002472,
"restore_database_seconds": 0.5101063339998291,
"archive_bytes": 2723619,
"archive_sha256": "111f4a3e07423641e219e40f64161e21ac1dc6ef8cad1f9a577ac4e9bc2680d2",
"post_backup_commits_absent_after_restore": 1,
"archive_retained": false
},
"finished_at": "2026-10-17T14:35:46.593776+00:00",
"median_by_index": {
"single": {
"read_queries_per_second": 164.77330685343165,
"read_p95_ms": 8.876687200177003,
"write_rows_per_second": 26621.513385337606
},
"composite": {
"read_queries_per_second": 2092.271801802165,
"read_p95_ms": 0.6705413500412756,
"write_rows_per_second": 26986.714345997752
}
}
}