forked from mtusi2026/mtusi2026lab2
801 lines
24 KiB
JSON
801 lines
24 KiB
JSON
[
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "write_bench",
|
|
"Alias": "write_bench",
|
|
"Startup Cost": 1248.0,
|
|
"Total Cost": 1281.6,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 31.167,
|
|
"Actual Total Time": 31.169,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 30326,
|
|
"Shared Read Blocks": 1,
|
|
"Shared Dirtied Blocks": 195,
|
|
"Shared Written Blocks": 196,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 20049,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 2319396,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 1248.0,
|
|
"Total Cost": 1281.6,
|
|
"Plan Rows": 13440,
|
|
"Plan Width": 88,
|
|
"Actual Startup Time": 3.841,
|
|
"Actual Total Time": 4.476,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 1,
|
|
"Sort Key": [
|
|
"write_input.chat_id",
|
|
"write_input.created_at",
|
|
"write_input.id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 1478,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 198,
|
|
"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,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "write_input",
|
|
"Alias": "write_input",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 326.4,
|
|
"Plan Rows": 13440,
|
|
"Plan Width": 88,
|
|
"Actual Startup Time": 0.018,
|
|
"Actual Total Time": 1.038,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 192,
|
|
"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,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 51,
|
|
"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.33,
|
|
"Triggers": [],
|
|
"Execution Time": 31.466
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "write_bench",
|
|
"Alias": "write_bench",
|
|
"Startup Cost": 1248.0,
|
|
"Total Cost": 1281.6,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 34.017,
|
|
"Actual Total Time": 34.019,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 30326,
|
|
"Shared Read Blocks": 1,
|
|
"Shared Dirtied Blocks": 195,
|
|
"Shared Written Blocks": 196,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 20049,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 2319396,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 1248.0,
|
|
"Total Cost": 1281.6,
|
|
"Plan Rows": 13440,
|
|
"Plan Width": 88,
|
|
"Actual Startup Time": 3.711,
|
|
"Actual Total Time": 4.398,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 1,
|
|
"Sort Key": [
|
|
"write_input.chat_id",
|
|
"write_input.created_at",
|
|
"write_input.id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 1478,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 198,
|
|
"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,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "write_input",
|
|
"Alias": "write_input",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 326.4,
|
|
"Plan Rows": 13440,
|
|
"Plan Width": 88,
|
|
"Actual Startup Time": 0.015,
|
|
"Actual Total Time": 1.009,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 192,
|
|
"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,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 51,
|
|
"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.275,
|
|
"Triggers": [],
|
|
"Execution Time": 34.365
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "write_bench",
|
|
"Alias": "write_bench",
|
|
"Startup Cost": 907.39,
|
|
"Total Cost": 932.39,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 32.233,
|
|
"Actual Total Time": 32.235,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 30277,
|
|
"Shared Read Blocks": 1,
|
|
"Shared Dirtied Blocks": 195,
|
|
"Shared Written Blocks": 196,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 20049,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 2319396,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 907.39,
|
|
"Total Cost": 932.39,
|
|
"Plan Rows": 10000,
|
|
"Plan Width": 85,
|
|
"Actual Startup Time": 3.418,
|
|
"Actual Total Time": 4.196,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 1,
|
|
"Sort Key": [
|
|
"write_input.chat_id",
|
|
"write_input.created_at",
|
|
"write_input.id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 1478,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 149,
|
|
"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,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "write_input",
|
|
"Alias": "write_input",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 243.0,
|
|
"Plan Rows": 10000,
|
|
"Plan Width": 85,
|
|
"Actual Startup Time": 0.014,
|
|
"Actual Total Time": 0.792,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 143,
|
|
"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,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 53,
|
|
"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.322,
|
|
"Triggers": [],
|
|
"Execution Time": 32.743
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "write_bench",
|
|
"Alias": "write_bench",
|
|
"Startup Cost": 907.39,
|
|
"Total Cost": 932.39,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 35.568,
|
|
"Actual Total Time": 35.569,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 30277,
|
|
"Shared Read Blocks": 1,
|
|
"Shared Dirtied Blocks": 195,
|
|
"Shared Written Blocks": 196,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 20049,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 2319396,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 907.39,
|
|
"Total Cost": 932.39,
|
|
"Plan Rows": 10000,
|
|
"Plan Width": 85,
|
|
"Actual Startup Time": 4.0,
|
|
"Actual Total Time": 4.813,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 1,
|
|
"Sort Key": [
|
|
"write_input.chat_id",
|
|
"write_input.created_at",
|
|
"write_input.id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 1478,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 149,
|
|
"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,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "write_input",
|
|
"Alias": "write_input",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 243.0,
|
|
"Plan Rows": 10000,
|
|
"Plan Width": 85,
|
|
"Actual Startup Time": 0.02,
|
|
"Actual Total Time": 0.889,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 143,
|
|
"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,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 53,
|
|
"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.286,
|
|
"Triggers": [],
|
|
"Execution Time": 35.912
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "write_bench",
|
|
"Alias": "write_bench",
|
|
"Startup Cost": 907.39,
|
|
"Total Cost": 932.39,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 32.215,
|
|
"Actual Total Time": 32.216,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 30277,
|
|
"Shared Read Blocks": 1,
|
|
"Shared Dirtied Blocks": 195,
|
|
"Shared Written Blocks": 196,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 20049,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 2319396,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 907.39,
|
|
"Total Cost": 932.39,
|
|
"Plan Rows": 10000,
|
|
"Plan Width": 85,
|
|
"Actual Startup Time": 4.242,
|
|
"Actual Total Time": 5.036,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 1,
|
|
"Sort Key": [
|
|
"write_input.chat_id",
|
|
"write_input.created_at",
|
|
"write_input.id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 1478,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 149,
|
|
"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,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "write_input",
|
|
"Alias": "write_input",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 243.0,
|
|
"Plan Rows": 10000,
|
|
"Plan Width": 85,
|
|
"Actual Startup Time": 0.019,
|
|
"Actual Total Time": 0.967,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 143,
|
|
"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,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 53,
|
|
"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.493,
|
|
"Triggers": [],
|
|
"Execution Time": 32.565
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "write_bench",
|
|
"Alias": "write_bench",
|
|
"Startup Cost": 907.39,
|
|
"Total Cost": 932.39,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 33.892,
|
|
"Actual Total Time": 33.895,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 30277,
|
|
"Shared Read Blocks": 1,
|
|
"Shared Dirtied Blocks": 195,
|
|
"Shared Written Blocks": 196,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 20049,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 2319396,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 907.39,
|
|
"Total Cost": 932.39,
|
|
"Plan Rows": 10000,
|
|
"Plan Width": 85,
|
|
"Actual Startup Time": 4.097,
|
|
"Actual Total Time": 5.018,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 1,
|
|
"Sort Key": [
|
|
"write_input.chat_id",
|
|
"write_input.created_at",
|
|
"write_input.id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 1478,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 149,
|
|
"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,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "write_input",
|
|
"Alias": "write_input",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 243.0,
|
|
"Plan Rows": 10000,
|
|
"Plan Width": 85,
|
|
"Actual Startup Time": 0.016,
|
|
"Actual Total Time": 1.012,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 143,
|
|
"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,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 53,
|
|
"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.315,
|
|
"Triggers": [],
|
|
"Execution Time": 34.362
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "ModifyTable",
|
|
"Operation": "Insert",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "write_bench",
|
|
"Alias": "write_bench",
|
|
"Startup Cost": 907.39,
|
|
"Total Cost": 932.39,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 35.442,
|
|
"Actual Total Time": 35.444,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 30277,
|
|
"Shared Read Blocks": 1,
|
|
"Shared Dirtied Blocks": 195,
|
|
"Shared Written Blocks": 196,
|
|
"Local Hit Blocks": 0,
|
|
"Local Read Blocks": 0,
|
|
"Local Dirtied Blocks": 0,
|
|
"Local Written Blocks": 0,
|
|
"Temp Read Blocks": 0,
|
|
"Temp Written Blocks": 0,
|
|
"WAL Records": 20049,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 2319396,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Sort",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 907.39,
|
|
"Total Cost": 932.39,
|
|
"Plan Rows": 10000,
|
|
"Plan Width": 85,
|
|
"Actual Startup Time": 4.514,
|
|
"Actual Total Time": 5.261,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 1,
|
|
"Sort Key": [
|
|
"write_input.chat_id",
|
|
"write_input.created_at",
|
|
"write_input.id"
|
|
],
|
|
"Sort Method": "quicksort",
|
|
"Sort Space Used": 1478,
|
|
"Sort Space Type": "Memory",
|
|
"Shared Hit Blocks": 149,
|
|
"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,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0,
|
|
"Plans": [
|
|
{
|
|
"Node Type": "Seq Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Relation Name": "write_input",
|
|
"Alias": "write_input",
|
|
"Startup Cost": 0.0,
|
|
"Total Cost": 243.0,
|
|
"Plan Rows": 10000,
|
|
"Plan Width": 85,
|
|
"Actual Startup Time": 0.018,
|
|
"Actual Total Time": 1.072,
|
|
"Actual Rows": 10000,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 143,
|
|
"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,
|
|
"WAL Records": 0,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Planning": {
|
|
"Shared Hit Blocks": 53,
|
|
"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.366,
|
|
"Triggers": [],
|
|
"Execution Time": 35.797
|
|
}
|
|
]
|