forked from mtusi2026/mtusi2026lab2
801 lines
25 KiB
JSON
801 lines
25 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": 55.017,
|
|
"Actual Total Time": 55.018,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 50414,
|
|
"Shared Read Blocks": 2,
|
|
"Shared Dirtied Blocks": 336,
|
|
"Shared Written Blocks": 336,
|
|
"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": 30188,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 3897536,
|
|
"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.671,
|
|
"Actual Total Time": 5.489,
|
|
"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.082,
|
|
"Actual Total Time": 1.455,
|
|
"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.542,
|
|
"Triggers": [],
|
|
"Execution Time": 55.332
|
|
},
|
|
{
|
|
"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": 54.228,
|
|
"Actual Total Time": 54.23,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 50414,
|
|
"Shared Read Blocks": 2,
|
|
"Shared Dirtied Blocks": 336,
|
|
"Shared Written Blocks": 336,
|
|
"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": 30188,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 3897536,
|
|
"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.845,
|
|
"Actual Total Time": 5.474,
|
|
"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.022,
|
|
"Actual Total Time": 1.317,
|
|
"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.427,
|
|
"Triggers": [],
|
|
"Execution Time": 54.593
|
|
},
|
|
{
|
|
"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": 46.811,
|
|
"Actual Total Time": 46.812,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 50413,
|
|
"Shared Read Blocks": 2,
|
|
"Shared Dirtied Blocks": 336,
|
|
"Shared Written Blocks": 336,
|
|
"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": 30188,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 3897536,
|
|
"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.178,
|
|
"Actual Total Time": 5.114,
|
|
"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.017,
|
|
"Actual Total Time": 1.353,
|
|
"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.305,
|
|
"Triggers": [],
|
|
"Execution Time": 47.249
|
|
},
|
|
{
|
|
"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": 52.45,
|
|
"Actual Total Time": 52.452,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 50414,
|
|
"Shared Read Blocks": 2,
|
|
"Shared Dirtied Blocks": 336,
|
|
"Shared Written Blocks": 336,
|
|
"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": 30188,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 3897536,
|
|
"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.163,
|
|
"Actual Total Time": 4.827,
|
|
"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.02,
|
|
"Actual Total Time": 1.184,
|
|
"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.329,
|
|
"Triggers": [],
|
|
"Execution Time": 52.772
|
|
},
|
|
{
|
|
"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": 67.771,
|
|
"Actual Total Time": 67.773,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 50414,
|
|
"Shared Read Blocks": 2,
|
|
"Shared Dirtied Blocks": 336,
|
|
"Shared Written Blocks": 336,
|
|
"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": 30188,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 3897536,
|
|
"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": 6.878,
|
|
"Actual Total Time": 7.724,
|
|
"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.03,
|
|
"Actual Total Time": 1.734,
|
|
"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.545,
|
|
"Triggers": [],
|
|
"Execution Time": 68.123
|
|
},
|
|
{
|
|
"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": 49.711,
|
|
"Actual Total Time": 49.713,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 50414,
|
|
"Shared Read Blocks": 2,
|
|
"Shared Dirtied Blocks": 336,
|
|
"Shared Written Blocks": 336,
|
|
"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": 30188,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 3897536,
|
|
"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.595,
|
|
"Actual Total Time": 5.392,
|
|
"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.017,
|
|
"Actual Total Time": 1.399,
|
|
"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.347,
|
|
"Triggers": [],
|
|
"Execution Time": 50.048
|
|
},
|
|
{
|
|
"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": 53.561,
|
|
"Actual Total Time": 53.562,
|
|
"Actual Rows": 0,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 50414,
|
|
"Shared Read Blocks": 2,
|
|
"Shared Dirtied Blocks": 336,
|
|
"Shared Written Blocks": 336,
|
|
"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": 30188,
|
|
"WAL FPI": 0,
|
|
"WAL Bytes": 3897536,
|
|
"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.592,
|
|
"Actual Total Time": 5.291,
|
|
"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.017,
|
|
"Actual Total Time": 1.23,
|
|
"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.297,
|
|
"Triggers": [],
|
|
"Execution Time": 53.906
|
|
}
|
|
]
|