forked from mtusi2026/mtusi2026lab2
75 lines
2.1 KiB
JSON
75 lines
2.1 KiB
JSON
[
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 0.29,
|
|
"Total Cost": 8.11,
|
|
"Plan Rows": 101,
|
|
"Plan Width": 77,
|
|
"Actual Startup Time": 0.013,
|
|
"Actual Total Time": 0.022,
|
|
"Actual Rows": 101,
|
|
"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": "idx_messages_chat_id_created_at_id",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.29,
|
|
"Total Cost": 1549.43,
|
|
"Plan Rows": 20001,
|
|
"Plan Width": 77,
|
|
"Actual Startup Time": 0.012,
|
|
"Actual Total Time": 0.017,
|
|
"Actual Rows": 101,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "(chat_id = 'e6a45519-82bb-44d1-9c50-60d6694ddbb6'::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": 107,
|
|
"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.248,
|
|
"Triggers": [],
|
|
"Execution Time": 0.04
|
|
}
|
|
]
|