{ "verified_at": "2026-10-05T17:42:04.803527+00:00", "message_count_in_chat": 10000, "fixture": "synthetic data; no tokens or passwords in evidence", "plans": { "first_page": { "query": "SELECT id, chat_id, sender_id, text, created_at FROM messages WHERE chat_id = '8a4f99db-6858-45e8-a2f6-a86c9194d89b' ORDER BY created_at, id LIMIT 51", "explain_analyze_buffers": { "Plan": { "Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.42, "Total Cost": 115.29, "Plan Rows": 51, "Plan Width": 151, "Actual Startup Time": 0.018, "Actual Total Time": 0.051, "Actual Rows": 51, "Actual Loops": 1, "Shared Hit Blocks": 6, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Plans": [ { "Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "messages_chat_created_id_idx", "Relation Name": "messages", "Alias": "messages", "Startup Cost": 0.42, "Total Cost": 22349.08, "Plan Rows": 9923, "Plan Width": 151, "Actual Startup Time": 0.017, "Actual Total Time": 0.044, "Actual Rows": 51, "Actual Loops": 1, "Index Cond": "(chat_id = '8a4f99db-6858-45e8-a2f6-a86c9194d89b'::uuid)", "Rows Removed by Index Recheck": 0, "Shared Hit Blocks": 6, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ] }, "Planning": { "Shared Hit Blocks": 109, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.219, "Triggers": [], "Execution Time": 0.082 } }, "after_message_9000": { "query": "SELECT id, chat_id, sender_id, text, created_at FROM messages WHERE chat_id = '8a4f99db-6858-45e8-a2f6-a86c9194d89b' AND (created_at, id) > ('2026-01-01T00:00:09.000000Z'::timestamptz, 'a0fd947d-f261-da1c-181d-6e19f2e18f68'::uuid) ORDER BY created_at, id LIMIT 51", "explain_analyze_buffers": { "Plan": { "Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 0.42, "Total Cost": 140.46, "Plan Rows": 51, "Plan Width": 151, "Actual Startup Time": 0.018, "Actual Total Time": 0.029, "Actual Rows": 51, "Actual Loops": 1, "Shared Hit Blocks": 5, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Plans": [ { "Node Type": "Index Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "messages_chat_created_id_idx", "Relation Name": "messages", "Alias": "messages", "Startup Cost": 0.42, "Total Cost": 15882.85, "Plan Rows": 5784, "Plan Width": 151, "Actual Startup Time": 0.017, "Actual Total Time": 0.022, "Actual Rows": 51, "Actual Loops": 1, "Index Cond": "((chat_id = '8a4f99db-6858-45e8-a2f6-a86c9194d89b'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:09+00'::timestamp with time zone, 'a0fd947d-f261-da1c-181d-6e19f2e18f68'::uuid)))", "Rows Removed by Index Recheck": 0, "Shared Hit Blocks": 5, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ] }, "Planning": { "Shared Hit Blocks": 106, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, "Planning Time": 0.196, "Triggers": [], "Execution Time": 0.053 } } }, "api_pages": { "first": 50, "deep": 50, "continuation": 50, "duplicates": 0 } }