forked from mtusi2026/mtusi2026lab2
514 lines
15 KiB
JSON
514 lines
15 KiB
JSON
[
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 327.75,
|
|
"Total Cost": 331.38,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.795,
|
|
"Actual Total Time": 0.805,
|
|
"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": 358.59,
|
|
"Plan Rows": 4924,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.071,
|
|
"Actual Total Time": 0.652,
|
|
"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.478,
|
|
"Triggers": [],
|
|
"Execution Time": 0.853
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 327.75,
|
|
"Total Cost": 331.38,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.925,
|
|
"Actual Total Time": 0.935,
|
|
"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": 358.59,
|
|
"Plan Rows": 4924,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.085,
|
|
"Actual Total Time": 0.77,
|
|
"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.53,
|
|
"Triggers": [],
|
|
"Execution Time": 1.023
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 327.75,
|
|
"Total Cost": 331.38,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.94,
|
|
"Actual Total Time": 0.95,
|
|
"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": 358.59,
|
|
"Plan Rows": 4924,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.098,
|
|
"Actual Total Time": 0.786,
|
|
"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.652,
|
|
"Triggers": [],
|
|
"Execution Time": 1.013
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 327.75,
|
|
"Total Cost": 331.38,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.912,
|
|
"Actual Total Time": 0.922,
|
|
"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": 358.59,
|
|
"Plan Rows": 4924,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.116,
|
|
"Actual Total Time": 0.74,
|
|
"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.443,
|
|
"Triggers": [],
|
|
"Execution Time": 0.967
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 327.75,
|
|
"Total Cost": 331.38,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.9,
|
|
"Actual Total Time": 0.913,
|
|
"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": 358.59,
|
|
"Plan Rows": 4924,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.088,
|
|
"Actual Total Time": 0.749,
|
|
"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.562,
|
|
"Triggers": [],
|
|
"Execution Time": 0.966
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 327.75,
|
|
"Total Cost": 331.38,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.834,
|
|
"Actual Total Time": 0.844,
|
|
"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": 358.59,
|
|
"Plan Rows": 4924,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.063,
|
|
"Actual Total Time": 0.663,
|
|
"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.493,
|
|
"Triggers": [],
|
|
"Execution Time": 0.888
|
|
},
|
|
{
|
|
"Plan": {
|
|
"Node Type": "Limit",
|
|
"Parallel Aware": false,
|
|
"Async Capable": false,
|
|
"Startup Cost": 327.75,
|
|
"Total Cost": 331.38,
|
|
"Plan Rows": 50,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 1.231,
|
|
"Actual Total Time": 1.245,
|
|
"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": 358.59,
|
|
"Plan Rows": 4924,
|
|
"Plan Width": 86,
|
|
"Actual Startup Time": 0.132,
|
|
"Actual Total Time": 1.023,
|
|
"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.558,
|
|
"Triggers": [],
|
|
"Execution Time": 1.311
|
|
}
|
|
]
|