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": 907.39,
|
|
"Total Cost": 932.39,
|
|
"Plan Rows": 0,
|
|
"Plan Width": 0,
|
|
"Actual Startup Time": 52.204,
|
|
"Actual Total Time": 52.208,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 50217,
|
|
"Shared Read Blocks": 2,
|
|
"Shared Dirtied Blocks": 269,
|
|
"Shared Written Blocks": 269,
|
|
"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": 30121,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 3343720,
|
|
"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.989,
|
|
"Actual Total Time": 4.975,
|
|
"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.015,
|
|
"Actual Total Time": 0.874,
|
|
"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.299,
|
|
"Triggers": [],
|
|
"Execution Time": 52.544
|
|
},
|
|
{
|
|
"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": 48.414,
|
|
"Actual Total Time": 48.415,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 50217,
|
|
"Shared Read Blocks": 2,
|
|
"Shared Dirtied Blocks": 269,
|
|
"Shared Written Blocks": 269,
|
|
"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": 30121,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 3343720,
|
|
"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.824,
|
|
"Actual Total Time": 5.725,
|
|
"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.017,
|
|
"Actual Total Time": 1.015,
|
|
"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.296,
|
|
"Triggers": [],
|
|
"Execution Time": 48.76
|
|
},
|
|
{
|
|
"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": 49.348,
|
|
"Actual Total Time": 49.35,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 50217,
|
|
"Shared Read Blocks": 2,
|
|
"Shared Dirtied Blocks": 269,
|
|
"Shared Written Blocks": 269,
|
|
"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": 30121,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 3343720,
|
|
"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.756,
|
|
"Actual Total Time": 4.647,
|
|
"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.017,
|
|
"Actual Total Time": 0.877,
|
|
"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.311,
|
|
"Triggers": [],
|
|
"Execution Time": 50.063
|
|
},
|
|
{
|
|
"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": 43.243,
|
|
"Actual Total Time": 43.245,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 50217,
|
|
"Shared Read Blocks": 2,
|
|
"Shared Dirtied Blocks": 269,
|
|
"Shared Written Blocks": 269,
|
|
"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": 30121,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 3343720,
|
|
"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.984,
|
|
"Actual Total Time": 4.734,
|
|
"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": 0.886,
|
|
"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.321,
|
|
"Triggers": [],
|
|
"Execution Time": 43.652
|
|
},
|
|
{
|
|
"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": 43.769,
|
|
"Actual Total Time": 43.771,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 50217,
|
|
"Shared Read Blocks": 2,
|
|
"Shared Dirtied Blocks": 269,
|
|
"Shared Written Blocks": 269,
|
|
"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": 30121,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 3343720,
|
|
"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.701,
|
|
"Actual Total Time": 4.376,
|
|
"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.015,
|
|
"Actual Total Time": 0.943,
|
|
"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.297,
|
|
"Triggers": [],
|
|
"Execution Time": 44.132
|
|
},
|
|
{
|
|
"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": 61.93,
|
|
"Actual Total Time": 61.932,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 50217,
|
|
"Shared Read Blocks": 2,
|
|
"Shared Dirtied Blocks": 269,
|
|
"Shared Written Blocks": 269,
|
|
"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": 30121,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 3343720,
|
|
"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.563,
|
|
"Actual Total Time": 4.507,
|
|
"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": 0.8,
|
|
"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.33,
|
|
"Triggers": [],
|
|
"Execution Time": 62.255
|
|
},
|
|
{
|
|
"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": 47.142,
|
|
"Actual Total Time": 47.146,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 50217,
|
|
"Shared Read Blocks": 2,
|
|
"Shared Dirtied Blocks": 269,
|
|
"Shared Written Blocks": 269,
|
|
"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": 30121,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 3343720,
|
|
"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.688,
|
|
"Actual Total Time": 4.426,
|
|
"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.017,
|
|
"Actual Total Time": 0.835,
|
|
"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.449,
|
|
"Triggers": [],
|
|
"Execution Time": 47.509
|
|
}
|
|
]
|