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": 34.21,
|
|
"Actual Total Time": 34.216,
|
|
"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": 4.324,
|
|
"Actual Total Time": 4.963,
|
|
"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.013,
|
|
"Actual Total Time": 1.075,
|
|
"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.454,
|
|
"Triggers": [],
|
|
"Execution Time": 34.665
|
|
},
|
|
{
|
|
"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": 29.623,
|
|
"Actual Total Time": 29.625,
|
|
"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.701,
|
|
"Actual Total Time": 4.238,
|
|
"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.008,
|
|
"Actual Total Time": 1.034,
|
|
"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.31,
|
|
"Triggers": [],
|
|
"Execution Time": 29.941
|
|
},
|
|
{
|
|
"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": 29.516,
|
|
"Actual Total Time": 29.518,
|
|
"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.747,
|
|
"Actual Total Time": 4.498,
|
|
"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.008,
|
|
"Actual Total Time": 0.981,
|
|
"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.361,
|
|
"Triggers": [],
|
|
"Execution Time": 29.819
|
|
},
|
|
{
|
|
"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": 30.81,
|
|
"Actual Total Time": 30.813,
|
|
"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": 4.067,
|
|
"Actual Total Time": 4.764,
|
|
"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.008,
|
|
"Actual Total Time": 1.032,
|
|
"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.331,
|
|
"Triggers": [],
|
|
"Execution Time": 31.182
|
|
},
|
|
{
|
|
"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.815,
|
|
"Actual Total Time": 34.816,
|
|
"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": 4.122,
|
|
"Actual Total Time": 4.729,
|
|
"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.008,
|
|
"Actual Total Time": 1.092,
|
|
"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.362,
|
|
"Triggers": [],
|
|
"Execution Time": 35.201
|
|
},
|
|
{
|
|
"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": 33.066,
|
|
"Actual Total Time": 33.068,
|
|
"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.997,
|
|
"Actual Total Time": 4.545,
|
|
"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.008,
|
|
"Actual Total Time": 0.946,
|
|
"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.372,
|
|
"Triggers": [],
|
|
"Execution Time": 33.364
|
|
},
|
|
{
|
|
"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": 29.243,
|
|
"Actual Total Time": 29.246,
|
|
"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.647,
|
|
"Actual Total Time": 4.152,
|
|
"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.008,
|
|
"Actual Total Time": 1.014,
|
|
"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.303,
|
|
"Triggers": [],
|
|
"Execution Time": 29.573
|
|
}
|
|
]
|