forked from mtusi2026/mtusi2026lab2
514 lines
16 KiB
JSON
514 lines
16 KiB
JSON
[
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 983.48,
|
|
"Total Cost": 987.12,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 24.314,
|
|
"Actual Total Time": 24.326,
|
|
"Actual Rows": 50,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 190,
|
|
"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": "Index Only Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "messages_history_covering_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 1095.62,
|
|
"Plan Rows": 15040,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 11.675,
|
|
"Actual Total Time": 23.808,
|
|
"Actual Rows": 13550,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Heap Fetches": 0,
|
|
"Shared Hit Blocks": 190,
|
|
"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": 113,
|
|
"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.53,
|
|
"Triggers": [],
|
|
"Execution Time": 24.377
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 983.48,
|
|
"Total Cost": 987.12,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 10.681,
|
|
"Actual Total Time": 10.693,
|
|
"Actual Rows": 50,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 190,
|
|
"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": "Index Only Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "messages_history_covering_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 1095.62,
|
|
"Plan Rows": 15040,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.063,
|
|
"Actual Total Time": 10.016,
|
|
"Actual Rows": 13550,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Heap Fetches": 0,
|
|
"Shared Hit Blocks": 190,
|
|
"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": 113,
|
|
"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.475,
|
|
"Triggers": [],
|
|
"Execution Time": 10.746
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 983.48,
|
|
"Total Cost": 987.12,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 2.789,
|
|
"Actual Total Time": 2.801,
|
|
"Actual Rows": 50,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 190,
|
|
"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": "Index Only Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "messages_history_covering_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 1095.62,
|
|
"Plan Rows": 15040,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.104,
|
|
"Actual Total Time": 2.291,
|
|
"Actual Rows": 13550,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Heap Fetches": 0,
|
|
"Shared Hit Blocks": 190,
|
|
"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": 113,
|
|
"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.687,
|
|
"Triggers": [],
|
|
"Execution Time": 2.888
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 983.48,
|
|
"Total Cost": 987.12,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 2.48,
|
|
"Actual Total Time": 2.492,
|
|
"Actual Rows": 50,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 190,
|
|
"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": "Index Only Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "messages_history_covering_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 1095.62,
|
|
"Plan Rows": 15040,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.141,
|
|
"Actual Total Time": 2.041,
|
|
"Actual Rows": 13550,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Heap Fetches": 0,
|
|
"Shared Hit Blocks": 190,
|
|
"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": 113,
|
|
"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": 2.543
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 983.48,
|
|
"Total Cost": 987.12,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 3.582,
|
|
"Actual Total Time": 3.597,
|
|
"Actual Rows": 50,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 190,
|
|
"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": "Index Only Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "messages_history_covering_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 1095.62,
|
|
"Plan Rows": 15040,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.123,
|
|
"Actual Total Time": 3.017,
|
|
"Actual Rows": 13550,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Heap Fetches": 0,
|
|
"Shared Hit Blocks": 190,
|
|
"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": 113,
|
|
"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.581,
|
|
"Triggers": [],
|
|
"Execution Time": 3.655
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 983.48,
|
|
"Total Cost": 987.12,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 2.849,
|
|
"Actual Total Time": 2.861,
|
|
"Actual Rows": 50,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 190,
|
|
"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": "Index Only Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "messages_history_covering_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 1095.62,
|
|
"Plan Rows": 15040,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.059,
|
|
"Actual Total Time": 2.328,
|
|
"Actual Rows": 13550,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Heap Fetches": 0,
|
|
"Shared Hit Blocks": 190,
|
|
"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": 113,
|
|
"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.425,
|
|
"Triggers": [],
|
|
"Execution Time": 2.907
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 983.48,
|
|
"Total Cost": 987.12,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 2.561,
|
|
"Actual Total Time": 2.573,
|
|
"Actual Rows": 50,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 190,
|
|
"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": "Index Only Scan",
|
|
"Parent Relationship": "Outer",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Scan Direction": "Forward",
|
|
"Index Name": "messages_history_covering_idx",
|
|
"Relation Name": "messages",
|
|
"Alias": "messages",
|
|
"Startup Cost": 0.42,
|
|
"Total Cost": 1095.62,
|
|
"Plan Rows": 15040,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.066,
|
|
"Actual Total Time": 2.109,
|
|
"Actual Rows": 13550,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Heap Fetches": 0,
|
|
"Shared Hit Blocks": 190,
|
|
"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": 113,
|
|
"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.631,
|
|
"Triggers": [],
|
|
"Execution Time": 2.636
|
|
}
|
|
]
|