forked from mtusi2026/mtusi2026lab2
80 lines
2.5 KiB
JSON
80 lines
2.5 KiB
JSON
{
|
|
"dataset_messages": 12000,
|
|
"cursor_position": 10001,
|
|
"page_size_with_lookahead": 51,
|
|
"plan": [
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.29,
|
|
"Total Cost": 9.88,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 69,
|
|
"Actual Startup Time": 0.034,
|
|
"Actual Total Time": 0.07,
|
|
"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": "messages_history",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.29,
|
|
"Total Cost": 376.82,
|
|
"Plan Rows": 2002,
|
|
"Plan Width": 69,
|
|
"Actual Startup Time": 0.031,
|
|
"Actual Total Time": 0.055,
|
|
"Actual Rows": 51,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "((chat_id = 'eae5d1d7-e003-4d8c-a4c1-f37ad80710a2'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.010001+00'::timestamp with time zone, 'f0612713-b9fe-4956-aa1c-cf82a0a2b6d1'::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": 6,
|
|
"Shared Read Blocks": 0,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0
|
|
},
|
|
"Planning Time": 0.444,
|
|
"Triggers": [],
|
|
"Execution Time": 0.278
|
|
}
|
|
]
|
|
}
|