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.310,
|
|
"Actual Total Time": 5.310,
|
|
"Actual Rows": 0.00,
|
|
"Actual Loops": 1,
|
|
"Disabled": false,
|
|
"Shared Hit Blocks": 6083,
|
|
"Shared Read Blocks": 2,
|
|
"Shared Dirtied Blocks": 18,
|
|
"Shared Written Blocks": 16,
|
|
"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.077,
|
|
"Actual Total Time": 1.233,
|
|
"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.076,
|
|
"Actual Total Time": 1.121,
|
|
"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.102,
|
|
"Triggers": [
|
|
{
|
|
"Trigger Name": "RI_ConstraintTrigger_c_16467",
|
|
"Constraint Name": "messages_chat_id_fkey",
|
|
"Relation": "messages",
|
|
"Time": 3.453,
|
|
"Calls": 1000
|
|
},
|
|
{
|
|
"Trigger Name": "RI_ConstraintTrigger_c_16472",
|
|
"Constraint Name": "messages_sender_id_fkey",
|
|
"Relation": "messages",
|
|
"Time": 3.728,
|
|
"Calls": 1000
|
|
},
|
|
{
|
|
"Trigger Name": "RI_ConstraintTrigger_c_16477",
|
|
"Constraint Name": "messages_chat_id_sender_id_fkey",
|
|
"Relation": "messages",
|
|
"Time": 3.594,
|
|
"Calls": 1000
|
|
}
|
|
],
|
|
"Execution Time": 16.243
|
|
}
|
|
]
|