forked from mtusi2026/mtusi2026lab2
79 lines
2.3 KiB
JSON
79 lines
2.3 KiB
JSON
[
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 10.93,
|
|
"Plan Rows": 51,
|
|
"Plan Width": 71,
|
|
"Actual Startup Time": 0.031,
|
|
"Actual Total Time": 0.037,
|
|
"Actual Rows": 51.00,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 1,
|
|
"Shared Read Blocks": 3,
|
|
"Shared Dirtied Blocks": 0,
|
|
"Shared Written Blocks": 0,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Index Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "messages_history",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 5761.96,
|
|
"Plan Rows": 27952,
|
|
"Plan Width": 71,
|
|
"Actual Startup Time": 0.030,
|
|
"Actual Total Time": 0.034,
|
|
"Actual Rows": 51.00,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Index Cond": "((chat_id = 'd5f6496b-22d2-4d83-9840-843c175d2196'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:00.07+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Index Searches": 1,
|
|
"Shared Hit Blocks": 1,
|
|
"Shared Read Blocks": 3,
|
|
"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": 112,
|
|
"Shared Read Blocks": 1,
|
|
"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.276,
|
|
"Triggers": [
|
|
],
|
|
"Execution Time": 0.072
|
|
}
|
|
]
|