forked from mtusi2026/mtusi2026lab2
4950 lines
197 KiB
JSON
4950 lines
197 KiB
JSON
{
|
|
"started_utc": "2026-10-30T14:20:04.298330+00:00",
|
|
"databases": {
|
|
"original": "research_fe54d4a9ba9c",
|
|
"restored": "restored_fe54d4a9ba9c"
|
|
},
|
|
"command": "uv run --locked python research/run.py --output evidence/query-study.json",
|
|
"method": "Single PostgreSQL container, warmed SQL reads; not HTTP latency",
|
|
"repeats_per_index": 3,
|
|
"read_trials_per_phase": 7,
|
|
"warmup_queries_per_phase": 5,
|
|
"source_commit": "65003b61195361aac238f19c9bff0027ca58e09e",
|
|
"source_worktree_dirty": true,
|
|
"postgres_container": {
|
|
"id": "3e542fd46e4ff3e93f51a47a2de728ef0d5d9146373671ae461aa82e81ed28bb",
|
|
"image_id": "sha256:742f40ea20b9ff2ff31db5458d127452988a2164df9e17441e191f3b72252193",
|
|
"nano_cpus": 1000000000,
|
|
"memory_limit_bytes": 805306368
|
|
},
|
|
"study": {
|
|
"seed_seconds": 0.8469094519969076,
|
|
"rows": 100000,
|
|
"schema_sha256": "5d88cd12ef9fda008832dc0b886fa0cf5d886738fe9b77180cdc65adac50dfd9",
|
|
"distribution": [
|
|
{
|
|
"title": "research chat 1",
|
|
"messages": 80000
|
|
},
|
|
{
|
|
"title": "research chat 2",
|
|
"messages": 15000
|
|
},
|
|
{
|
|
"title": "research chat 10",
|
|
"messages": 625
|
|
},
|
|
{
|
|
"title": "research chat 9",
|
|
"messages": 625
|
|
},
|
|
{
|
|
"title": "research chat 4",
|
|
"messages": 625
|
|
},
|
|
{
|
|
"title": "research chat 8",
|
|
"messages": 625
|
|
},
|
|
{
|
|
"title": "research chat 6",
|
|
"messages": 625
|
|
},
|
|
{
|
|
"title": "research chat 3",
|
|
"messages": 625
|
|
},
|
|
{
|
|
"title": "research chat 7",
|
|
"messages": 625
|
|
},
|
|
{
|
|
"title": "research chat 5",
|
|
"messages": 625
|
|
}
|
|
],
|
|
"query": "SELECT id,chat_id,sender_id,text,created_at FROM messages WHERE chat_id=md5('chat-1')::uuid AND (created_at,id)>(%s,%s) ORDER BY created_at,id LIMIT 51",
|
|
"cursor_position": 60000,
|
|
"settings": [
|
|
{
|
|
"name": "fsync",
|
|
"setting": "on"
|
|
},
|
|
{
|
|
"name": "full_page_writes",
|
|
"setting": "on"
|
|
},
|
|
{
|
|
"name": "max_connections",
|
|
"setting": "100"
|
|
},
|
|
{
|
|
"name": "server_version",
|
|
"setting": "17.10"
|
|
},
|
|
{
|
|
"name": "shared_buffers",
|
|
"setting": "16384"
|
|
},
|
|
{
|
|
"name": "synchronous_commit",
|
|
"setting": "on"
|
|
},
|
|
{
|
|
"name": "work_mem",
|
|
"setting": "4096"
|
|
}
|
|
],
|
|
"phases": [
|
|
{
|
|
"repeat": 1,
|
|
"variant": "chat_only",
|
|
"plans": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3995.1,
|
|
"Total Cost": 4000.97,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.433,
|
|
"Actual Total Time": 3.206,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3995.1,
|
|
"Total Cost": 6172.51,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.433,
|
|
"Actual Total Time": 3.203,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 2995.09,
|
|
"Total Cost": 3042.43,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 1.76,
|
|
"Actual Total Time": 1.76,
|
|
"Actual Rows": 26,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2363.41,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.71,
|
|
"Actual Total Time": 1.381,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1334,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.039,
|
|
"Triggers": [],
|
|
"Execution Time": 3.218
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3995.1,
|
|
"Total Cost": 4000.97,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.489,
|
|
"Actual Total Time": 3.258,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3995.1,
|
|
"Total Cost": 6172.51,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.489,
|
|
"Actual Total Time": 3.248,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 2995.09,
|
|
"Total Cost": 3042.43,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 1.827,
|
|
"Actual Total Time": 1.828,
|
|
"Actual Rows": 26,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2363.41,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.753,
|
|
"Actual Total Time": 1.438,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1334,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.026,
|
|
"Triggers": [],
|
|
"Execution Time": 3.268
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3995.1,
|
|
"Total Cost": 4000.97,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.613,
|
|
"Actual Total Time": 3.385,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3995.1,
|
|
"Total Cost": 6172.51,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.613,
|
|
"Actual Total Time": 3.376,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 2995.09,
|
|
"Total Cost": 3042.43,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 1.952,
|
|
"Actual Total Time": 1.953,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2363.41,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.794,
|
|
"Actual Total Time": 1.53,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1334,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.032,
|
|
"Triggers": [],
|
|
"Execution Time": 3.405
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3995.1,
|
|
"Total Cost": 4000.97,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.786,
|
|
"Actual Total Time": 3.647,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3995.1,
|
|
"Total Cost": 6172.51,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.785,
|
|
"Actual Total Time": 3.644,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 2995.09,
|
|
"Total Cost": 3042.43,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.131,
|
|
"Actual Total Time": 2.132,
|
|
"Actual Rows": 26,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2363.41,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.901,
|
|
"Actual Total Time": 1.709,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1334,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.03,
|
|
"Triggers": [],
|
|
"Execution Time": 3.658
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3995.1,
|
|
"Total Cost": 4000.97,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.666,
|
|
"Actual Total Time": 3.421,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3995.1,
|
|
"Total Cost": 6172.51,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.666,
|
|
"Actual Total Time": 3.418,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 2995.09,
|
|
"Total Cost": 3042.43,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 1.952,
|
|
"Actual Total Time": 1.953,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2363.41,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.778,
|
|
"Actual Total Time": 1.537,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1334,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.036,
|
|
"Triggers": [],
|
|
"Execution Time": 3.431
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3995.1,
|
|
"Total Cost": 4000.97,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.643,
|
|
"Actual Total Time": 3.394,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3995.1,
|
|
"Total Cost": 6172.51,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.642,
|
|
"Actual Total Time": 3.39,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 2995.09,
|
|
"Total Cost": 3042.43,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 1.931,
|
|
"Actual Total Time": 1.933,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2363.41,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.796,
|
|
"Actual Total Time": 1.517,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1334,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.052,
|
|
"Triggers": [],
|
|
"Execution Time": 3.406
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3995.1,
|
|
"Total Cost": 4000.97,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.538,
|
|
"Actual Total Time": 3.265,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3995.1,
|
|
"Total Cost": 6172.51,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.538,
|
|
"Actual Total Time": 3.263,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 2995.09,
|
|
"Total Cost": 3042.43,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 1.854,
|
|
"Actual Total Time": 1.856,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1349,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2363.41,
|
|
"Plan Rows": 18934,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.787,
|
|
"Actual Total Time": 1.467,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1334,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.033,
|
|
"Triggers": [],
|
|
"Execution Time": 3.281
|
|
}
|
|
],
|
|
"index_bytes_before_write": 720896,
|
|
"insert_rows": 5000,
|
|
"insert_commit_seconds": 0.06770279299234971,
|
|
"insert_wal_bytes": 1463664
|
|
},
|
|
{
|
|
"repeat": 1,
|
|
"variant": "composite",
|
|
"plans": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.59,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.009,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4515.44,
|
|
"Plan Rows": 32090,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.007,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.01,
|
|
"Triggers": [],
|
|
"Execution Time": 0.013
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.59,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.008,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4515.44,
|
|
"Plan Rows": 32090,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.006,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.01,
|
|
"Triggers": [],
|
|
"Execution Time": 0.012
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.59,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.008,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4515.44,
|
|
"Plan Rows": 32090,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.006,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.009,
|
|
"Triggers": [],
|
|
"Execution Time": 0.012
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.59,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.008,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4515.44,
|
|
"Plan Rows": 32090,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.006,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.009,
|
|
"Triggers": [],
|
|
"Execution Time": 0.012
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.59,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.008,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4515.44,
|
|
"Plan Rows": 32090,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.006,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.009,
|
|
"Triggers": [],
|
|
"Execution Time": 0.012
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.59,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.008,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4515.44,
|
|
"Plan Rows": 32090,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.006,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.009,
|
|
"Triggers": [],
|
|
"Execution Time": 0.012
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.59,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.008,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4515.44,
|
|
"Plan Rows": 32090,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.006,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.009,
|
|
"Triggers": [],
|
|
"Execution Time": 0.012
|
|
}
|
|
],
|
|
"index_bytes_before_write": 5914624,
|
|
"insert_rows": 5000,
|
|
"insert_commit_seconds": 0.039442461042199284,
|
|
"insert_wal_bytes": 1776184
|
|
},
|
|
{
|
|
"repeat": 2,
|
|
"variant": "composite",
|
|
"plans": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.55,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.01,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4483.98,
|
|
"Plan Rows": 32056,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.007,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.02,
|
|
"Triggers": [],
|
|
"Execution Time": 0.015
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.55,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.01,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4483.98,
|
|
"Plan Rows": 32056,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.007,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.014,
|
|
"Triggers": [],
|
|
"Execution Time": 0.014
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.55,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.008,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4483.98,
|
|
"Plan Rows": 32056,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.007,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.012,
|
|
"Triggers": [],
|
|
"Execution Time": 0.013
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.55,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.008,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4483.98,
|
|
"Plan Rows": 32056,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.006,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.01,
|
|
"Triggers": [],
|
|
"Execution Time": 0.012
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.55,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.008,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4483.98,
|
|
"Plan Rows": 32056,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.006,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.01,
|
|
"Triggers": [],
|
|
"Execution Time": 0.012
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.55,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.013,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4483.98,
|
|
"Plan Rows": 32056,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.011,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.01,
|
|
"Triggers": [],
|
|
"Execution Time": 0.017
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.55,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.008,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4483.98,
|
|
"Plan Rows": 32056,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.004,
|
|
"Actual Total Time": 0.006,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.009,
|
|
"Triggers": [],
|
|
"Execution Time": 0.012
|
|
}
|
|
],
|
|
"index_bytes_before_write": 5914624,
|
|
"insert_rows": 5000,
|
|
"insert_commit_seconds": 0.03789239499019459,
|
|
"insert_wal_bytes": 1776184
|
|
},
|
|
{
|
|
"repeat": 2,
|
|
"variant": "chat_only",
|
|
"plans": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4054.59,
|
|
"Total Cost": 4060.46,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.451,
|
|
"Actual Total Time": 3.115,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4054.59,
|
|
"Total Cost": 6209.58,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.451,
|
|
"Actual Total Time": 3.111,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3054.58,
|
|
"Total Cost": 3101.43,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 1.817,
|
|
"Actual Total Time": 1.817,
|
|
"Actual Rows": 26,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2429.41,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.705,
|
|
"Actual Total Time": 1.399,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1400,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.024,
|
|
"Triggers": [],
|
|
"Execution Time": 3.131
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4054.59,
|
|
"Total Cost": 4060.46,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.412,
|
|
"Actual Total Time": 3.04,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4054.59,
|
|
"Total Cost": 6209.58,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.411,
|
|
"Actual Total Time": 3.038,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3054.58,
|
|
"Total Cost": 3101.43,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 1.776,
|
|
"Actual Total Time": 1.777,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2429.41,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.723,
|
|
"Actual Total Time": 1.376,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1400,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.019,
|
|
"Triggers": [],
|
|
"Execution Time": 3.048
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4054.59,
|
|
"Total Cost": 4060.46,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 32.558,
|
|
"Actual Total Time": 33.51,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4054.59,
|
|
"Total Cost": 6209.58,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 32.558,
|
|
"Actual Total Time": 33.508,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3054.58,
|
|
"Total Cost": 3101.43,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 17.072,
|
|
"Actual Total Time": 17.074,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2429.41,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.723,
|
|
"Actual Total Time": 16.673,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1400,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.023,
|
|
"Triggers": [],
|
|
"Execution Time": 33.521
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4054.59,
|
|
"Total Cost": 4060.46,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.697,
|
|
"Actual Total Time": 3.47,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4054.59,
|
|
"Total Cost": 6209.58,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.696,
|
|
"Actual Total Time": 3.467,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3054.58,
|
|
"Total Cost": 3101.43,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 1.976,
|
|
"Actual Total Time": 1.977,
|
|
"Actual Rows": 26,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2429.41,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.83,
|
|
"Actual Total Time": 1.579,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1400,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.038,
|
|
"Triggers": [],
|
|
"Execution Time": 3.48
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4054.59,
|
|
"Total Cost": 4060.46,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.795,
|
|
"Actual Total Time": 3.649,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4054.59,
|
|
"Total Cost": 6209.58,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.795,
|
|
"Actual Total Time": 3.645,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3054.58,
|
|
"Total Cost": 3101.43,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.043,
|
|
"Actual Total Time": 2.044,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2429.41,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.876,
|
|
"Actual Total Time": 1.627,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1400,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.024,
|
|
"Triggers": [],
|
|
"Execution Time": 3.662
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4054.59,
|
|
"Total Cost": 4060.46,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.625,
|
|
"Actual Total Time": 3.296,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4054.59,
|
|
"Total Cost": 6209.58,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.624,
|
|
"Actual Total Time": 3.287,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3054.58,
|
|
"Total Cost": 3101.43,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 1.942,
|
|
"Actual Total Time": 1.943,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2429.41,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.835,
|
|
"Actual Total Time": 1.557,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1400,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.032,
|
|
"Triggers": [],
|
|
"Execution Time": 3.305
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4054.59,
|
|
"Total Cost": 4060.46,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.668,
|
|
"Actual Total Time": 3.426,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4054.59,
|
|
"Total Cost": 6209.58,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.668,
|
|
"Actual Total Time": 3.423,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3054.58,
|
|
"Total Cost": 3101.43,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.051,
|
|
"Actual Total Time": 2.051,
|
|
"Actual Rows": 26,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2429.41,
|
|
"Plan Rows": 18739,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.889,
|
|
"Actual Total Time": 1.656,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1400,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.02,
|
|
"Triggers": [],
|
|
"Execution Time": 3.433
|
|
}
|
|
],
|
|
"index_bytes_before_write": 720896,
|
|
"insert_rows": 5000,
|
|
"insert_commit_seconds": 0.049711717991158366,
|
|
"insert_wal_bytes": 1408792
|
|
},
|
|
{
|
|
"repeat": 3,
|
|
"variant": "chat_only",
|
|
"plans": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4062.6,
|
|
"Total Cost": 4068.47,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 3.915,
|
|
"Actual Total Time": 4.938,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4062.6,
|
|
"Total Cost": 6245.19,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 3.914,
|
|
"Actual Total Time": 4.934,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3062.59,
|
|
"Total Cost": 3110.04,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.714,
|
|
"Actual Total Time": 2.716,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2429.41,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.881,
|
|
"Actual Total Time": 2.301,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1400,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.043,
|
|
"Triggers": [],
|
|
"Execution Time": 4.955
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4062.6,
|
|
"Total Cost": 4068.47,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 25.316,
|
|
"Actual Total Time": 26.35,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4062.6,
|
|
"Total Cost": 6245.19,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 25.315,
|
|
"Actual Total Time": 26.345,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3062.59,
|
|
"Total Cost": 3110.04,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 1.927,
|
|
"Actual Total Time": 1.932,
|
|
"Actual Rows": 26,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 25,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2429.41,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.879,
|
|
"Actual Total Time": 1.558,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1400,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.064,
|
|
"Triggers": [],
|
|
"Execution Time": 26.367
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4062.6,
|
|
"Total Cost": 4068.47,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 3.027,
|
|
"Actual Total Time": 3.773,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4062.6,
|
|
"Total Cost": 6245.19,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 3.027,
|
|
"Actual Total Time": 3.769,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3062.59,
|
|
"Total Cost": 3110.04,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.284,
|
|
"Actual Total Time": 2.286,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2429.41,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 1.013,
|
|
"Actual Total Time": 1.882,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1400,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.056,
|
|
"Triggers": [],
|
|
"Execution Time": 3.787
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4062.6,
|
|
"Total Cost": 4068.47,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.889,
|
|
"Actual Total Time": 3.654,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4062.6,
|
|
"Total Cost": 6245.19,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.888,
|
|
"Actual Total Time": 3.651,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3062.59,
|
|
"Total Cost": 3110.04,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.092,
|
|
"Actual Total Time": 2.097,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2429.41,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.865,
|
|
"Actual Total Time": 1.68,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1400,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.031,
|
|
"Triggers": [],
|
|
"Execution Time": 3.671
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4062.6,
|
|
"Total Cost": 4068.47,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.692,
|
|
"Actual Total Time": 3.625,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4062.6,
|
|
"Total Cost": 6245.19,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.692,
|
|
"Actual Total Time": 3.623,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3062.59,
|
|
"Total Cost": 3110.04,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 1.854,
|
|
"Actual Total Time": 1.855,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2429.41,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.743,
|
|
"Actual Total Time": 1.482,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1400,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.039,
|
|
"Triggers": [],
|
|
"Execution Time": 3.638
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4062.6,
|
|
"Total Cost": 4068.47,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.849,
|
|
"Actual Total Time": 3.672,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4062.6,
|
|
"Total Cost": 6245.19,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.848,
|
|
"Actual Total Time": 3.668,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3062.59,
|
|
"Total Cost": 3110.04,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.067,
|
|
"Actual Total Time": 2.068,
|
|
"Actual Rows": 26,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2429.41,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.882,
|
|
"Actual Total Time": 1.673,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1400,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.038,
|
|
"Triggers": [],
|
|
"Execution Time": 3.684
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4062.6,
|
|
"Total Cost": 4068.47,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.501,
|
|
"Actual Total Time": 3.176,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Gather Merge",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 4062.6,
|
|
"Total Cost": 6245.19,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 2.501,
|
|
"Actual Total Time": 3.174,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Workers Planned": 1,
|
|
"Workers Launched": 1,
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 3062.59,
|
|
"Total Cost": 3110.04,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 1.784,
|
|
"Actual Total Time": 1.785,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 2,
|
|
"Sort Key": [
|
|
"created_at",
|
|
"id"
|
|
],
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 1415,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": [
|
|
{
|
|
"Worker Number": 0,
|
|
"Sort Method": "top-N heapsort",
|
|
"Sort Space Used": 31,
|
|
"Sort Space Type": "Memory"
|
|
}
|
|
],
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": true,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 2429.41,
|
|
"Plan Rows": 18979,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.724,
|
|
"Actual Total Time": 1.412,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 2,
|
|
"Filter": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Filter": 40000,
|
|
"Shared Hit Blocks": 1400,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Workers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.035,
|
|
"Triggers": [],
|
|
"Execution Time": 3.186
|
|
}
|
|
],
|
|
"index_bytes_before_write": 720896,
|
|
"insert_rows": 5000,
|
|
"insert_commit_seconds": 0.038499657006468624,
|
|
"insert_wal_bytes": 1408776
|
|
},
|
|
{
|
|
"repeat": 3,
|
|
"variant": "composite",
|
|
"plans": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.59,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.006,
|
|
"Actual Total Time": 0.009,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4469.25,
|
|
"Plan Rows": 31769,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.007,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.017,
|
|
"Triggers": [],
|
|
"Execution Time": 0.014
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.59,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.009,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4469.25,
|
|
"Plan Rows": 31769,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.007,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.014,
|
|
"Triggers": [],
|
|
"Execution Time": 0.014
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.59,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.009,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4469.25,
|
|
"Plan Rows": 31769,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.007,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.014,
|
|
"Triggers": [],
|
|
"Execution Time": 0.014
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.59,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.009,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4469.25,
|
|
"Plan Rows": 31769,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.007,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.014,
|
|
"Triggers": [],
|
|
"Execution Time": 0.014
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.59,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.009,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4469.25,
|
|
"Plan Rows": 31769,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.007,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.012,
|
|
"Triggers": [],
|
|
"Execution Time": 0.013
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.59,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.01,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4469.25,
|
|
"Plan Rows": 31769,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.008,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.018,
|
|
"Triggers": [],
|
|
"Execution Time": 0.015
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 7.59,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.009,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "research_history_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 4469.25,
|
|
"Plan Rows": 31769,
|
|
"Plan Width": 79,
|
|
"Actual Startup Time": 0.005,
|
|
"Actual Total Time": 0.007,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = '060a8703-6b43-c8ec-2d06-19c37cea7cc6'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.060001+00'::timestamp with time zone, '0fab29a1-8114-0c41-9ba5-e76265126fad'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Shared Hit Blocks": 4,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 0,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.014,
|
|
"Triggers": [],
|
|
"Execution Time": 0.013
|
|
}
|
|
],
|
|
"index_bytes_before_write": 5914624,
|
|
"insert_rows": 5000,
|
|
"insert_commit_seconds": 0.044263787975069135,
|
|
"insert_wal_bytes": 1776184
|
|
}
|
|
],
|
|
"source": {
|
|
"counts": {
|
|
"users": 1,
|
|
"chats": 10,
|
|
"members": 10,
|
|
"messages": 100000,
|
|
"sessions": 0
|
|
},
|
|
"selected_messages": [
|
|
{
|
|
"id": "0001c838-5e9c-14fa-e2db-7c365f0ae786",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 43725",
|
|
"created_at": "2026-01-01T00:00:00.043725Z"
|
|
},
|
|
{
|
|
"id": "0001ea52-19f7-e431-413f-0c7139722585",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 74222",
|
|
"created_at": "2026-01-01T00:00:00.074222Z"
|
|
},
|
|
{
|
|
"id": "0002690d-1e03-106c-bbf1-a5635d6866a2",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 45096",
|
|
"created_at": "2026-01-01T00:00:00.045096Z"
|
|
},
|
|
{
|
|
"id": "000382ad-035f-a00d-2626-5071a98ea252",
|
|
"chat_id": "4ee2f816-af67-7a81-db08-55449a8a8b1d",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 96416",
|
|
"created_at": "2026-01-01T00:00:00.096416Z"
|
|
},
|
|
{
|
|
"id": "0003f0ad-267d-0989-230b-9afad60d8ee1",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 62083",
|
|
"created_at": "2026-01-01T00:00:00.062083Z"
|
|
},
|
|
{
|
|
"id": "000431a5-0a5e-5dbc-66fe-12db7c90ee98",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 51664",
|
|
"created_at": "2026-01-01T00:00:00.051664Z"
|
|
},
|
|
{
|
|
"id": "000558ac-913e-8af5-9b02-6f43f24c5262",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 60983",
|
|
"created_at": "2026-01-01T00:00:00.060983Z"
|
|
},
|
|
{
|
|
"id": "00059db6-e524-2a26-f1ab-1d8b36afe630",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 74554",
|
|
"created_at": "2026-01-01T00:00:00.074554Z"
|
|
},
|
|
{
|
|
"id": "00068ff1-993e-b7d9-0f59-b398c30d5030",
|
|
"chat_id": "74759bde-90bd-1299-910a-c12fb97f240c",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 85967",
|
|
"created_at": "2026-01-01T00:00:00.085967Z"
|
|
},
|
|
{
|
|
"id": "00079ee2-eddc-0b99-6e0a-2f375b9a1bdb",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 58302",
|
|
"created_at": "2026-01-01T00:00:00.058302Z"
|
|
},
|
|
{
|
|
"id": "0008ff04-8527-3c76-2d9f-e3b3ef0c20e2",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 23016",
|
|
"created_at": "2026-01-01T00:00:00.023016Z"
|
|
},
|
|
{
|
|
"id": "000b0253-f22c-5726-67f5-ae519b1d26dd",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 50802",
|
|
"created_at": "2026-01-01T00:00:00.050802Z"
|
|
},
|
|
{
|
|
"id": "000b94c5-153c-f40a-4874-4f6c78ed7fa9",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 7605",
|
|
"created_at": "2026-01-01T00:00:00.007605Z"
|
|
},
|
|
{
|
|
"id": "000edd5d-a77f-c43e-c7a5-ebb5f9bc3905",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 45088",
|
|
"created_at": "2026-01-01T00:00:00.045088Z"
|
|
},
|
|
{
|
|
"id": "000f3463-de32-9201-cd60-970b5136d545",
|
|
"chat_id": "74759bde-90bd-1299-910a-c12fb97f240c",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 82888",
|
|
"created_at": "2026-01-01T00:00:00.082888Z"
|
|
},
|
|
{
|
|
"id": "000f4812-9b9c-bfdd-7196-c1ef4137fb21",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 9508",
|
|
"created_at": "2026-01-01T00:00:00.009508Z"
|
|
},
|
|
{
|
|
"id": "0010430a-d643-d35c-094c-9ee2c45ecc6c",
|
|
"chat_id": "74759bde-90bd-1299-910a-c12fb97f240c",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 92891",
|
|
"created_at": "2026-01-01T00:00:00.092891Z"
|
|
},
|
|
{
|
|
"id": "0010f665-722c-c8aa-4944-b145d4b5e62a",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 64562",
|
|
"created_at": "2026-01-01T00:00:00.064562Z"
|
|
},
|
|
{
|
|
"id": "0010fd72-2923-a69b-774f-41af302572c5",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 15470",
|
|
"created_at": "2026-01-01T00:00:00.015470Z"
|
|
},
|
|
{
|
|
"id": "00111c28-69ff-b0d7-6e48-c882d71b1918",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 46574",
|
|
"created_at": "2026-01-01T00:00:00.046574Z"
|
|
}
|
|
],
|
|
"all_messages_md5": "a6ff16d742640cf27df36d74f39a07bd"
|
|
}
|
|
},
|
|
"backup": {
|
|
"seconds": 0.26255995797691867,
|
|
"bytes": 3003381,
|
|
"sha256": "65a19c5800192724c7e342a18a0b73d8ae78f243d1ab6c9dd40c17e32fc62f63"
|
|
},
|
|
"restore": {
|
|
"seconds": 0.36899566696956754
|
|
},
|
|
"verification": {
|
|
"equal": true,
|
|
"restored": {
|
|
"counts": {
|
|
"users": 1,
|
|
"chats": 10,
|
|
"members": 10,
|
|
"messages": 100000,
|
|
"sessions": 0
|
|
},
|
|
"selected_messages": [
|
|
{
|
|
"id": "0001c838-5e9c-14fa-e2db-7c365f0ae786",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 43725",
|
|
"created_at": "2026-01-01T00:00:00.043725Z"
|
|
},
|
|
{
|
|
"id": "0001ea52-19f7-e431-413f-0c7139722585",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 74222",
|
|
"created_at": "2026-01-01T00:00:00.074222Z"
|
|
},
|
|
{
|
|
"id": "0002690d-1e03-106c-bbf1-a5635d6866a2",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 45096",
|
|
"created_at": "2026-01-01T00:00:00.045096Z"
|
|
},
|
|
{
|
|
"id": "000382ad-035f-a00d-2626-5071a98ea252",
|
|
"chat_id": "4ee2f816-af67-7a81-db08-55449a8a8b1d",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 96416",
|
|
"created_at": "2026-01-01T00:00:00.096416Z"
|
|
},
|
|
{
|
|
"id": "0003f0ad-267d-0989-230b-9afad60d8ee1",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 62083",
|
|
"created_at": "2026-01-01T00:00:00.062083Z"
|
|
},
|
|
{
|
|
"id": "000431a5-0a5e-5dbc-66fe-12db7c90ee98",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 51664",
|
|
"created_at": "2026-01-01T00:00:00.051664Z"
|
|
},
|
|
{
|
|
"id": "000558ac-913e-8af5-9b02-6f43f24c5262",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 60983",
|
|
"created_at": "2026-01-01T00:00:00.060983Z"
|
|
},
|
|
{
|
|
"id": "00059db6-e524-2a26-f1ab-1d8b36afe630",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 74554",
|
|
"created_at": "2026-01-01T00:00:00.074554Z"
|
|
},
|
|
{
|
|
"id": "00068ff1-993e-b7d9-0f59-b398c30d5030",
|
|
"chat_id": "74759bde-90bd-1299-910a-c12fb97f240c",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 85967",
|
|
"created_at": "2026-01-01T00:00:00.085967Z"
|
|
},
|
|
{
|
|
"id": "00079ee2-eddc-0b99-6e0a-2f375b9a1bdb",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 58302",
|
|
"created_at": "2026-01-01T00:00:00.058302Z"
|
|
},
|
|
{
|
|
"id": "0008ff04-8527-3c76-2d9f-e3b3ef0c20e2",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 23016",
|
|
"created_at": "2026-01-01T00:00:00.023016Z"
|
|
},
|
|
{
|
|
"id": "000b0253-f22c-5726-67f5-ae519b1d26dd",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 50802",
|
|
"created_at": "2026-01-01T00:00:00.050802Z"
|
|
},
|
|
{
|
|
"id": "000b94c5-153c-f40a-4874-4f6c78ed7fa9",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 7605",
|
|
"created_at": "2026-01-01T00:00:00.007605Z"
|
|
},
|
|
{
|
|
"id": "000edd5d-a77f-c43e-c7a5-ebb5f9bc3905",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 45088",
|
|
"created_at": "2026-01-01T00:00:00.045088Z"
|
|
},
|
|
{
|
|
"id": "000f3463-de32-9201-cd60-970b5136d545",
|
|
"chat_id": "74759bde-90bd-1299-910a-c12fb97f240c",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 82888",
|
|
"created_at": "2026-01-01T00:00:00.082888Z"
|
|
},
|
|
{
|
|
"id": "000f4812-9b9c-bfdd-7196-c1ef4137fb21",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 9508",
|
|
"created_at": "2026-01-01T00:00:00.009508Z"
|
|
},
|
|
{
|
|
"id": "0010430a-d643-d35c-094c-9ee2c45ecc6c",
|
|
"chat_id": "74759bde-90bd-1299-910a-c12fb97f240c",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 92891",
|
|
"created_at": "2026-01-01T00:00:00.092891Z"
|
|
},
|
|
{
|
|
"id": "0010f665-722c-c8aa-4944-b145d4b5e62a",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 64562",
|
|
"created_at": "2026-01-01T00:00:00.064562Z"
|
|
},
|
|
{
|
|
"id": "0010fd72-2923-a69b-774f-41af302572c5",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 15470",
|
|
"created_at": "2026-01-01T00:00:00.015470Z"
|
|
},
|
|
{
|
|
"id": "00111c28-69ff-b0d7-6e48-c882d71b1918",
|
|
"chat_id": "060a8703-6b43-c8ec-2d06-19c37cea7cc6",
|
|
"sender_id": "55898af9-a840-7b34-688e-1debc76c4318",
|
|
"text": "synthetic message 46574",
|
|
"created_at": "2026-01-01T00:00:00.046574Z"
|
|
}
|
|
],
|
|
"all_messages_md5": "a6ff16d742640cf27df36d74f39a07bd"
|
|
}
|
|
},
|
|
"summary": {
|
|
"chat_only": {
|
|
"sql_execution_median_ms": 3.433,
|
|
"insert_5000_median_seconds": 0.049711717991158366,
|
|
"index_bytes": 720896,
|
|
"insert_wal_median_bytes": 1408792
|
|
},
|
|
"composite": {
|
|
"sql_execution_median_ms": 0.013,
|
|
"insert_5000_median_seconds": 0.039442461042199284,
|
|
"index_bytes": 5914624,
|
|
"insert_wal_median_bytes": 1776184
|
|
}
|
|
},
|
|
"status": "PASS",
|
|
"cleanup": {
|
|
"removed_only": [
|
|
"research_fe54d4a9ba9c",
|
|
"restored_fe54d4a9ba9c"
|
|
]
|
|
}
|
|
}
|