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": 329.77,
|
|
"Total Cost": 333.43,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.904,
|
|
"Actual Total Time": 0.921,
|
|
"Actual Rows": 50,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 66,
|
|
"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": 363.15,
|
|
"Plan Rows": 4956,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.072,
|
|
"Actual Total Time": 0.741,
|
|
"Actual Rows": 4550,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Heap Fetches": 0,
|
|
"Shared Hit Blocks": 66,
|
|
"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.401,
|
|
"Triggers": [],
|
|
"Execution Time": 0.966
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 329.77,
|
|
"Total Cost": 333.43,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 1.22,
|
|
"Actual Total Time": 1.235,
|
|
"Actual Rows": 50,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 66,
|
|
"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": 363.15,
|
|
"Plan Rows": 4956,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.186,
|
|
"Actual Total Time": 1.054,
|
|
"Actual Rows": 4550,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Heap Fetches": 0,
|
|
"Shared Hit Blocks": 66,
|
|
"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.574,
|
|
"Triggers": [],
|
|
"Execution Time": 1.295
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 329.77,
|
|
"Total Cost": 333.43,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 1.233,
|
|
"Actual Total Time": 1.244,
|
|
"Actual Rows": 50,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 66,
|
|
"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": 363.15,
|
|
"Plan Rows": 4956,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.096,
|
|
"Actual Total Time": 1.081,
|
|
"Actual Rows": 4550,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Heap Fetches": 0,
|
|
"Shared Hit Blocks": 66,
|
|
"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.616,
|
|
"Triggers": [],
|
|
"Execution Time": 1.301
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 329.77,
|
|
"Total Cost": 333.43,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 1.012,
|
|
"Actual Total Time": 1.027,
|
|
"Actual Rows": 50,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 66,
|
|
"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": 363.15,
|
|
"Plan Rows": 4956,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.086,
|
|
"Actual Total Time": 0.862,
|
|
"Actual Rows": 4550,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Heap Fetches": 0,
|
|
"Shared Hit Blocks": 66,
|
|
"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.469,
|
|
"Triggers": [],
|
|
"Execution Time": 1.075
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 329.77,
|
|
"Total Cost": 333.43,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.823,
|
|
"Actual Total Time": 0.834,
|
|
"Actual Rows": 50,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 66,
|
|
"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": 363.15,
|
|
"Plan Rows": 4956,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.064,
|
|
"Actual Total Time": 0.681,
|
|
"Actual Rows": 4550,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Heap Fetches": 0,
|
|
"Shared Hit Blocks": 66,
|
|
"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.412,
|
|
"Triggers": [],
|
|
"Execution Time": 0.878
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 329.77,
|
|
"Total Cost": 333.43,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 1.283,
|
|
"Actual Total Time": 1.299,
|
|
"Actual Rows": 50,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 66,
|
|
"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": 363.15,
|
|
"Plan Rows": 4956,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.108,
|
|
"Actual Total Time": 1.0,
|
|
"Actual Rows": 4550,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Heap Fetches": 0,
|
|
"Shared Hit Blocks": 66,
|
|
"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.659,
|
|
"Triggers": [],
|
|
"Execution Time": 1.361
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 329.77,
|
|
"Total Cost": 333.43,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.978,
|
|
"Actual Total Time": 0.988,
|
|
"Actual Rows": 50,
|
|
"Actual Loops": 1,
|
|
"Shared Hit Blocks": 66,
|
|
"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": 363.15,
|
|
"Plan Rows": 4956,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.073,
|
|
"Actual Total Time": 0.828,
|
|
"Actual Rows": 4550,
|
|
"Actual Loops": 1,
|
|
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
|
|
"Rows Removed by Index Recheck": 0,
|
|
"Heap Fetches": 0,
|
|
"Shared Hit Blocks": 66,
|
|
"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.547,
|
|
"Triggers": [],
|
|
"Execution Time": 1.052
|
|
}
|
|
]
|