forked from mtusi2026/mtusi2026lab2
126 lines
3.6 KiB
JSON
126 lines
3.6 KiB
JSON
[
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.00,
|
|
"Total Cost": 32.50,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 5.299,
|
|
"Actual Total Time": 5.299,
|
|
"Actual Rows": 0.00,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 5142,
|
|
"Shared Read Blocks": 2,
|
|
"Shared Dirtied Blocks": 26,
|
|
"Shared Written Blocks": 24,
|
|
"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": "Subquery Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Alias": "*SELECT*",
|
|
"Startup Cost": 0.00,
|
|
"Total Cost": 32.50,
|
|
"Plan Rows": 1000,
|
|
"Plan Width": 88,
|
|
"Actual Startup Time": 0.054,
|
|
"Actual Total Time": 1.217,
|
|
"Actual Rows": 1000.00,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"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,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Function Scan",
|
|
"Parent Relationship": "Subquery",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Function Name": "generate_series",
|
|
"Alias": "i",
|
|
"Startup Cost": 0.00,
|
|
"Total Cost": 20.00,
|
|
"Plan Rows": 1000,
|
|
"Plan Width": 112,
|
|
"Actual Startup Time": 0.054,
|
|
"Actual Total Time": 1.104,
|
|
"Actual Rows": 1000.00,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"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": {
|
|
"Shared Hit Blocks": 24,
|
|
"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.098,
|
|
"Triggers": [
|
|
{
|
|
"Trigger Name": "RI_ConstraintTrigger_c_16467",
|
|
"Constraint Name": "messages_chat_id_fkey",
|
|
"Relation": "messages",
|
|
"Time": 3.547,
|
|
"Calls": 1000
|
|
},
|
|
{
|
|
"Trigger Name": "RI_ConstraintTrigger_c_16472",
|
|
"Constraint Name": "messages_sender_id_fkey",
|
|
"Relation": "messages",
|
|
"Time": 3.867,
|
|
"Calls": 1000
|
|
},
|
|
{
|
|
"Trigger Name": "RI_ConstraintTrigger_c_16477",
|
|
"Constraint Name": "messages_chat_id_sender_id_fkey",
|
|
"Relation": "messages",
|
|
"Time": 3.739,
|
|
"Calls": 1000
|
|
}
|
|
],
|
|
"Execution Time": 16.610
|
|
}
|
|
]
|