{ "application_repository_timeout_seconds": 1, "chat_counts": [ 70000, 20000, 6000, 3000, 1000 ], "concurrent_clients": 1, "dataset_sha256": "6215719e1fbfe6be4efa7400c161a695db3f71489819d9e8a87d3ab9f22072ad", "limitations": "Warm sequential closed-loop SQL through the same generated sqlc query; no HTTP/KDF. Offline query budget 10s, application repository unchanged at 1s. Same logical rows, VACUUM FULL and rebuild before trials. pgx prepared-plan behavior is retained. WAL is cluster-wide on a dedicated quiet instance; sampled CPU includes administration. No cold-cache or sustained-capacity claim.", "mode": "research", "payload_bytes": 256, "postgres_version": "18.6 (Debian 18.6-1.pgdg13+2)", "reads_per_case": 60, "rows": 100000, "rows_per_write_batch": 200, "series": 4, "sql_experiment_timeout_seconds": 10, "trials": [ { "build_ms": 193.124, "columns": "chat_id", "dataset_sha256": "6215719e1fbfe6be4efa7400c161a695db3f71489819d9e8a87d3ab9f22072ad", "index_bytes": 720896, "insert_200_with_commit_ms": { "p50": 3.839, "p95": 8.239, "p99": 9.178 }, "order": 1, "read_cases": { "large_deep": { "elapsed_seconds": 1.161712042, "latency_ms": { "p50": 9.776, "p95": 51.522, "p99": 252.152 }, "plan": { "explain": { "Execution Time": 17.707, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 13.872, "Actual Total Time": 17.631, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 13.868, "Actual Total Time": 17.49, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Gather Merge", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 14107, "Plan Width": 316, "Plans": [ { "Actual Loops": 3, "Actual Rows": 38, "Actual Startup Time": 7.005, "Actual Total Time": 7.015, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 5878, "Plan Width": 316, "Plans": [ { "Actual Loops": 3, "Actual Rows": 4666.33, "Actual Startup Time": 4.665, "Actual Total Time": 6.192, "Alias": "messages", "Async Capable": false, "Disabled": false, "Filter": "((chat_id = '80ec067f-d794-40a9-9ae8-4b26c0e519d8'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:01:20.001+00'::timestamp with time zone, '0ff4814b-bfc9-44ae-aa7d-1bc70346b357'::uuid)))", "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Seq Scan", "Parallel Aware": true, "Parent Relationship": "Outer", "Plan Rows": 5878, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Filter": 28667, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4348, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 5077.17, "Workers": [] } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4378, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 5273.27, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 5287.96, "Workers": [ { "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Worker Number": 0 }, { "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Worker Number": 1 } ] } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4378, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 6273.29, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 7916.29, "Workers Launched": 2, "Workers Planned": 2 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4378, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 6273.29, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 6279.23 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.592, "Triggers": [] }, "max_visited_rows": 99999.99 }, "samples_ms": [ 13.977, 9.354, 9.939, 14.968, 10.841, 9.776, 16.422, 15.31, 10.643, 10.575, 9.575, 8.918, 10.709, 9.59, 9.475, 10.941, 9.447, 9.547, 9.909, 11.293, 10.846, 13.202, 10.779, 9.267, 8.658, 8.876, 8.607, 9.132, 9.561, 8.86, 12.256, 8.762, 11.339, 9.717, 9.337, 10.701, 9.117, 8.734, 8.956, 8.452, 9.17, 9.891, 8.815, 9.653, 8.983, 9.55, 8.5, 9.616, 9.73, 11.429, 19.444, 51.522, 54.187, 252.152, 112.137, 22.51, 42.347, 23.459, 26.509, 45.606 ], "successful_rps": 51.647910868431886 }, "large_first": { "elapsed_seconds": 0.725145584, "latency_ms": { "p50": 8.881, "p95": 17.994, "p99": 121.586 }, "plan": { "explain": { "Execution Time": 14.981, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 13.341, "Actual Total Time": 14.951, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 13.337, "Actual Total Time": 14.943, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Gather Merge", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 69737, "Plan Width": 316, "Plans": [ { "Actual Loops": 3, "Actual Rows": 51, "Actual Startup Time": 10.378, "Actual Total Time": 10.383, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 29057, "Plan Width": 316, "Plans": [ { "Actual Loops": 3, "Actual Rows": 23333.33, "Actual Startup Time": 0.014, "Actual Total Time": 8.331, "Alias": "messages", "Async Capable": false, "Disabled": false, "Filter": "(chat_id = '80ec067f-d794-40a9-9ae8-4b26c0e519d8'::uuid)", "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Seq Scan", "Parallel Aware": true, "Parent Relationship": "Outer", "Plan Rows": 29057, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Filter": 10000, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4179, "Shared Read Blocks": 169, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4868.83, "Workers": [] } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4269, "Shared Read Blocks": 169, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 5838.24, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 5910.88, "Workers": [ { "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Worker Number": 0 }, { "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Worker Number": 1 } ] } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4269, "Shared Read Blocks": 169, "Shared Written Blocks": 0, "Startup Cost": 6838.26, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 14960.28, "Workers Launched": 2, "Workers Planned": 2 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4269, "Shared Read Blocks": 169, "Shared Written Blocks": 0, "Startup Cost": 6838.26, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 6844.2 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.119, "Triggers": [] }, "max_visited_rows": 99999.99 }, "samples_ms": [ 121.586, 19.448, 42.466, 12.149, 10.033, 9.655, 9.482, 9.358, 9.321, 9.838, 9.412, 9.892, 9.667, 9.198, 8.814, 9.406, 8.644, 9.341, 14.355, 10.731, 12.879, 14.942, 17.994, 13.668, 11.395, 13.149, 8.555, 7.675, 7.811, 7.541, 7.92, 8.011, 8.347, 9.847, 8.534, 8.644, 8.706, 9.011, 8.371, 7.878, 7.764, 8.87, 8.089, 8.881, 8.334, 9.436, 9.491, 8.334, 8.929, 8.191, 8.484, 8.464, 8.34, 8.25, 9.603, 8.205, 8.408, 8.728, 8.223, 8.315 ], "successful_rps": 82.74200563841536 }, "medium_deep": { "elapsed_seconds": 0.308523, "latency_ms": { "p50": 3.16, "p95": 14.429, "p99": 24.673 }, "plan": { "explain": { "Execution Time": 0.991, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.965, "Actual Total Time": 0.977, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.964, "Actual Total Time": 0.967, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1241, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 1199, "Actual Startup Time": 0.743, "Actual Total Time": 0.883, "Alias": "messages", "Async Capable": false, "Disabled": false, "Exact Heap Blocks": 1218, "Filter": "(ROW(created_at, id) > ROW('2026-01-01 00:01:20.09+00'::timestamp with time zone, '2397cd4f-2a93-4185-a89c-cda436eee51a'::uuid))", "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Lossy Heap Blocks": 0, "Node Type": "Bitmap Heap Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1241, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 6000, "Actual Startup Time": 0.218, "Actual Total Time": 0.218, "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Bitmap Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6160, "Plan Width": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 8, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 70.49 } ], "Recheck Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Relation Name": "messages", "Rows Removed by Filter": 4801, "Rows Removed by Index Recheck": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 70.8, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4750.81 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 4792.22, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4795.32 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 4792.22, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4792.34 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.252, "Triggers": [] }, "max_visited_rows": 6000 }, "samples_ms": [ 6.187, 5.904, 7.142, 4.83, 14.811, 12.837, 24.673, 6.5, 2.962, 7.491, 6.671, 4.844, 3.501, 2.085, 2.091, 1.624, 2.807, 3.319, 4.158, 1.54, 1.494, 4.573, 14.429, 9.751, 13.885, 19.492, 8.23, 5.975, 6.478, 8.022, 4.767, 8.84, 6.637, 6.548, 12.641, 3.584, 5.092, 3.16, 2.169, 1.834, 1.975, 2.001, 1.87, 1.318, 1.312, 2.747, 2.067, 1.879, 2.572, 1.74, 1.867, 2.275, 2.29, 1.576, 1.301, 1.267, 1.301, 1.15, 1.14, 1.22 ], "successful_rps": 194.47496620997464 }, "medium_first": { "elapsed_seconds": 0.260790125, "latency_ms": { "p50": 2.814, "p95": 12.903, "p99": 23.171 }, "plan": { "explain": { "Execution Time": 3.382, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 3.233, "Actual Total Time": 3.239, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 3.232, "Actual Total Time": 3.236, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6160, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 6000, "Actual Startup Time": 0.212, "Actual Total Time": 2.338, "Alias": "messages", "Async Capable": false, "Disabled": false, "Exact Heap Blocks": 1218, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Lossy Heap Blocks": 0, "Node Type": "Bitmap Heap Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6160, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 6000, "Actual Startup Time": 0.12, "Actual Total Time": 0.121, "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Bitmap Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6160, "Plan Width": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 8, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 70.49 } ], "Recheck Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 72.03, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4721.24 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 4926.75, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4942.15 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 4926.75, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4926.88 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.223, "Triggers": [] }, "max_visited_rows": 6000 }, "samples_ms": [ 2.078, 1.618, 1.57, 1.427, 1.866, 2.004, 2.115, 2.835, 2.966, 3.587, 3.477, 1.67, 2.958, 3.01, 2.471, 6.052, 9.179, 3.247, 2.387, 2.172, 2.296, 3.524, 9.63, 7.275, 5.799, 3.512, 2.814, 2.402, 1.975, 3.644, 1.931, 1.808, 2.327, 2.047, 1.822, 2.229, 3.32, 10.195, 3.972, 2.21, 1.776, 12.903, 20.549, 14.042, 5.607, 5.452, 23.171, 7.724, 3.601, 4.986, 3.177, 3.781, 2.739, 2.623, 2.695, 4.407, 2.311, 2.539, 1.813, 1.372 ], "successful_rps": 230.07006112673938 }, "small_deep": { "elapsed_seconds": 0.053664125, "latency_ms": { "p50": 0.801, "p95": 1.42, "p99": 1.962 }, "plan": { "explain": { "Execution Time": 0.374, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.36, "Actual Total Time": 0.365, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.36, "Actual Total Time": 0.362, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 198, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 199, "Actual Startup Time": 0.287, "Actual Total Time": 0.341, "Alias": "messages", "Async Capable": false, "Disabled": false, "Exact Heap Blocks": 1000, "Filter": "(ROW(created_at, id) > ROW('2026-01-01 00:01:20.099+00'::timestamp with time zone, 'aa947ed6-503f-41dd-ae85-6385d541feca'::uuid))", "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Lossy Heap Blocks": 0, "Node Type": "Bitmap Heap Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 198, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 1000, "Actual Startup Time": 0.049, "Actual Total Time": 0.049, "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Bitmap Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 983, "Plan Width": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 2, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 11.67 } ], "Recheck Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Relation Name": "messages", "Rows Removed by Filter": 801, "Rows Removed by Index Recheck": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 11.71, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2369.13 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 2375.73, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2376.23 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 2375.73, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2375.86 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.076, "Triggers": [] }, "max_visited_rows": 1000 }, "samples_ms": [ 1.899, 1.559, 0.961, 0.999, 0.959, 0.791, 0.839, 0.827, 0.741, 0.828, 0.843, 0.72, 0.676, 0.694, 0.801, 0.784, 0.784, 0.856, 0.825, 1.275, 0.768, 0.815, 0.888, 0.807, 0.795, 1.217, 1.962, 0.914, 0.781, 0.719, 1.039, 0.749, 0.709, 0.921, 1.42, 0.959, 0.754, 0.673, 0.916, 1.414, 0.969, 0.961, 0.666, 0.733, 0.658, 0.788, 0.85, 0.888, 0.719, 0.736, 0.742, 0.78, 0.845, 0.764, 0.757, 0.722, 0.848, 0.775, 0.796, 0.73 ], "successful_rps": 1118.0653742141515 }, "small_first": { "elapsed_seconds": 0.068617209, "latency_ms": { "p50": 0.808, "p95": 1.737, "p99": 14.136 }, "plan": { "explain": { "Execution Time": 0.517, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.5, "Actual Total Time": 0.505, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.499, "Actual Total Time": 0.502, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 983, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 1000, "Actual Startup Time": 0.115, "Actual Total Time": 0.402, "Alias": "messages", "Async Capable": false, "Disabled": false, "Exact Heap Blocks": 1000, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Lossy Heap Blocks": 0, "Node Type": "Bitmap Heap Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 983, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 1000, "Actual Startup Time": 0.047, "Actual Total Time": 0.047, "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Bitmap Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 983, "Plan Width": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 2, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 11.67 } ], "Recheck Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 11.91, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2364.41 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 2397.2, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2399.66 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 2397.2, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2397.33 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.215, "Triggers": [] }, "max_visited_rows": 1000 }, "samples_ms": [ 0.765, 0.75, 0.784, 0.854, 0.736, 0.846, 0.695, 0.768, 0.7, 1.29, 2.12, 0.808, 0.699, 0.692, 0.899, 1.006, 0.778, 0.789, 0.731, 0.704, 0.725, 0.806, 0.706, 0.845, 0.93, 1.147, 0.933, 0.966, 0.998, 0.873, 0.802, 0.769, 0.754, 0.845, 0.85, 0.828, 14.136, 2.293, 1.139, 1.13, 1.737, 1.121, 0.937, 1.111, 0.889, 0.779, 1.045, 0.778, 0.803, 0.724, 0.757, 0.766, 0.828, 0.8, 0.759, 0.801, 1.135, 1.253, 0.889, 0.761 ], "successful_rps": 874.4162124110877 } }, "series": 1, "table_bytes": 35618816, "variant": "A", "write_samples_ms": [ 7.69, 4.795, 4.129, 4.256, 3.839, 3.196, 3.028, 3.396, 4.444, 2.86, 3.081, 3.666, 2.959, 3.119, 3.409, 8.239, 8.201, 9.178, 7.161, 7.536 ], "write_wal_bytes": [ 120336, 104384, 104464, 104520, 104520, 104744, 104928, 104464, 104464, 104464, 104496, 104632, 105120, 104464, 104440, 104464, 104464, 104576, 105232, 104384 ] }, { "build_ms": 169.124, "columns": "chat_id,created_at,id", "dataset_sha256": "6215719e1fbfe6be4efa7400c161a695db3f71489819d9e8a87d3ab9f22072ad", "index_bytes": 5914624, "insert_200_with_commit_ms": { "p50": 3.891, "p95": 10.097, "p99": 10.148 }, "order": 2, "read_cases": { "large_deep": { "elapsed_seconds": 0.405489917, "latency_ms": { "p50": 6.03, "p95": 10.196, "p99": 16.932 }, "plan": { "explain": { "Execution Time": 0.048, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.03, "Actual Total Time": 0.04, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.029, "Actual Total Time": 0.036, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "((chat_id = '80ec067f-d794-40a9-9ae8-4b26c0e519d8'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:01:20.001+00'::timestamp with time zone, '0ff4814b-bfc9-44ae-aa7d-1bc70346b357'::uuid)))", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 14053, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 6, "Shared Read Blocks": 1, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 15408.79 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 6, "Shared Read Blocks": 1, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 56.34 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.11, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 5.575, 5.305, 5.421, 5.935, 6.082, 5.479, 5.283, 10.196, 7.376, 7.116, 6.807, 9.829, 12.794, 16.932, 9.334, 6.499, 5.9, 8.342, 6.867, 6.357, 5.92, 5.592, 7.262, 8.012, 6.04, 5.87, 5.869, 5.909, 6.455, 8.112, 11.184, 6.209, 6.069, 6.316, 6.03, 5.779, 6.605, 5.667, 5.449, 5.774, 5.697, 5.497, 5.512, 5.262, 5.281, 5.367, 5.82, 5.806, 5.416, 5.531, 5.66, 7.263, 8.373, 5.931, 6.472, 6.523, 7.564, 6.632, 5.883, 6.366 ], "successful_rps": 147.96915406407012 }, "large_first": { "elapsed_seconds": 0.041338041, "latency_ms": { "p50": 0.511, "p95": 1.456, "p99": 3.253 }, "plan": { "explain": { "Execution Time": 0.016, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.003, "Actual Total Time": 0.01, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.002, "Actual Total Time": 0.007, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '80ec067f-d794-40a9-9ae8-4b26c0e519d8'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 70037, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 7, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 18357.13 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 7, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 13.78 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.096, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.53, 0.525, 0.418, 0.451, 0.475, 0.432, 0.475, 0.428, 0.36, 1.56, 0.966, 0.707, 0.5, 0.659, 0.927, 1.456, 0.458, 0.626, 0.611, 0.616, 0.511, 0.555, 0.535, 0.441, 0.458, 0.486, 0.817, 0.453, 0.45, 0.447, 0.472, 0.405, 0.531, 0.439, 0.506, 0.421, 0.48, 0.486, 1.064, 0.45, 0.459, 0.462, 0.54, 0.522, 0.593, 0.911, 0.753, 3.253, 0.472, 0.478, 0.534, 0.461, 1.255, 0.88, 2.749, 1.054, 0.544, 0.535, 0.818, 0.378 ], "successful_rps": 1451.447590368397 }, "medium_deep": { "elapsed_seconds": 0.059062917, "latency_ms": { "p50": 0.893, "p95": 1.209, "p99": 4.232 }, "plan": { "explain": { "Execution Time": 0.022, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.006, "Actual Total Time": 0.014, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.006, "Actual Total Time": 0.011, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "((chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:01:20.09+00'::timestamp with time zone, '2397cd4f-2a93-4185-a89c-cda436eee51a'::uuid)))", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1188, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 15, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 3586.4 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 15, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 154.36 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.119, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.974, 0.99, 1.039, 0.964, 0.847, 0.865, 0.827, 0.881, 1.026, 0.825, 0.821, 0.841, 0.809, 0.864, 0.835, 0.869, 0.922, 0.85, 0.882, 0.947, 0.914, 0.924, 0.858, 0.872, 0.84, 0.985, 0.782, 0.851, 0.938, 0.939, 0.887, 4.232, 0.858, 0.888, 0.968, 1.043, 0.949, 0.81, 0.847, 0.957, 0.862, 0.893, 0.915, 0.955, 0.893, 0.815, 0.929, 0.787, 0.791, 0.838, 1.159, 0.924, 0.942, 1.044, 0.968, 1.209, 1.237, 1.107, 1.207, 1.32 ], "successful_rps": 1015.8658435376634 }, "medium_first": { "elapsed_seconds": 0.024363542, "latency_ms": { "p50": 0.363, "p95": 0.584, "p99": 1.183 }, "plan": { "explain": { "Execution Time": 0.037, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.021, "Actual Total Time": 0.031, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.021, "Actual Total Time": 0.028, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 5947, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 15, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 12195.54 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 15, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 105 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.076, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.458, 0.379, 0.346, 0.344, 0.405, 0.394, 0.407, 0.363, 0.354, 0.355, 0.342, 0.337, 0.369, 0.381, 0.481, 0.584, 0.363, 0.359, 0.356, 0.35, 0.368, 0.374, 0.412, 0.35, 0.353, 0.359, 0.382, 0.355, 0.317, 0.402, 0.387, 0.332, 0.335, 0.367, 0.362, 0.374, 0.376, 0.436, 0.381, 0.333, 0.325, 0.339, 0.374, 0.353, 0.332, 0.486, 0.534, 0.393, 0.39, 0.363, 0.333, 0.363, 0.33, 0.321, 0.331, 0.319, 0.433, 0.655, 1.081, 1.183 ], "successful_rps": 2462.696105517006 }, "small_deep": { "elapsed_seconds": 0.055576459, "latency_ms": { "p50": 0.734, "p95": 1.421, "p99": 4.591 }, "plan": { "explain": { "Execution Time": 0.036, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.005, "Actual Total Time": 0.023, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.005, "Actual Total Time": 0.019, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "((chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:01:20.099+00'::timestamp with time zone, 'aa947ed6-503f-41dd-ae85-6385d541feca'::uuid)))", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 184, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 55, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 622.67 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 55, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 172.89 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.112, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.568, 0.513, 0.483, 0.497, 0.537, 0.507, 0.541, 0.544, 0.567, 0.709, 0.513, 0.527, 0.561, 0.577, 0.627, 0.787, 1.196, 0.787, 1.384, 4.57, 4.591, 1.258, 0.789, 0.663, 0.704, 1.075, 0.786, 0.731, 0.779, 1.361, 0.812, 0.764, 0.734, 0.808, 1.386, 1.081, 0.823, 1.421, 0.631, 0.565, 0.648, 1.789, 0.838, 1.378, 1.165, 0.87, 0.749, 0.663, 0.823, 0.695, 0.805, 0.882, 0.715, 0.793, 0.638, 0.741, 0.685, 0.62, 0.652, 0.615 ], "successful_rps": 1079.5937898814316 }, "small_first": { "elapsed_seconds": 0.02771125, "latency_ms": { "p50": 0.377, "p95": 0.976, "p99": 2.382 }, "plan": { "explain": { "Execution Time": 0.023, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.004, "Actual Total Time": 0.017, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 923, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 54, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2859.5 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 54, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 158.39 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.071, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.976, 1.334, 2.382, 0.547, 0.626, 0.521, 0.444, 0.41, 0.348, 0.394, 0.419, 0.367, 0.493, 0.421, 0.384, 0.388, 0.367, 0.43, 0.412, 0.347, 0.392, 0.346, 0.418, 0.422, 1.27, 0.377, 0.353, 0.353, 0.353, 0.366, 0.336, 0.34, 0.356, 0.352, 0.434, 0.336, 0.351, 0.405, 0.44, 0.365, 0.361, 0.36, 0.387, 0.369, 0.305, 0.327, 0.355, 0.405, 0.382, 0.419, 0.384, 0.358, 0.334, 0.347, 0.376, 0.346, 0.318, 0.336, 0.414, 0.403 ], "successful_rps": 2165.1856195588434 } }, "series": 1, "table_bytes": 35618816, "variant": "B", "write_samples_ms": [ 8.072, 4.416, 3.843, 3.289, 3.367, 4.53, 6.288, 10.097, 10.148, 4.965, 4.05, 7.826, 3.454, 3.031, 3.802, 3.891, 3.301, 2.961, 3.542, 4.457 ], "write_wal_bytes": [ 125400, 117184, 117136, 121160, 117184, 117208, 116912, 117184, 117208, 117136, 117136, 117184, 117208, 117136, 117184, 117208, 117136, 117184, 117208, 117184 ] }, { "build_ms": 102.554, "columns": "chat_id,created_at,id", "dataset_sha256": "6215719e1fbfe6be4efa7400c161a695db3f71489819d9e8a87d3ab9f22072ad", "index_bytes": 5914624, "insert_200_with_commit_ms": { "p50": 3.011, "p95": 7.421, "p99": 30.541 }, "order": 1, "read_cases": { "large_deep": { "elapsed_seconds": 0.418776959, "latency_ms": { "p50": 6.368, "p95": 10.512, "p99": 14.039 }, "plan": { "explain": { "Execution Time": 0.052, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.029, "Actual Total Time": 0.038, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.028, "Actual Total Time": 0.035, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "((chat_id = '80ec067f-d794-40a9-9ae8-4b26c0e519d8'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:01:20.001+00'::timestamp with time zone, '0ff4814b-bfc9-44ae-aa7d-1bc70346b357'::uuid)))", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 13857, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 6, "Shared Read Blocks": 1, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 15383.9 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 6, "Shared Read Blocks": 1, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 57.04 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.086, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 6.788, 8.372, 7.037, 6.387, 6.445, 6.017, 5.864, 5.954, 6.723, 5.813, 9.76, 14.039, 11.698, 7.656, 11.102, 6.954, 9.322, 9.939, 6.365, 5.765, 5.791, 5.712, 5.747, 5.326, 5.704, 6.069, 6.112, 5.908, 5.629, 5.447, 5.646, 6.184, 6.512, 6.909, 7.917, 8.955, 8.589, 6.431, 6.046, 5.885, 6.953, 7.366, 6.351, 6.231, 5.938, 6.307, 6.368, 6.105, 6.402, 6.353, 5.919, 6.953, 6.488, 10.512, 6.654, 6.55, 6.482, 5.638, 8.253, 6.329 ], "successful_rps": 143.27435812914436 }, "large_first": { "elapsed_seconds": 0.031975416, "latency_ms": { "p50": 0.437, "p95": 0.976, "p99": 2.179 }, "plan": { "explain": { "Execution Time": 0.017, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.003, "Actual Total Time": 0.01, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.003, "Actual Total Time": 0.008, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '80ec067f-d794-40a9-9ae8-4b26c0e519d8'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 69873, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 7, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 18335.87 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 7, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 13.8 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.105, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.457, 0.551, 0.564, 0.441, 0.47, 0.515, 0.443, 0.468, 0.432, 0.436, 0.446, 0.505, 0.465, 0.423, 0.467, 0.49, 0.467, 0.433, 0.451, 0.453, 0.419, 0.466, 0.412, 0.44, 0.453, 0.427, 0.429, 0.387, 0.437, 0.435, 0.408, 0.416, 0.389, 0.393, 0.379, 0.436, 0.415, 0.899, 0.501, 0.395, 0.399, 0.395, 0.394, 0.37, 0.358, 0.379, 0.332, 0.314, 0.976, 1.87, 0.809, 1.689, 2.179, 0.463, 0.428, 0.441, 0.44, 0.519, 0.424, 0.42 ], "successful_rps": 1876.4415762409471 }, "medium_deep": { "elapsed_seconds": 0.056885959, "latency_ms": { "p50": 0.919, "p95": 1.131, "p99": 1.285 }, "plan": { "explain": { "Execution Time": 0.019, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.005, "Actual Total Time": 0.012, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.005, "Actual Total Time": 0.01, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "((chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:01:20.09+00'::timestamp with time zone, '2397cd4f-2a93-4185-a89c-cda436eee51a'::uuid)))", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1189, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 15, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 3582.6 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 15, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 154.07 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.066, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 1.285, 0.96, 1.164, 1.126, 0.978, 0.944, 1.075, 1.131, 0.919, 0.899, 0.834, 0.905, 1.091, 0.914, 0.946, 1.02, 1.035, 1.018, 0.921, 0.877, 0.879, 0.862, 0.898, 0.844, 0.895, 0.949, 0.996, 1.001, 0.967, 0.881, 0.968, 1.007, 1.005, 0.904, 0.967, 0.923, 0.936, 1.029, 0.882, 0.829, 0.812, 0.872, 0.861, 0.935, 0.89, 0.897, 0.865, 0.858, 0.822, 0.908, 0.874, 0.951, 0.965, 0.918, 0.943, 0.897, 1.209, 0.892, 0.88, 0.886 ], "successful_rps": 1054.7418212638377 }, "medium_first": { "elapsed_seconds": 0.0268485, "latency_ms": { "p50": 0.425, "p95": 0.574, "p99": 1.268 }, "plan": { "explain": { "Execution Time": 0.059, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.019, "Actual Total Time": 0.041, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.018, "Actual Total Time": 0.036, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6023, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 15, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 12279.22 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 15, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 104.39 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.114, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.37, 0.429, 0.459, 0.373, 0.425, 0.402, 0.401, 0.397, 0.387, 0.38, 0.401, 0.438, 0.485, 0.413, 0.631, 0.377, 0.433, 0.446, 0.468, 0.43, 0.41, 0.44, 0.4, 0.434, 0.459, 0.369, 0.381, 0.425, 0.413, 0.417, 0.482, 0.391, 0.394, 0.427, 0.412, 0.366, 0.392, 0.43, 0.441, 0.377, 0.439, 0.432, 0.433, 0.4, 0.485, 0.419, 0.439, 0.404, 0.405, 0.504, 0.574, 0.469, 0.431, 0.48, 0.536, 0.424, 0.411, 0.405, 0.612, 1.268 ], "successful_rps": 2234.7617185317613 }, "small_deep": { "elapsed_seconds": 0.052035458, "latency_ms": { "p50": 0.639, "p95": 1.672, "p99": 4.798 }, "plan": { "explain": { "Execution Time": 0.037, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.007, "Actual Total Time": 0.025, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.006, "Actual Total Time": 0.021, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "((chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:01:20.099+00'::timestamp with time zone, 'aa947ed6-503f-41dd-ae85-6385d541feca'::uuid)))", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 197, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 55, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 662.58 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 55, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 171.84 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.1, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.682, 0.52, 0.499, 0.576, 0.656, 0.635, 0.634, 0.588, 0.62, 0.543, 0.517, 0.565, 0.638, 0.726, 0.654, 0.773, 1.037, 4.798, 4.43, 2.154, 0.937, 0.968, 0.744, 1.234, 1.672, 0.746, 0.658, 1.126, 0.645, 0.639, 0.768, 0.727, 1.084, 1.007, 0.771, 1.06, 1.21, 0.677, 0.638, 0.658, 0.645, 0.534, 0.588, 0.56, 0.809, 1.298, 0.57, 0.539, 0.529, 0.5, 0.482, 0.521, 0.507, 0.518, 0.502, 0.516, 0.509, 0.574, 0.545, 0.514 ], "successful_rps": 1153.0599000396999 }, "small_first": { "elapsed_seconds": 0.031029, "latency_ms": { "p50": 0.423, "p95": 0.972, "p99": 1.693 }, "plan": { "explain": { "Execution Time": 0.022, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.004, "Actual Total Time": 0.017, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 997, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 54, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 3063.77 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 54, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 157.12 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.065, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.911, 1.37, 1.31, 0.772, 0.432, 0.404, 0.387, 0.401, 0.403, 0.423, 0.391, 0.358, 0.38, 0.382, 0.339, 0.402, 0.428, 0.422, 0.459, 0.414, 0.38, 0.421, 0.435, 0.429, 0.42, 0.451, 0.412, 0.392, 0.384, 0.379, 0.376, 0.368, 0.366, 0.437, 0.421, 0.45, 0.458, 0.393, 0.39, 0.479, 0.467, 0.46, 0.483, 0.483, 0.395, 0.972, 1.693, 0.72, 0.805, 0.504, 0.497, 0.444, 0.396, 0.41, 0.535, 0.447, 0.42, 0.434, 0.473, 0.881 ], "successful_rps": 1933.6749492410324 } }, "series": 2, "table_bytes": 35618816, "variant": "B", "write_samples_ms": [ 7.421, 30.541, 4.683, 3.572, 3.416, 6.3, 3.425, 3.011, 2.899, 2.858, 2.861, 2.809, 2.743, 3.268, 2.69, 2.795, 2.681, 4.203, 3.176, 2.701 ], "write_wal_bytes": [ 125424, 117200, 117208, 121160, 117184, 117440, 117080, 117184, 117184, 117184, 117208, 117136, 117184, 117208, 117136, 117136, 117160, 121136, 117208, 117488 ] }, { "build_ms": 51.874, "columns": "chat_id", "dataset_sha256": "6215719e1fbfe6be4efa7400c161a695db3f71489819d9e8a87d3ab9f22072ad", "index_bytes": 720896, "insert_200_with_commit_ms": { "p50": 3.033, "p95": 3.804, "p99": 5.626 }, "order": 2, "read_cases": { "large_deep": { "elapsed_seconds": 0.542417125, "latency_ms": { "p50": 8.467, "p95": 12.062, "p99": 26.33 }, "plan": { "explain": { "Execution Time": 9.424, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 7.886, "Actual Total Time": 9.399, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 7.885, "Actual Total Time": 9.395, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Gather Merge", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 13865, "Plan Width": 316, "Plans": [ { "Actual Loops": 3, "Actual Rows": 38, "Actual Startup Time": 5.081, "Actual Total Time": 5.083, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 5777, "Plan Width": 316, "Plans": [ { "Actual Loops": 3, "Actual Rows": 4666.33, "Actual Startup Time": 3.885, "Actual Total Time": 4.71, "Alias": "messages", "Async Capable": false, "Disabled": false, "Filter": "((chat_id = '80ec067f-d794-40a9-9ae8-4b26c0e519d8'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:01:20.001+00'::timestamp with time zone, '0ff4814b-bfc9-44ae-aa7d-1bc70346b357'::uuid)))", "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Seq Scan", "Parallel Aware": true, "Parent Relationship": "Outer", "Plan Rows": 5777, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Filter": 28667, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4310, "Shared Read Blocks": 38, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 5077.17, "Workers": [] } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4340, "Shared Read Blocks": 38, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 5269.9, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 5284.34, "Workers": [ { "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Worker Number": 0 }, { "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Worker Number": 1 } ] } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4340, "Shared Read Blocks": 38, "Shared Written Blocks": 0, "Startup Cost": 6269.92, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 7884.73, "Workers Launched": 2, "Workers Planned": 2 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4340, "Shared Read Blocks": 38, "Shared Written Blocks": 0, "Startup Cost": 6269.92, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 6275.86 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.176, "Triggers": [] }, "max_visited_rows": 99999.99 }, "samples_ms": [ 26.33, 8.243, 8.522, 8.303, 8.412, 8.467, 8.137, 8.627, 8.69, 11.342, 12.479, 12.062, 9.619, 15.015, 10.03, 8.47, 8.684, 9.379, 8.5, 8.468, 8.024, 8.778, 8.823, 8.817, 8.352, 8.563, 7.876, 7.812, 7.867, 7.962, 7.76, 7.94, 7.618, 7.715, 7.862, 7.662, 7.674, 7.845, 7.619, 7.689, 7.488, 7.534, 7.99, 8.341, 7.886, 7.843, 8.605, 10.939, 10.092, 9.6, 8.786, 8.369, 8.447, 8.709, 9.41, 9.963, 8.652, 8.72, 8.431, 8.474 ], "successful_rps": 110.61597658812855 }, "large_first": { "elapsed_seconds": 1.265019541, "latency_ms": { "p50": 9.85, "p95": 52.874, "p99": 275.41 }, "plan": { "explain": { "Execution Time": 17.699, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 15.322, "Actual Total Time": 17.67, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 15.321, "Actual Total Time": 17.665, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Gather Merge", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 70250, "Plan Width": 316, "Plans": [ { "Actual Loops": 3, "Actual Rows": 51, "Actual Startup Time": 10.814, "Actual Total Time": 10.817, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 29271, "Plan Width": 316, "Plans": [ { "Actual Loops": 3, "Actual Rows": 23333.33, "Actual Startup Time": 0.01, "Actual Total Time": 8.842, "Alias": "messages", "Async Capable": false, "Disabled": false, "Filter": "(chat_id = '80ec067f-d794-40a9-9ae8-4b26c0e519d8'::uuid)", "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Seq Scan", "Parallel Aware": true, "Parent Relationship": "Outer", "Plan Rows": 29271, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Filter": 10000, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4071, "Shared Read Blocks": 277, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4868.83, "Workers": [] } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4161, "Shared Read Blocks": 277, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 5845.38, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 5918.55, "Workers": [ { "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Worker Number": 0 }, { "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Worker Number": 1 } ] } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4161, "Shared Read Blocks": 277, "Shared Written Blocks": 0, "Startup Cost": 6845.4, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 15027.17, "Workers Launched": 2, "Workers Planned": 2 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4161, "Shared Read Blocks": 277, "Shared Written Blocks": 0, "Startup Cost": 6845.4, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 6851.34 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.328, "Triggers": [] }, "max_visited_rows": 99999.99 }, "samples_ms": [ 8.536, 8.446, 9.35, 10.144, 9.707, 17.906, 8.819, 8.73, 8.807, 8.442, 8.154, 8.15, 7.902, 8.167, 7.827, 7.794, 7.642, 7.873, 8.427, 11.029, 8.3, 8.836, 13.877, 33.22, 44.112, 49.047, 39.545, 58.824, 31.253, 52.874, 84.099, 275.41, 39.358, 43.437, 19.001, 15.548, 9.85, 12.808, 13.101, 12.553, 11.79, 10.577, 14.839, 12.577, 14.97, 14.414, 10.822, 14.707, 8.734, 8.634, 8.535, 8.65, 8.941, 8.854, 9.794, 9.599, 11.209, 11.695, 9.301, 9.317 ], "successful_rps": 47.43009736637736 }, "medium_deep": { "elapsed_seconds": 0.076680125, "latency_ms": { "p50": 1.219, "p95": 1.469, "p99": 3.703 }, "plan": { "explain": { "Execution Time": 0.829, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.817, "Actual Total Time": 0.822, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.817, "Actual Total Time": 0.819, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1207, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 1199, "Actual Startup Time": 0.616, "Actual Total Time": 0.739, "Alias": "messages", "Async Capable": false, "Disabled": false, "Exact Heap Blocks": 1218, "Filter": "(ROW(created_at, id) > ROW('2026-01-01 00:01:20.09+00'::timestamp with time zone, '2397cd4f-2a93-4185-a89c-cda436eee51a'::uuid))", "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Lossy Heap Blocks": 0, "Node Type": "Bitmap Heap Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1207, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 6000, "Actual Startup Time": 0.105, "Actual Total Time": 0.105, "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Bitmap Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6143, "Plan Width": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 8, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 70.37 } ], "Recheck Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Relation Name": "messages", "Rows Removed by Filter": 4801, "Rows Removed by Index Recheck": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 70.67, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4750.96 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 4791.23, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4794.24 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 4791.23, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4791.35 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.066, "Triggers": [] }, "max_visited_rows": 6000 }, "samples_ms": [ 1.292, 1.25, 1.2, 1.164, 1.435, 1.252, 1.293, 1.219, 1.168, 1.155, 3.703, 1.469, 1.168, 1.186, 1.245, 1.236, 1.531, 1.218, 1.205, 1.153, 1.119, 1.215, 1.16, 1.204, 1.152, 1.179, 1.224, 1.269, 1.736, 1.265, 1.147, 1.155, 1.233, 1.139, 1.067, 1.077, 1.161, 1.162, 1.251, 1.294, 1.103, 1.042, 1.092, 1.314, 1.369, 1.282, 1.236, 1.212, 1.224, 1.309, 1.405, 1.228, 1.14, 1.16, 1.261, 1.331, 1.398, 1.225, 1.237, 1.213 ], "successful_rps": 782.4713379118774 }, "medium_first": { "elapsed_seconds": 0.100409459, "latency_ms": { "p50": 1.53, "p95": 2.606, "p99": 3.355 }, "plan": { "explain": { "Execution Time": 1.131, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 1.12, "Actual Total Time": 1.125, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 1.12, "Actual Total Time": 1.122, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6143, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 6000, "Actual Startup Time": 0.169, "Actual Total Time": 0.698, "Alias": "messages", "Async Capable": false, "Disabled": false, "Exact Heap Blocks": 1218, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Lossy Heap Blocks": 0, "Node Type": "Bitmap Heap Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6143, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 6000, "Actual Startup Time": 0.095, "Actual Total Time": 0.095, "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Bitmap Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6143, "Plan Width": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 8, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 70.37 } ], "Recheck Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 71.9, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4721.48 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 4926.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4941.78 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 4926.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4926.55 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.05, "Triggers": [] }, "max_visited_rows": 6000 }, "samples_ms": [ 1.562, 1.879, 1.414, 1.392, 1.532, 1.41, 1.311, 1.355, 1.74, 2.044, 1.594, 1.434, 1.486, 1.536, 1.62, 1.556, 1.408, 1.521, 1.567, 1.326, 1.843, 2.121, 1.965, 1.785, 2.363, 3.355, 2.071, 1.624, 1.849, 1.657, 1.45, 1.737, 2, 1.735, 1.268, 1.267, 1.468, 1.526, 1.481, 1.775, 2.099, 1.416, 1.373, 1.53, 3.102, 2.223, 1.336, 1.233, 1.207, 1.364, 1.276, 1.231, 1.435, 2.606, 2.623, 1.769, 1.369, 1.39, 1.464, 1.258 ], "successful_rps": 597.5532643792055 }, "small_deep": { "elapsed_seconds": 0.047313959, "latency_ms": { "p50": 0.678, "p95": 1.666, "p99": 2.29 }, "plan": { "explain": { "Execution Time": 0.368, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.356, "Actual Total Time": 0.361, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.356, "Actual Total Time": 0.358, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 198, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 199, "Actual Startup Time": 0.279, "Actual Total Time": 0.332, "Alias": "messages", "Async Capable": false, "Disabled": false, "Exact Heap Blocks": 1000, "Filter": "(ROW(created_at, id) > ROW('2026-01-01 00:01:20.099+00'::timestamp with time zone, 'aa947ed6-503f-41dd-ae85-6385d541feca'::uuid))", "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Lossy Heap Blocks": 0, "Node Type": "Bitmap Heap Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 198, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 1000, "Actual Startup Time": 0.047, "Actual Total Time": 0.047, "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Bitmap Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1007, "Plan Width": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 2, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 11.85 } ], "Recheck Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Relation Name": "messages", "Rows Removed by Filter": 801, "Rows Removed by Index Recheck": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 11.89, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2406.97 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 2413.57, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2414.07 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 2413.57, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2413.7 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.057, "Triggers": [] }, "max_visited_rows": 1000 }, "samples_ms": [ 0.702, 1.078, 0.67, 0.609, 0.617, 0.618, 0.589, 0.594, 0.629, 0.695, 1.526, 0.746, 0.631, 0.631, 0.693, 0.873, 0.714, 0.732, 0.707, 0.717, 0.795, 0.659, 0.638, 0.703, 1.666, 2.29, 2.271, 0.827, 0.668, 0.662, 0.724, 0.682, 0.698, 0.753, 0.718, 0.722, 0.678, 0.615, 0.596, 0.623, 0.647, 0.647, 0.694, 0.637, 0.846, 0.89, 0.627, 0.606, 0.606, 0.642, 1.71, 0.8, 0.668, 0.688, 0.686, 0.636, 0.604, 0.603, 0.612, 0.66 ], "successful_rps": 1268.124698675078 }, "small_first": { "elapsed_seconds": 0.053365042, "latency_ms": { "p50": 0.816, "p95": 1.199, "p99": 2.05 }, "plan": { "explain": { "Execution Time": 0.466, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.456, "Actual Total Time": 0.46, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.455, "Actual Total Time": 0.457, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1007, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 1000, "Actual Startup Time": 0.108, "Actual Total Time": 0.377, "Alias": "messages", "Async Capable": false, "Disabled": false, "Exact Heap Blocks": 1000, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Lossy Heap Blocks": 0, "Node Type": "Bitmap Heap Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1007, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 1000, "Actual Startup Time": 0.047, "Actual Total Time": 0.047, "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Bitmap Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1007, "Plan Width": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 2, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 11.85 } ], "Recheck Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 12.1, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2402.14 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 2435.73, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2438.25 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 2435.73, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2435.86 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.062, "Triggers": [] }, "max_visited_rows": 1000 }, "samples_ms": [ 1.178, 0.917, 0.925, 1.256, 1.176, 0.86, 0.845, 0.798, 0.834, 0.797, 0.823, 0.874, 0.857, 0.809, 0.789, 0.795, 0.79, 0.75, 0.757, 0.812, 0.861, 0.832, 0.931, 0.82, 0.79, 0.717, 0.731, 0.791, 0.792, 0.928, 2.05, 1.004, 0.739, 0.789, 0.841, 0.845, 0.846, 0.817, 0.816, 0.802, 0.746, 0.723, 0.799, 0.767, 0.778, 0.75, 0.751, 0.751, 0.762, 0.777, 1.031, 0.97, 2.041, 1.199, 0.855, 0.823, 0.771, 0.782, 0.847, 0.97 ], "successful_rps": 1124.331542735411 } }, "series": 2, "table_bytes": 35618816, "variant": "A", "write_samples_ms": [ 5.626, 3.804, 3.583, 3.362, 3.475, 2.985, 2.891, 2.844, 3.207, 2.657, 2.753, 2.559, 2.725, 2.609, 3.153, 3.73, 3.203, 3.033, 3.272, 3.011 ], "write_wal_bytes": [ 120336, 104384, 104464, 104520, 104520, 104720, 104952, 104464, 104464, 104440, 104520, 104632, 105120, 104464, 104440, 104464, 104464, 104576, 105208, 104408 ] }, { "build_ms": 25.018, "columns": "chat_id", "dataset_sha256": "6215719e1fbfe6be4efa7400c161a695db3f71489819d9e8a87d3ab9f22072ad", "index_bytes": 720896, "insert_200_with_commit_ms": { "p50": 2.942, "p95": 6.121, "p99": 30.695 }, "order": 1, "read_cases": { "large_deep": { "elapsed_seconds": 0.618800708, "latency_ms": { "p50": 8.735, "p95": 19.641, "p99": 33.693 }, "plan": { "explain": { "Execution Time": 8.572, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 6.997, "Actual Total Time": 8.551, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 6.996, "Actual Total Time": 8.546, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Gather Merge", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 13978, "Plan Width": 316, "Plans": [ { "Actual Loops": 3, "Actual Rows": 47.33, "Actual Startup Time": 4.92, "Actual Total Time": 4.922, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 5824, "Plan Width": 316, "Plans": [ { "Actual Loops": 3, "Actual Rows": 4666.33, "Actual Startup Time": 3.646, "Actual Total Time": 4.503, "Alias": "messages", "Async Capable": false, "Disabled": false, "Filter": "((chat_id = '80ec067f-d794-40a9-9ae8-4b26c0e519d8'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:01:20.001+00'::timestamp with time zone, '0ff4814b-bfc9-44ae-aa7d-1bc70346b357'::uuid)))", "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Seq Scan", "Parallel Aware": true, "Parent Relationship": "Outer", "Plan Rows": 5824, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Filter": 28667, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4318, "Shared Read Blocks": 30, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 5077.17, "Workers": [] } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4348, "Shared Read Blocks": 30, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 5271.47, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 5286.03, "Workers": [ { "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Worker Number": 0 }, { "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Worker Number": 1 } ] } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4348, "Shared Read Blocks": 30, "Shared Written Blocks": 0, "Startup Cost": 6271.49, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 7899.46, "Workers Launched": 2, "Workers Planned": 2 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4348, "Shared Read Blocks": 30, "Shared Written Blocks": 0, "Startup Cost": 6271.49, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 6277.43 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.089, "Triggers": [] }, "max_visited_rows": 99999.99 }, "samples_ms": [ 8.954, 8.417, 8.559, 8.261, 8.692, 8.612, 8.276, 8.772, 8.468, 8.702, 8.512, 8.665, 8.526, 8.492, 8.573, 9.972, 8.641, 7.999, 7.889, 8.891, 9.026, 9.422, 10.454, 10.936, 8.639, 9.559, 11.756, 12.305, 11.379, 10.148, 8.652, 8.914, 8.773, 8.513, 8.464, 8.183, 8.264, 8.401, 8.372, 8.495, 9.909, 15.194, 28.35, 33.693, 19.641, 25.055, 9.69, 8.766, 9.809, 9.149, 9.665, 9.095, 8.668, 8.493, 8.963, 9.148, 8.416, 9.016, 8.731, 8.735 ], "successful_rps": 96.96175072896006 }, "large_first": { "elapsed_seconds": 0.510715791, "latency_ms": { "p50": 8.138, "p95": 10.006, "p99": 12.314 }, "plan": { "explain": { "Execution Time": 13.618, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 11.445, "Actual Total Time": 13.593, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 11.444, "Actual Total Time": 13.588, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Gather Merge", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 69823, "Plan Width": 316, "Plans": [ { "Actual Loops": 3, "Actual Rows": 51, "Actual Startup Time": 8.504, "Actual Total Time": 8.507, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 29093, "Plan Width": 316, "Plans": [ { "Actual Loops": 3, "Actual Rows": 23333.33, "Actual Startup Time": 0.019, "Actual Total Time": 6.632, "Alias": "messages", "Async Capable": false, "Disabled": false, "Filter": "(chat_id = '80ec067f-d794-40a9-9ae8-4b26c0e519d8'::uuid)", "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Seq Scan", "Parallel Aware": true, "Parent Relationship": "Outer", "Plan Rows": 29093, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Filter": 10000, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4066, "Shared Read Blocks": 282, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4868.83, "Workers": [] } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4156, "Shared Read Blocks": 282, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 5839.44, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 5912.17, "Workers": [ { "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Worker Number": 0 }, { "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Worker Number": 1 } ] } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4156, "Shared Read Blocks": 282, "Shared Written Blocks": 0, "Startup Cost": 6839.46, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 14971.5, "Workers Launched": 2, "Workers Planned": 2 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4156, "Shared Read Blocks": 282, "Shared Written Blocks": 0, "Startup Cost": 6839.46, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 6845.4 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.166, "Triggers": [] }, "max_visited_rows": 99999.99 }, "samples_ms": [ 7.896, 8.89, 9.875, 8.295, 8.088, 8.034, 7.699, 8.236, 7.612, 7.887, 7.862, 7.791, 8.012, 7.865, 8.048, 7.644, 7.716, 7.884, 7.701, 7.559, 7.995, 7.748, 8.004, 7.678, 7.681, 7.79, 7.698, 7.729, 7.788, 8.072, 8.068, 8.333, 8.015, 8.413, 8.508, 9.13, 9.433, 9.689, 9.651, 8.89, 8.776, 9.495, 10.006, 8.795, 8.496, 8.508, 8.138, 8.623, 9.626, 8.808, 8.798, 8.109, 8.362, 8.767, 9.537, 8.854, 12.314, 10.746, 8.727, 10.215 ], "successful_rps": 117.48217121408726 }, "medium_deep": { "elapsed_seconds": 0.073953, "latency_ms": { "p50": 1.159, "p95": 1.386, "p99": 3.356 }, "plan": { "explain": { "Execution Time": 0.773, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.762, "Actual Total Time": 0.766, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.762, "Actual Total Time": 0.763, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1211, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 1199, "Actual Startup Time": 0.543, "Actual Total Time": 0.679, "Alias": "messages", "Async Capable": false, "Disabled": false, "Exact Heap Blocks": 1218, "Filter": "(ROW(created_at, id) > ROW('2026-01-01 00:01:20.09+00'::timestamp with time zone, '2397cd4f-2a93-4185-a89c-cda436eee51a'::uuid))", "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Lossy Heap Blocks": 0, "Node Type": "Bitmap Heap Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1211, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 6000, "Actual Startup Time": 0.099, "Actual Total Time": 0.099, "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Bitmap Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6077, "Plan Width": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 8, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 69.87 } ], "Recheck Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Relation Name": "messages", "Rows Removed by Filter": 4801, "Rows Removed by Index Recheck": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 70.17, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4751.26 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 4791.66, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4794.68 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 4791.66, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4791.78 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.053, "Triggers": [] }, "max_visited_rows": 6000 }, "samples_ms": [ 1.197, 1.322, 1.234, 1.144, 1.096, 1.168, 1.193, 1.173, 1.328, 1.126, 1.096, 1.087, 1.132, 1.122, 1.128, 1.264, 1.143, 1.164, 1.167, 1.186, 1.162, 1.128, 1.159, 1.165, 1.138, 1.207, 1.113, 1.053, 1.086, 1.393, 1.355, 1.195, 1.123, 1.064, 1.102, 1.249, 1.23, 1.245, 1.28, 1.093, 1.106, 1.092, 1.206, 1.144, 1.214, 1.157, 1.173, 1.113, 1.198, 1.117, 1.145, 1.142, 1.066, 1.154, 1.185, 1.386, 3.356, 2.494, 1.298, 1.117 ], "successful_rps": 811.3261125309317 }, "medium_first": { "elapsed_seconds": 0.087195375, "latency_ms": { "p50": 1.362, "p95": 1.732, "p99": 3.641 }, "plan": { "explain": { "Execution Time": 1.102, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 1.091, "Actual Total Time": 1.095, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 1.09, "Actual Total Time": 1.092, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6077, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 6000, "Actual Startup Time": 0.177, "Actual Total Time": 0.675, "Alias": "messages", "Async Capable": false, "Disabled": false, "Exact Heap Blocks": 1218, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Lossy Heap Blocks": 0, "Node Type": "Bitmap Heap Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6077, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 6000, "Actual Startup Time": 0.096, "Actual Total Time": 0.096, "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Bitmap Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6077, "Plan Width": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 8, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 69.87 } ], "Recheck Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 71.39, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4722.09 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 4924.83, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4940.02 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 4924.83, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4924.96 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.053, "Triggers": [] }, "max_visited_rows": 6000 }, "samples_ms": [ 1.433, 1.325, 1.21, 1.409, 1.283, 1.323, 1.238, 1.331, 1.267, 1.21, 1.365, 1.402, 1.538, 1.227, 1.261, 1.267, 1.732, 1.362, 1.217, 1.195, 1.399, 1.433, 1.445, 1.457, 1.409, 1.325, 1.371, 1.311, 1.255, 1.317, 1.361, 1.468, 1.485, 1.302, 1.231, 1.362, 1.311, 1.453, 1.347, 1.338, 1.277, 1.705, 1.63, 1.386, 1.386, 1.696, 2.744, 3.641, 1.677, 1.37, 1.437, 1.429, 2.334, 1.545, 1.478, 1.256, 1.347, 1.396, 1.281, 1.129 ], "successful_rps": 688.1098911496166 }, "small_deep": { "elapsed_seconds": 0.057185458, "latency_ms": { "p50": 0.826, "p95": 1.602, "p99": 2.14 }, "plan": { "explain": { "Execution Time": 0.416, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.403, "Actual Total Time": 0.408, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.403, "Actual Total Time": 0.405, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 200, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 199, "Actual Startup Time": 0.333, "Actual Total Time": 0.387, "Alias": "messages", "Async Capable": false, "Disabled": false, "Exact Heap Blocks": 1000, "Filter": "(ROW(created_at, id) > ROW('2026-01-01 00:01:20.099+00'::timestamp with time zone, 'aa947ed6-503f-41dd-ae85-6385d541feca'::uuid))", "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Lossy Heap Blocks": 0, "Node Type": "Bitmap Heap Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 200, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 1000, "Actual Startup Time": 0.054, "Actual Total Time": 0.054, "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Bitmap Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1007, "Plan Width": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 2, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 11.85 } ], "Recheck Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Relation Name": "messages", "Rows Removed by Filter": 801, "Rows Removed by Index Recheck": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 11.9, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2406.97 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 2413.64, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2414.14 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 2413.64, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2413.77 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.062, "Triggers": [] }, "max_visited_rows": 1000 }, "samples_ms": [ 1.602, 1.283, 0.811, 0.719, 0.919, 0.961, 1.409, 1.28, 1.043, 0.972, 0.932, 0.708, 1.268, 2.082, 1.737, 1.243, 1.044, 0.871, 0.908, 1.01, 0.773, 0.803, 0.703, 0.711, 0.73, 0.706, 0.708, 0.743, 0.865, 0.806, 0.827, 0.739, 0.655, 0.722, 0.653, 0.691, 0.768, 0.957, 0.877, 0.69, 0.7, 0.713, 0.681, 0.709, 1.179, 1.183, 1.025, 2.14, 1.394, 1.341, 0.826, 0.882, 0.715, 0.729, 0.993, 0.893, 0.725, 0.807, 0.774, 0.795 ], "successful_rps": 1049.2177923975007 }, "small_first": { "elapsed_seconds": 0.051319875, "latency_ms": { "p50": 0.804, "p95": 1.081, "p99": 1.565 }, "plan": { "explain": { "Execution Time": 0.478, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.466, "Actual Total Time": 0.471, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.465, "Actual Total Time": 0.468, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1007, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 1000, "Actual Startup Time": 0.139, "Actual Total Time": 0.392, "Alias": "messages", "Async Capable": false, "Disabled": false, "Exact Heap Blocks": 1000, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Lossy Heap Blocks": 0, "Node Type": "Bitmap Heap Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1007, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 1000, "Actual Startup Time": 0.054, "Actual Total Time": 0.054, "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Bitmap Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1007, "Plan Width": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 2, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 11.85 } ], "Recheck Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 12.1, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2402.14 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 2435.73, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2438.25 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 2435.73, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2435.86 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.055, "Triggers": [] }, "max_visited_rows": 1000 }, "samples_ms": [ 0.738, 0.812, 0.745, 0.904, 0.913, 0.78, 0.832, 0.783, 0.789, 1.232, 0.723, 0.79, 0.759, 0.742, 0.711, 0.822, 0.822, 0.818, 0.696, 0.768, 1.053, 0.779, 0.986, 0.977, 0.826, 0.835, 0.776, 0.853, 0.746, 0.97, 0.773, 0.727, 0.762, 0.733, 0.773, 0.907, 0.911, 0.853, 0.93, 1.198, 1.054, 0.804, 0.825, 1.075, 0.856, 1.565, 0.804, 0.847, 0.818, 0.788, 0.791, 0.775, 0.903, 1.081, 0.906, 0.798, 0.718, 0.763, 0.78, 0.742 ], "successful_rps": 1169.13768788408 } }, "series": 3, "table_bytes": 35618816, "variant": "A", "write_samples_ms": [ 6.121, 3.477, 3.161, 2.942, 2.902, 2.848, 3.296, 3.344, 2.699, 2.845, 2.665, 2.621, 3.374, 2.891, 2.998, 2.695, 2.972, 2.617, 30.695, 2.975 ], "write_wal_bytes": [ 120336, 104408, 104440, 104520, 104520, 104744, 104928, 104464, 104464, 104464, 104520, 104608, 105120, 104464, 104464, 104440, 104464, 104576, 105248, 104384 ] }, { "build_ms": 56.895, "columns": "chat_id,created_at,id", "dataset_sha256": "6215719e1fbfe6be4efa7400c161a695db3f71489819d9e8a87d3ab9f22072ad", "index_bytes": 5914624, "insert_200_with_commit_ms": { "p50": 2.954, "p95": 4.115, "p99": 5.659 }, "order": 2, "read_cases": { "large_deep": { "elapsed_seconds": 0.411216291, "latency_ms": { "p50": 6.609, "p95": 9.018, "p99": 10.019 }, "plan": { "explain": { "Execution Time": 0.049, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.029, "Actual Total Time": 0.038, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.028, "Actual Total Time": 0.035, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "((chat_id = '80ec067f-d794-40a9-9ae8-4b26c0e519d8'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:01:20.001+00'::timestamp with time zone, '0ff4814b-bfc9-44ae-aa7d-1bc70346b357'::uuid)))", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 14141, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 6, "Shared Read Blocks": 1, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 15411.14 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 6, "Shared Read Blocks": 1, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 56 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.081, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 6.483, 6.275, 6.758, 6.858, 6.609, 6.534, 6.855, 6.834, 7.418, 9.018, 8.716, 8.095, 6.08, 6.243, 6.591, 9.92, 9.394, 6.381, 6.802, 6.637, 6.851, 6.353, 6.721, 5.906, 6.565, 6.999, 8.488, 7.484, 6.331, 6.232, 6.69, 6.079, 5.95, 5.923, 6.121, 6.416, 5.738, 5.443, 6.207, 6.298, 7.006, 6.786, 7.015, 6.298, 7.083, 7.14, 6.029, 6.088, 6.165, 5.998, 6.666, 6.649, 6.789, 7.789, 6.262, 8.576, 10.019, 6.582, 6.228, 6.651 ], "successful_rps": 145.90861625178172 }, "large_first": { "elapsed_seconds": 0.031577875, "latency_ms": { "p50": 0.439, "p95": 0.77, "p99": 2.783 }, "plan": { "explain": { "Execution Time": 0.014, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.002, "Actual Total Time": 0.01, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.002, "Actual Total Time": 0.007, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '80ec067f-d794-40a9-9ae8-4b26c0e519d8'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 70473, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 7, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 18376.47 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 7, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 13.72 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.053, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.362, 0.33, 0.32, 0.36, 0.33, 0.315, 0.3, 0.33, 0.285, 0.346, 0.351, 0.375, 0.36, 2.733, 2.783, 0.472, 0.436, 0.442, 0.52, 0.426, 0.524, 0.451, 0.47, 0.478, 0.511, 0.421, 0.44, 0.436, 0.445, 0.405, 0.457, 0.436, 0.423, 0.488, 0.897, 0.53, 0.58, 0.488, 0.478, 0.451, 0.393, 0.523, 0.448, 0.77, 0.723, 0.506, 0.439, 0.383, 0.395, 0.45, 0.445, 0.431, 0.415, 0.426, 0.6, 0.42, 0.456, 0.382, 0.481, 0.403 ], "successful_rps": 1900.064523024428 }, "medium_deep": { "elapsed_seconds": 0.058693583, "latency_ms": { "p50": 0.921, "p95": 1.028, "p99": 2.569 }, "plan": { "explain": { "Execution Time": 0.018, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.005, "Actual Total Time": 0.012, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.005, "Actual Total Time": 0.009, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "((chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:01:20.09+00'::timestamp with time zone, '2397cd4f-2a93-4185-a89c-cda436eee51a'::uuid)))", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1143, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 15, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 3466.56 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 15, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 155.07 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.057, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.891, 0.978, 0.974, 0.948, 0.921, 0.902, 0.873, 0.884, 0.852, 0.949, 0.896, 0.89, 0.882, 0.952, 0.976, 0.883, 0.972, 0.953, 0.934, 1.348, 0.887, 0.942, 0.877, 0.974, 0.959, 0.917, 0.875, 0.874, 0.88, 0.869, 0.885, 0.914, 1.013, 0.957, 0.905, 0.895, 0.834, 1.026, 2.201, 2.569, 0.925, 0.967, 0.887, 0.981, 0.955, 0.913, 1.028, 0.927, 0.916, 0.863, 0.939, 0.995, 0.932, 0.836, 0.903, 0.859, 0.921, 0.863, 0.941, 0.955 ], "successful_rps": 1022.258259476168 }, "medium_first": { "elapsed_seconds": 0.036618292, "latency_ms": { "p50": 0.43, "p95": 1.047, "p99": 6.442 }, "plan": { "explain": { "Execution Time": 0.016, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.004, "Actual Total Time": 0.011, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.003, "Actual Total Time": 0.008, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 5723, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 15, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 11913.87 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 15, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 106.58 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.055, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.445, 0.485, 0.405, 0.399, 0.394, 0.371, 0.366, 0.375, 0.385, 0.43, 0.382, 0.461, 0.45, 0.48, 0.433, 0.496, 0.442, 1.047, 0.442, 0.421, 0.413, 0.414, 0.408, 0.409, 0.633, 0.712, 2.24, 1.253, 0.759, 0.431, 0.449, 0.456, 6.442, 0.888, 0.924, 0.493, 0.458, 0.458, 0.417, 0.463, 0.404, 0.391, 0.427, 0.423, 0.482, 0.394, 0.401, 0.379, 0.381, 0.434, 0.451, 0.428, 0.386, 0.42, 0.393, 0.445, 0.428, 0.433, 0.405, 0.403 ], "successful_rps": 1638.5253577638193 }, "small_deep": { "elapsed_seconds": 0.03889125, "latency_ms": { "p50": 0.583, "p95": 1.045, "p99": 1.703 }, "plan": { "explain": { "Execution Time": 0.049, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.009, "Actual Total Time": 0.039, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.008, "Actual Total Time": 0.035, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "((chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:01:20.099+00'::timestamp with time zone, 'aa947ed6-503f-41dd-ae85-6385d541feca'::uuid)))", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 194, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 55, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 652.96 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 55, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 171.96 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.104, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.704, 0.566, 0.713, 1.045, 0.59, 0.733, 1.026, 0.646, 1.199, 0.761, 0.704, 0.636, 0.583, 0.686, 0.614, 0.6, 0.602, 0.549, 0.62, 0.675, 0.909, 0.634, 0.628, 0.5, 0.528, 0.556, 0.553, 0.522, 0.473, 0.486, 0.541, 0.509, 0.526, 0.559, 0.567, 0.5, 0.541, 0.515, 0.57, 0.485, 0.516, 0.534, 0.609, 0.709, 0.506, 0.669, 0.631, 0.644, 0.625, 0.518, 0.555, 0.537, 0.519, 0.536, 0.498, 0.589, 0.507, 0.685, 1.391, 1.703 ], "successful_rps": 1542.7634750747275 }, "small_first": { "elapsed_seconds": 0.031258542, "latency_ms": { "p50": 0.38, "p95": 1.084, "p99": 3.392 }, "plan": { "explain": { "Execution Time": 0.024, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.005, "Actual Total Time": 0.018, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.004, "Actual Total Time": 0.015, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 970, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 54, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2991.62 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 54, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 157.69 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.077, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.431, 0.563, 0.339, 1.084, 1.01, 0.575, 0.388, 0.329, 0.318, 0.321, 0.275, 0.296, 0.276, 0.296, 0.292, 0.306, 0.307, 0.341, 0.321, 0.361, 0.55, 0.629, 0.459, 0.451, 0.382, 0.387, 0.398, 0.398, 0.347, 0.297, 0.38, 0.334, 0.314, 0.322, 0.31, 0.369, 0.306, 0.294, 0.33, 3.392, 0.476, 0.546, 0.427, 0.401, 0.629, 0.977, 1.829, 1.664, 0.486, 0.405, 0.395, 0.342, 0.376, 0.388, 0.331, 0.353, 0.373, 0.596, 0.714, 0.397 ], "successful_rps": 1919.475322937327 } }, "series": 3, "table_bytes": 35618816, "variant": "B", "write_samples_ms": [ 5.659, 3.555, 3.406, 3.041, 3.954, 2.976, 3.333, 3.238, 2.59, 2.596, 2.594, 4.115, 2.813, 2.954, 2.796, 3.098, 2.626, 2.647, 2.59, 2.571 ], "write_wal_bytes": [ 125376, 117184, 117160, 121136, 117256, 117184, 117184, 117176, 117136, 117184, 117160, 117136, 117136, 117136, 117208, 117184, 117136, 117208, 117184, 117184 ] }, { "build_ms": 49.271, "columns": "chat_id,created_at,id", "dataset_sha256": "6215719e1fbfe6be4efa7400c161a695db3f71489819d9e8a87d3ab9f22072ad", "index_bytes": 5914624, "insert_200_with_commit_ms": { "p50": 2.912, "p95": 4.03, "p99": 4.509 }, "order": 1, "read_cases": { "large_deep": { "elapsed_seconds": 0.483714083, "latency_ms": { "p50": 7.155, "p95": 11.719, "p99": 18.68 }, "plan": { "explain": { "Execution Time": 0.048, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.026, "Actual Total Time": 0.036, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.026, "Actual Total Time": 0.033, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "((chat_id = '80ec067f-d794-40a9-9ae8-4b26c0e519d8'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:01:20.001+00'::timestamp with time zone, '0ff4814b-bfc9-44ae-aa7d-1bc70346b357'::uuid)))", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 13896, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 6, "Shared Read Blocks": 1, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 15327.2 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 6, "Shared Read Blocks": 1, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 56.67 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.091, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 6.74, 6.542, 7.429, 7.485, 7.042, 6.85, 7.075, 7.267, 7.502, 7.04, 6.412, 6.314, 6.621, 7.155, 6.435, 6.326, 6.579, 6.592, 6.909, 6.77, 7.201, 12.643, 10.968, 9.706, 7.514, 6.986, 8.13, 8.275, 6.539, 7.003, 8.808, 7.484, 8.662, 7.106, 6.469, 7.029, 6.709, 6.771, 6.535, 6.776, 7.297, 6.594, 6.502, 7.088, 7.114, 7.928, 11.469, 17.506, 18.68, 11.719, 7.904, 9.188, 11.262, 8.286, 7.686, 7.732, 7.977, 8.186, 8.002, 11.095 ], "successful_rps": 124.0402173694827 }, "large_first": { "elapsed_seconds": 0.027964625, "latency_ms": { "p50": 0.386, "p95": 0.871, "p99": 2.48 }, "plan": { "explain": { "Execution Time": 0.017, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.003, "Actual Total Time": 0.01, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.003, "Actual Total Time": 0.007, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '80ec067f-d794-40a9-9ae8-4b26c0e519d8'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 70357, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 7, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 18310.35 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 7, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 13.69 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.056, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.47, 0.502, 0.448, 0.426, 0.516, 1.005, 0.871, 2.48, 0.54, 0.505, 0.427, 0.424, 0.445, 0.47, 1.521, 0.496, 0.371, 0.465, 0.39, 0.477, 0.59, 0.379, 0.521, 0.433, 0.294, 0.311, 0.302, 0.289, 0.312, 0.286, 0.307, 0.31, 0.311, 0.425, 0.397, 0.347, 0.35, 0.34, 0.374, 0.37, 0.408, 0.406, 0.412, 0.356, 0.364, 0.374, 0.357, 0.391, 0.388, 0.336, 0.357, 0.369, 0.341, 0.386, 0.366, 0.368, 0.392, 0.356, 0.334, 0.345 ], "successful_rps": 2145.5678379381093 }, "medium_deep": { "elapsed_seconds": 0.057437958, "latency_ms": { "p50": 0.889, "p95": 1.143, "p99": 3.046 }, "plan": { "explain": { "Execution Time": 0.018, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.005, "Actual Total Time": 0.012, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.005, "Actual Total Time": 0.01, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "((chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:01:20.09+00'::timestamp with time zone, '2397cd4f-2a93-4185-a89c-cda436eee51a'::uuid)))", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1195, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 15, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 3585.23 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 15, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 153.41 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.06, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 1.143, 1.502, 3.046, 1.326, 1.042, 0.889, 0.904, 0.936, 0.965, 0.944, 0.995, 0.894, 0.825, 0.798, 0.798, 0.847, 0.974, 1, 0.945, 1.008, 0.884, 0.873, 0.851, 0.902, 0.877, 1.082, 0.858, 0.886, 0.914, 0.966, 0.89, 0.898, 0.876, 0.799, 0.822, 0.871, 0.921, 0.988, 0.924, 0.939, 0.928, 0.888, 0.882, 0.839, 0.872, 1.051, 0.932, 1.008, 0.855, 0.874, 0.876, 0.857, 0.793, 0.78, 0.819, 0.829, 0.872, 0.89, 0.843, 0.877 ], "successful_rps": 1044.6053809921307 }, "medium_first": { "elapsed_seconds": 0.022668042, "latency_ms": { "p50": 0.358, "p95": 0.438, "p99": 0.968 }, "plan": { "explain": { "Execution Time": 0.015, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.003, "Actual Total Time": 0.011, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.003, "Actual Total Time": 0.008, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6073, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 15, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 12289.34 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 15, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 103.62 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.053, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.405, 0.405, 0.369, 0.362, 0.339, 0.327, 0.477, 0.335, 0.374, 0.394, 0.358, 0.359, 0.365, 0.324, 0.414, 0.37, 0.408, 0.374, 0.358, 0.377, 0.438, 0.454, 0.356, 0.39, 0.365, 0.365, 0.358, 0.338, 0.351, 0.351, 0.348, 0.39, 0.364, 0.344, 0.368, 0.374, 0.343, 0.355, 0.349, 0.406, 0.403, 0.432, 0.435, 0.968, 0.344, 0.356, 0.345, 0.33, 0.327, 0.339, 0.304, 0.339, 0.337, 0.327, 0.39, 0.404, 0.35, 0.317, 0.324, 0.345 ], "successful_rps": 2646.8982190874713 }, "small_deep": { "elapsed_seconds": 0.037617542, "latency_ms": { "p50": 0.502, "p95": 0.972, "p99": 5.514 }, "plan": { "explain": { "Execution Time": 0.025, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.004, "Actual Total Time": 0.018, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.004, "Actual Total Time": 0.016, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "((chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:01:20.099+00'::timestamp with time zone, 'aa947ed6-503f-41dd-ae85-6385d541feca'::uuid)))", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 190, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 55, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 636.41 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 55, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 171.13 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.06, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.47, 0.454, 0.481, 0.487, 0.531, 0.659, 0.605, 0.627, 0.55, 0.506, 0.465, 0.484, 0.506, 0.931, 0.41, 0.423, 0.513, 0.44, 0.438, 0.431, 0.446, 0.417, 0.518, 0.61, 0.579, 1.267, 0.569, 0.565, 0.602, 0.53, 0.542, 0.582, 0.566, 0.972, 0.532, 0.485, 1.096, 5.514, 0.53, 0.479, 0.478, 0.527, 0.737, 0.668, 0.483, 0.45, 0.458, 0.546, 0.46, 0.445, 0.446, 0.418, 0.405, 0.412, 0.417, 0.408, 0.402, 0.437, 0.502, 0.652 ], "successful_rps": 1595.0005452243531 }, "small_first": { "elapsed_seconds": 0.026008125, "latency_ms": { "p50": 0.363, "p95": 0.836, "p99": 1.509 }, "plan": { "explain": { "Execution Time": 0.022, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.004, "Actual Total Time": 0.017, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.004, "Actual Total Time": 0.014, "Alias": "messages", "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 967, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Scan Direction": "Forward", "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 54, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2966.62 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 54, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0.42, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 156.86 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.062, "Triggers": [] }, "max_visited_rows": 51 }, "samples_ms": [ 0.494, 0.403, 0.469, 0.443, 0.396, 0.364, 0.382, 0.386, 0.436, 0.486, 0.836, 1.141, 1.509, 1.259, 0.675, 0.464, 0.565, 0.419, 0.402, 0.35, 0.389, 0.352, 0.318, 0.317, 0.326, 0.363, 0.379, 0.308, 0.321, 0.331, 0.355, 0.338, 0.357, 0.366, 0.418, 0.389, 0.368, 0.407, 0.48, 0.498, 0.303, 0.328, 0.333, 0.291, 0.328, 0.365, 0.331, 0.345, 0.336, 0.359, 0.345, 0.312, 0.333, 0.33, 0.332, 0.347, 0.327, 0.321, 0.296, 0.431 ], "successful_rps": 2306.9713791363274 } }, "series": 4, "table_bytes": 35618816, "variant": "B", "write_samples_ms": [ 4.509, 3.541, 3.975, 3.479, 2.962, 3.088, 2.703, 2.504, 2.912, 3.271, 2.993, 2.571, 2.597, 2.839, 4.03, 2.44, 2.671, 2.636, 3.16, 2.457 ], "write_wal_bytes": [ 125400, 121184, 117160, 117184, 117056, 117208, 117184, 117136, 117184, 117208, 117184, 117136, 117160, 117184, 117136, 117160, 117136, 117136, 117184, 117160 ] }, { "build_ms": 27.777, "columns": "chat_id", "dataset_sha256": "6215719e1fbfe6be4efa7400c161a695db3f71489819d9e8a87d3ab9f22072ad", "index_bytes": 720896, "insert_200_with_commit_ms": { "p50": 2.832, "p95": 6.278, "p99": 7.378 }, "order": 2, "read_cases": { "large_deep": { "elapsed_seconds": 0.523224875, "latency_ms": { "p50": 8.093, "p95": 11.432, "p99": 19.259 }, "plan": { "explain": { "Execution Time": 10.613, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 8.816, "Actual Total Time": 10.598, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 8.815, "Actual Total Time": 10.594, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Gather Merge", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 13824, "Plan Width": 316, "Plans": [ { "Actual Loops": 3, "Actual Rows": 38, "Actual Startup Time": 4.979, "Actual Total Time": 4.981, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 5760, "Plan Width": 316, "Plans": [ { "Actual Loops": 3, "Actual Rows": 4666.33, "Actual Startup Time": 3.695, "Actual Total Time": 4.586, "Alias": "messages", "Async Capable": false, "Disabled": false, "Filter": "((chat_id = '80ec067f-d794-40a9-9ae8-4b26c0e519d8'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:01:20.001+00'::timestamp with time zone, '0ff4814b-bfc9-44ae-aa7d-1bc70346b357'::uuid)))", "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Seq Scan", "Parallel Aware": true, "Parent Relationship": "Outer", "Plan Rows": 5760, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Filter": 28667, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4319, "Shared Read Blocks": 29, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 5077.17, "Workers": [] } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4349, "Shared Read Blocks": 29, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 5269.33, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 5283.73, "Workers": [ { "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Worker Number": 0 }, { "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Worker Number": 1 } ] } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4349, "Shared Read Blocks": 29, "Shared Written Blocks": 0, "Startup Cost": 6269.36, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 7879.39, "Workers Launched": 2, "Workers Planned": 2 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4349, "Shared Read Blocks": 29, "Shared Written Blocks": 0, "Startup Cost": 6269.36, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 6275.3 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.142, "Triggers": [] }, "max_visited_rows": 99999.99 }, "samples_ms": [ 8.093, 8.647, 8.135, 7.982, 8.037, 7.835, 7.838, 7.756, 7.897, 7.908, 9.791, 9.514, 8.792, 7.628, 7.804, 8.151, 7.831, 7.959, 7.488, 7.306, 7.44, 7.466, 7.634, 9.233, 8.046, 8.499, 7.938, 7.755, 7.816, 8.072, 7.962, 8.015, 7.834, 8.161, 10.886, 8.386, 9.433, 10.232, 13.753, 11.432, 9.716, 19.259, 11.931, 8.852, 8.956, 8.884, 8.745, 8.399, 8.895, 8.785, 8.4, 8.392, 8.752, 8.16, 8.014, 7.997, 8.574, 8.03, 8.037, 7.967 ], "successful_rps": 114.673447052761 }, "large_first": { "elapsed_seconds": 1.056108417, "latency_ms": { "p50": 9.579, "p95": 52.267, "p99": 143.109 }, "plan": { "explain": { "Execution Time": 17.984, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 16.062, "Actual Total Time": 17.948, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 16.06, "Actual Total Time": 17.943, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Gather Merge", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 70037, "Plan Width": 316, "Plans": [ { "Actual Loops": 3, "Actual Rows": 51, "Actual Startup Time": 12.21, "Actual Total Time": 12.218, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 29182, "Plan Width": 316, "Plans": [ { "Actual Loops": 3, "Actual Rows": 23333.33, "Actual Startup Time": 0.015, "Actual Total Time": 10.106, "Alias": "messages", "Async Capable": false, "Disabled": false, "Filter": "(chat_id = '80ec067f-d794-40a9-9ae8-4b26c0e519d8'::uuid)", "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Seq Scan", "Parallel Aware": true, "Parent Relationship": "Outer", "Plan Rows": 29182, "Plan Width": 316, "Relation Name": "messages", "Rows Removed by Filter": 10000, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4071, "Shared Read Blocks": 277, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4868.83, "Workers": [] } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4161, "Shared Read Blocks": 277, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 5842.41, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 5915.36, "Workers": [ { "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Worker Number": 0 }, { "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Worker Number": 1 } ] } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4161, "Shared Read Blocks": 277, "Shared Written Blocks": 0, "Startup Cost": 6842.43, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 14999.39, "Workers Launched": 2, "Workers Planned": 2 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 4161, "Shared Read Blocks": 277, "Shared Written Blocks": 0, "Startup Cost": 6842.43, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 6848.37 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.441, "Triggers": [] }, "max_visited_rows": 99999.99 }, "samples_ms": [ 18.068, 13.564, 8.954, 8.587, 8.456, 8.481, 8.099, 8.168, 8.443, 8.276, 8.346, 8.02, 8.184, 7.946, 8.108, 8.097, 8.991, 12.398, 26.747, 43.757, 75.735, 52.267, 111.95, 143.109, 24.348, 18.083, 14.371, 13.748, 13.992, 17.63, 9.48, 10.115, 12.43, 10.21, 9.918, 12.603, 10.724, 10.882, 12.709, 14.212, 21.186, 16.605, 8.675, 8.422, 8.583, 8.506, 8.307, 8.197, 8.429, 9.001, 8.165, 7.969, 8.674, 10.213, 11.275, 9.007, 11.636, 26.369, 9.579, 8.801 ], "successful_rps": 56.81234902988185 }, "medium_deep": { "elapsed_seconds": 0.073264625, "latency_ms": { "p50": 1.153, "p95": 1.893, "p99": 2.329 }, "plan": { "explain": { "Execution Time": 0.763, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.751, "Actual Total Time": 0.755, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.75, "Actual Total Time": 0.752, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1197, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 1199, "Actual Startup Time": 0.549, "Actual Total Time": 0.671, "Alias": "messages", "Async Capable": false, "Disabled": false, "Exact Heap Blocks": 1218, "Filter": "(ROW(created_at, id) > ROW('2026-01-01 00:01:20.09+00'::timestamp with time zone, '2397cd4f-2a93-4185-a89c-cda436eee51a'::uuid))", "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Lossy Heap Blocks": 0, "Node Type": "Bitmap Heap Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 1197, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 6000, "Actual Startup Time": 0.1, "Actual Total Time": 0.1, "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Bitmap Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6090, "Plan Width": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 8, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 69.97 } ], "Recheck Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Relation Name": "messages", "Rows Removed by Filter": 4801, "Rows Removed by Index Recheck": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 70.27, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4751.24 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 4791.18, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4794.17 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 4791.18, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4791.31 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.056, "Triggers": [] }, "max_visited_rows": 6000 }, "samples_ms": [ 1.057, 0.963, 0.996, 1.044, 1.162, 1.113, 1.082, 1.153, 1.156, 1.195, 1.193, 1.043, 1.041, 1.049, 1.115, 1.167, 1.165, 1.151, 1.128, 1.106, 1.246, 1.213, 1.237, 1.165, 1.41, 1.23, 2.314, 1.059, 1.141, 1.127, 1.134, 1.109, 1.167, 1.185, 1.172, 1.098, 1.25, 1.216, 1.14, 1.166, 1.106, 1.148, 1.173, 1.112, 1.446, 2.329, 1.982, 1.248, 1.161, 1.248, 1.072, 1.063, 1.214, 1.272, 1.893, 1.762, 1.109, 1.006, 0.992, 1.019 ], "successful_rps": 818.9491176676329 }, "medium_first": { "elapsed_seconds": 0.099383958, "latency_ms": { "p50": 1.3, "p95": 2.87, "p99": 10.742 }, "plan": { "explain": { "Execution Time": 1.097, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 1.086, "Actual Total Time": 1.09, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 1.085, "Actual Total Time": 1.087, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6090, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 6000, "Actual Startup Time": 0.179, "Actual Total Time": 0.678, "Alias": "messages", "Async Capable": false, "Disabled": false, "Exact Heap Blocks": 1218, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Lossy Heap Blocks": 0, "Node Type": "Bitmap Heap Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6090, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 6000, "Actual Startup Time": 0.098, "Actual Total Time": 0.098, "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Bitmap Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 6090, "Plan Width": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 8, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 69.97 } ], "Recheck Cond": "(chat_id = '1a29a964-39a6-4dca-a19b-ea2e975a14ef'::uuid)", "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 71.49, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4722.02 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 4925.19, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4940.42 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1226, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 4925.19, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 4925.32 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.053, "Triggers": [] }, "max_visited_rows": 6000 }, "samples_ms": [ 1.152, 1.187, 1.245, 1.12, 10.742, 1.324, 1.265, 1.263, 1.575, 1.346, 1.348, 1.338, 1.552, 1.384, 1.319, 1.22, 1.199, 1.266, 1.342, 1.428, 1.397, 1.3, 1.302, 1.361, 1.59, 1.783, 1.192, 1.199, 1.341, 1.845, 1.718, 1.74, 2.87, 6.952, 2.921, 1.669, 1.6, 1.722, 1.813, 2.183, 1.248, 1.204, 1.255, 1.177, 1.162, 1.242, 1.409, 1.346, 1.19, 1.148, 1.132, 1.215, 1.262, 1.281, 1.129, 1.14, 1.109, 1.175, 1.178, 1.162 ], "successful_rps": 603.7191636098856 }, "small_deep": { "elapsed_seconds": 0.047669916, "latency_ms": { "p50": 0.746, "p95": 1.174, "p99": 1.365 }, "plan": { "explain": { "Execution Time": 0.345, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.334, "Actual Total Time": 0.339, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.334, "Actual Total Time": 0.336, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 193, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 199, "Actual Startup Time": 0.274, "Actual Total Time": 0.318, "Alias": "messages", "Async Capable": false, "Disabled": false, "Exact Heap Blocks": 1000, "Filter": "(ROW(created_at, id) > ROW('2026-01-01 00:01:20.099+00'::timestamp with time zone, 'aa947ed6-503f-41dd-ae85-6385d541feca'::uuid))", "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Lossy Heap Blocks": 0, "Node Type": "Bitmap Heap Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 193, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 1000, "Actual Startup Time": 0.054, "Actual Total Time": 0.054, "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Bitmap Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 983, "Plan Width": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 2, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 11.67 } ], "Recheck Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Relation Name": "messages", "Rows Removed by Filter": 801, "Rows Removed by Index Recheck": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 11.71, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2369.13 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 2375.56, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2376.05 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 2375.56, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2375.69 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.066, "Triggers": [] }, "max_visited_rows": 1000 }, "samples_ms": [ 0.717, 0.656, 0.743, 0.915, 0.68, 0.8, 0.755, 0.746, 0.735, 0.677, 0.757, 0.672, 0.762, 0.785, 0.715, 0.706, 0.857, 0.813, 0.852, 0.747, 0.795, 0.826, 0.781, 0.685, 0.745, 1.104, 1.32, 0.739, 0.766, 1.094, 1.174, 1.271, 0.788, 0.821, 0.869, 0.765, 0.796, 1.365, 0.739, 0.663, 0.8, 1.004, 0.92, 0.656, 0.663, 0.613, 0.611, 0.615, 0.596, 0.676, 0.686, 0.684, 0.677, 0.741, 0.722, 0.741, 0.741, 0.733, 0.787, 0.758 ], "successful_rps": 1258.6554589271775 }, "small_first": { "elapsed_seconds": 0.047091375, "latency_ms": { "p50": 0.705, "p95": 1.192, "p99": 1.878 }, "plan": { "explain": { "Execution Time": 0.409, "Plan": { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.398, "Actual Total Time": 0.402, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Limit", "Parallel Aware": false, "Plan Rows": 51, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 51, "Actual Startup Time": 0.397, "Actual Total Time": 0.399, "Async Capable": false, "Disabled": false, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Sort", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 983, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 1000, "Actual Startup Time": 0.123, "Actual Total Time": 0.331, "Alias": "messages", "Async Capable": false, "Disabled": false, "Exact Heap Blocks": 1000, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Lossy Heap Blocks": 0, "Node Type": "Bitmap Heap Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 983, "Plan Width": 316, "Plans": [ { "Actual Loops": 1, "Actual Rows": 1000, "Actual Startup Time": 0.05, "Actual Total Time": 0.05, "Async Capable": false, "Disabled": false, "Index Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Index Name": "lab2_history_variant", "Index Searches": 1, "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Node Type": "Bitmap Index Scan", "Parallel Aware": false, "Parent Relationship": "Outer", "Plan Rows": 983, "Plan Width": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 2, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 11.67 } ], "Recheck Cond": "(chat_id = '02ec3b2a-ac24-40be-8b72-cbbd340ca48f'::uuid)", "Relation Name": "messages", "Rows Removed by Index Recheck": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 11.91, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2364.41 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Sort Key": [ "created_at", "id" ], "Sort Method": "top-N heapsort", "Sort Space Type": "Memory", "Sort Space Used": 50, "Startup Cost": 2397.2, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2399.66 } ], "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 1002, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Startup Cost": 2397.2, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Total Cost": 2397.33 }, "Planning": { "Local Dirtied Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Written Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.048, "Triggers": [] }, "max_visited_rows": 1000 }, "samples_ms": [ 0.739, 0.79, 0.8, 0.616, 0.684, 0.678, 0.692, 0.714, 0.705, 0.597, 0.641, 0.71, 0.791, 0.707, 0.694, 0.787, 0.754, 0.966, 1.131, 0.948, 0.614, 0.589, 0.619, 0.614, 0.699, 0.703, 0.716, 0.706, 0.73, 0.727, 0.697, 0.685, 0.774, 0.696, 0.727, 0.648, 0.695, 0.714, 0.653, 0.705, 0.658, 0.7, 0.787, 0.681, 0.686, 0.68, 0.716, 0.78, 0.698, 0.86, 0.806, 1.192, 1.106, 1.614, 1.626, 1.878, 0.731, 0.693, 0.662, 0.629 ], "successful_rps": 1274.1186682274622 } }, "series": 4, "table_bytes": 35618816, "variant": "A", "write_samples_ms": [ 7.378, 4.45, 6.278, 3.832, 3.105, 2.886, 2.883, 2.832, 2.751, 2.616, 2.707, 2.613, 3.003, 2.446, 3.002, 2.871, 2.596, 2.778, 2.646, 2.53 ], "write_wal_bytes": [ 120336, 104384, 104464, 104520, 104520, 104720, 104952, 104464, 104464, 104440, 104520, 104632, 105120, 104464, 104440, 104464, 104464, 104576, 105208, 104408 ] } ], "warmup_per_case": 5, "write_batches_per_trial": 20, "resources": { "sample_interval_seconds": 0.5, "sample_count": 61, "sample_window_seconds": 30.316758707998815, "mean_cpu_cores": 0.7976171936091574, "mean_cpu_percent_of_limit": 79.76171936091573, "rss_first_bytes": 31367168, "rss_peak_observed_bytes": 31367168, "cgroup_memory_peak_observed_bytes": 535756800, "oom_kill_count": 0, "samples": [ { "seconds": 0.0995, "rss_bytes": 31367168, "cgroup_memory_bytes": 77893632, "cpu_usage_usec": 1292080, "oom_kill_count": 0 }, { "seconds": 0.5898, "rss_bytes": 31367168, "cgroup_memory_bytes": 77385728, "cpu_usage_usec": 1299701, "oom_kill_count": 0 }, { "seconds": 1.0919, "rss_bytes": 31367168, "cgroup_memory_bytes": 124342272, "cpu_usage_usec": 1522385, "oom_kill_count": 0 }, { "seconds": 1.603, "rss_bytes": 31367168, "cgroup_memory_bytes": 176439296, "cpu_usage_usec": 2012329, "oom_kill_count": 0 }, { "seconds": 2.1119, "rss_bytes": 31367168, "cgroup_memory_bytes": 189771776, "cpu_usage_usec": 2499227, "oom_kill_count": 0 }, { "seconds": 2.6147, "rss_bytes": 31367168, "cgroup_memory_bytes": 239890432, "cpu_usage_usec": 2984186, "oom_kill_count": 0 }, { "seconds": 3.1873, "rss_bytes": 31367168, "cgroup_memory_bytes": 297660416, "cpu_usage_usec": 3525574, "oom_kill_count": 0 }, { "seconds": 3.6492, "rss_bytes": 31367168, "cgroup_memory_bytes": 296869888, "cpu_usage_usec": 3979296, "oom_kill_count": 0 }, { "seconds": 4.1981, "rss_bytes": 31367168, "cgroup_memory_bytes": 346882048, "cpu_usage_usec": 4493543, "oom_kill_count": 0 }, { "seconds": 4.647, "rss_bytes": 31367168, "cgroup_memory_bytes": 346796032, "cpu_usage_usec": 4518396, "oom_kill_count": 0 }, { "seconds": 5.5158, "rss_bytes": 31367168, "cgroup_memory_bytes": 321179648, "cpu_usage_usec": 5102777, "oom_kill_count": 0 }, { "seconds": 5.7663, "rss_bytes": 31367168, "cgroup_memory_bytes": 334848000, "cpu_usage_usec": 5532412, "oom_kill_count": 0 }, { "seconds": 6.2659, "rss_bytes": 31367168, "cgroup_memory_bytes": 325816320, "cpu_usage_usec": 6044154, "oom_kill_count": 0 }, { "seconds": 6.7752, "rss_bytes": 31367168, "cgroup_memory_bytes": 320282624, "cpu_usage_usec": 6546848, "oom_kill_count": 0 }, { "seconds": 7.3582, "rss_bytes": 31367168, "cgroup_memory_bytes": 320045056, "cpu_usage_usec": 7121910, "oom_kill_count": 0 }, { "seconds": 7.6851, "rss_bytes": 31367168, "cgroup_memory_bytes": 319893504, "cpu_usage_usec": 7414357, "oom_kill_count": 0 }, { "seconds": 8.1575, "rss_bytes": 31367168, "cgroup_memory_bytes": 319520768, "cpu_usage_usec": 7852674, "oom_kill_count": 0 }, { "seconds": 9.0764, "rss_bytes": 31367168, "cgroup_memory_bytes": 319918080, "cpu_usage_usec": 8616470, "oom_kill_count": 0 }, { "seconds": 9.1899, "rss_bytes": 31367168, "cgroup_memory_bytes": 320274432, "cpu_usage_usec": 8742082, "oom_kill_count": 0 }, { "seconds": 9.7537, "rss_bytes": 31367168, "cgroup_memory_bytes": 319066112, "cpu_usage_usec": 9127557, "oom_kill_count": 0 }, { "seconds": 10.2003, "rss_bytes": 31367168, "cgroup_memory_bytes": 321425408, "cpu_usage_usec": 9430924, "oom_kill_count": 0 }, { "seconds": 10.7272, "rss_bytes": 31367168, "cgroup_memory_bytes": 378773504, "cpu_usage_usec": 9920228, "oom_kill_count": 0 }, { "seconds": 11.2207, "rss_bytes": 31367168, "cgroup_memory_bytes": 342388736, "cpu_usage_usec": 10103126, "oom_kill_count": 0 }, { "seconds": 11.7551, "rss_bytes": 31367168, "cgroup_memory_bytes": 369418240, "cpu_usage_usec": 10632585, "oom_kill_count": 0 }, { "seconds": 12.1822, "rss_bytes": 31367168, "cgroup_memory_bytes": 376590336, "cpu_usage_usec": 10987777, "oom_kill_count": 0 }, { "seconds": 12.7051, "rss_bytes": 31367168, "cgroup_memory_bytes": 377765888, "cpu_usage_usec": 11363731, "oom_kill_count": 0 }, { "seconds": 13.461, "rss_bytes": 31367168, "cgroup_memory_bytes": 406245376, "cpu_usage_usec": 12105430, "oom_kill_count": 0 }, { "seconds": 14.0369, "rss_bytes": 31367168, "cgroup_memory_bytes": 425795584, "cpu_usage_usec": 12684594, "oom_kill_count": 0 }, { "seconds": 14.2096, "rss_bytes": 31367168, "cgroup_memory_bytes": 437411840, "cpu_usage_usec": 12784008, "oom_kill_count": 0 }, { "seconds": 14.734, "rss_bytes": 31367168, "cgroup_memory_bytes": 425721856, "cpu_usage_usec": 13110563, "oom_kill_count": 0 }, { "seconds": 15.3334, "rss_bytes": 31367168, "cgroup_memory_bytes": 420798464, "cpu_usage_usec": 13702028, "oom_kill_count": 0 }, { "seconds": 15.7082, "rss_bytes": 31367168, "cgroup_memory_bytes": 411607040, "cpu_usage_usec": 14030863, "oom_kill_count": 0 }, { "seconds": 16.2178, "rss_bytes": 31367168, "cgroup_memory_bytes": 428867584, "cpu_usage_usec": 14384121, "oom_kill_count": 0 }, { "seconds": 16.7407, "rss_bytes": 31367168, "cgroup_memory_bytes": 480989184, "cpu_usage_usec": 14872800, "oom_kill_count": 0 }, { "seconds": 17.2358, "rss_bytes": 31367168, "cgroup_memory_bytes": 482344960, "cpu_usage_usec": 14904733, "oom_kill_count": 0 }, { "seconds": 17.7226, "rss_bytes": 31367168, "cgroup_memory_bytes": 453947392, "cpu_usage_usec": 15077477, "oom_kill_count": 0 }, { "seconds": 18.239, "rss_bytes": 31367168, "cgroup_memory_bytes": 474230784, "cpu_usage_usec": 15595110, "oom_kill_count": 0 }, { "seconds": 19.2811, "rss_bytes": 31367168, "cgroup_memory_bytes": 458260480, "cpu_usage_usec": 16544910, "oom_kill_count": 0 }, { "seconds": 19.394, "rss_bytes": 31367168, "cgroup_memory_bytes": 457715712, "cpu_usage_usec": 16671401, "oom_kill_count": 0 }, { "seconds": 19.8586, "rss_bytes": 31367168, "cgroup_memory_bytes": 458567680, "cpu_usage_usec": 17110966, "oom_kill_count": 0 }, { "seconds": 20.3558, "rss_bytes": 31367168, "cgroup_memory_bytes": 457990144, "cpu_usage_usec": 17574687, "oom_kill_count": 0 }, { "seconds": 20.8665, "rss_bytes": 31367168, "cgroup_memory_bytes": 510353408, "cpu_usage_usec": 17954679, "oom_kill_count": 0 }, { "seconds": 21.3639, "rss_bytes": 31367168, "cgroup_memory_bytes": 504922112, "cpu_usage_usec": 18110609, "oom_kill_count": 0 }, { "seconds": 21.8685, "rss_bytes": 31367168, "cgroup_memory_bytes": 486096896, "cpu_usage_usec": 18587691, "oom_kill_count": 0 }, { "seconds": 22.3582, "rss_bytes": 31367168, "cgroup_memory_bytes": 486068224, "cpu_usage_usec": 19045759, "oom_kill_count": 0 }, { "seconds": 22.9379, "rss_bytes": 31367168, "cgroup_memory_bytes": 486387712, "cpu_usage_usec": 19588388, "oom_kill_count": 0 }, { "seconds": 23.3819, "rss_bytes": 31367168, "cgroup_memory_bytes": 486326272, "cpu_usage_usec": 19936564, "oom_kill_count": 0 }, { "seconds": 23.939, "rss_bytes": 31367168, "cgroup_memory_bytes": 535756800, "cpu_usage_usec": 20320779, "oom_kill_count": 0 }, { "seconds": 24.4062, "rss_bytes": 31367168, "cgroup_memory_bytes": 501817344, "cpu_usage_usec": 20616769, "oom_kill_count": 0 }, { "seconds": 24.8983, "rss_bytes": 31367168, "cgroup_memory_bytes": 492052480, "cpu_usage_usec": 21039572, "oom_kill_count": 0 }, { "seconds": 25.3889, "rss_bytes": 31367168, "cgroup_memory_bytes": 492003328, "cpu_usage_usec": 21388410, "oom_kill_count": 0 }, { "seconds": 25.8994, "rss_bytes": 31367168, "cgroup_memory_bytes": 482373632, "cpu_usage_usec": 21637058, "oom_kill_count": 0 }, { "seconds": 26.4232, "rss_bytes": 31367168, "cgroup_memory_bytes": 498327552, "cpu_usage_usec": 22125346, "oom_kill_count": 0 }, { "seconds": 26.9184, "rss_bytes": 31367168, "cgroup_memory_bytes": 498233344, "cpu_usage_usec": 22558087, "oom_kill_count": 0 }, { "seconds": 27.4336, "rss_bytes": 31367168, "cgroup_memory_bytes": 529514496, "cpu_usage_usec": 22930782, "oom_kill_count": 0 }, { "seconds": 27.9076, "rss_bytes": 31367168, "cgroup_memory_bytes": 506019840, "cpu_usage_usec": 23207527, "oom_kill_count": 0 }, { "seconds": 28.4342, "rss_bytes": 31367168, "cgroup_memory_bytes": 488255488, "cpu_usage_usec": 23720803, "oom_kill_count": 0 }, { "seconds": 29.0718, "rss_bytes": 31367168, "cgroup_memory_bytes": 488177664, "cpu_usage_usec": 24270163, "oom_kill_count": 0 }, { "seconds": 29.4411, "rss_bytes": 31367168, "cgroup_memory_bytes": 487809024, "cpu_usage_usec": 24592317, "oom_kill_count": 0 }, { "seconds": 29.9351, "rss_bytes": 31367168, "cgroup_memory_bytes": 487882752, "cpu_usage_usec": 25094047, "oom_kill_count": 0 }, { "seconds": 30.4163, "rss_bytes": 31367168, "cgroup_memory_bytes": 488259584, "cpu_usage_usec": 25473248, "oom_kill_count": 0 } ], "method": "RSS: /proc/1/status VmRSS. CPU: delta cgroup-v2 usage_usec / sample window. cgroup memory includes cache and sampling processes; it is not RSS. Peaks are sampled, not exact maxima." } }