forked from mtusi2026/mtusi2026lab2
feat: add 4 and 5 track 2
This commit is contained in:
@@ -0,0 +1,513 @@
|
||||
[
|
||||
{
|
||||
"Plan": {
|
||||
"Node Type": "Limit",
|
||||
"Parallel Aware": false,
|
||||
"Async Capable": false,
|
||||
"Startup Cost": 6548.15,
|
||||
"Total Cost": 6551.79,
|
||||
"Plan Rows": 50,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 17.281,
|
||||
"Actual Total Time": 17.297,
|
||||
"Actual Rows": 50,
|
||||
"Actual Loops": 1,
|
||||
"Shared Hit Blocks": 1237,
|
||||
"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": 7258.22,
|
||||
"Plan Rows": 99760,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 0.067,
|
||||
"Actual Total Time": 14.298,
|
||||
"Actual Rows": 90050,
|
||||
"Actual Loops": 1,
|
||||
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222221'::uuid)",
|
||||
"Rows Removed by Index Recheck": 0,
|
||||
"Heap Fetches": 0,
|
||||
"Shared Hit Blocks": 1237,
|
||||
"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.578,
|
||||
"Triggers": [],
|
||||
"Execution Time": 17.441
|
||||
},
|
||||
{
|
||||
"Plan": {
|
||||
"Node Type": "Limit",
|
||||
"Parallel Aware": false,
|
||||
"Async Capable": false,
|
||||
"Startup Cost": 6548.15,
|
||||
"Total Cost": 6551.79,
|
||||
"Plan Rows": 50,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 22.331,
|
||||
"Actual Total Time": 22.346,
|
||||
"Actual Rows": 50,
|
||||
"Actual Loops": 1,
|
||||
"Shared Hit Blocks": 1237,
|
||||
"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": 7258.22,
|
||||
"Plan Rows": 99760,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 0.058,
|
||||
"Actual Total Time": 18.904,
|
||||
"Actual Rows": 90050,
|
||||
"Actual Loops": 1,
|
||||
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222221'::uuid)",
|
||||
"Rows Removed by Index Recheck": 0,
|
||||
"Heap Fetches": 0,
|
||||
"Shared Hit Blocks": 1237,
|
||||
"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.435,
|
||||
"Triggers": [],
|
||||
"Execution Time": 22.398
|
||||
},
|
||||
{
|
||||
"Plan": {
|
||||
"Node Type": "Limit",
|
||||
"Parallel Aware": false,
|
||||
"Async Capable": false,
|
||||
"Startup Cost": 6548.15,
|
||||
"Total Cost": 6551.79,
|
||||
"Plan Rows": 50,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 22.815,
|
||||
"Actual Total Time": 22.826,
|
||||
"Actual Rows": 50,
|
||||
"Actual Loops": 1,
|
||||
"Shared Hit Blocks": 1237,
|
||||
"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": 7258.22,
|
||||
"Plan Rows": 99760,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 0.057,
|
||||
"Actual Total Time": 19.467,
|
||||
"Actual Rows": 90050,
|
||||
"Actual Loops": 1,
|
||||
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222221'::uuid)",
|
||||
"Rows Removed by Index Recheck": 0,
|
||||
"Heap Fetches": 0,
|
||||
"Shared Hit Blocks": 1237,
|
||||
"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": 22.872
|
||||
},
|
||||
{
|
||||
"Plan": {
|
||||
"Node Type": "Limit",
|
||||
"Parallel Aware": false,
|
||||
"Async Capable": false,
|
||||
"Startup Cost": 6548.15,
|
||||
"Total Cost": 6551.79,
|
||||
"Plan Rows": 50,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 20.123,
|
||||
"Actual Total Time": 20.134,
|
||||
"Actual Rows": 50,
|
||||
"Actual Loops": 1,
|
||||
"Shared Hit Blocks": 1237,
|
||||
"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": 7258.22,
|
||||
"Plan Rows": 99760,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 0.065,
|
||||
"Actual Total Time": 16.784,
|
||||
"Actual Rows": 90050,
|
||||
"Actual Loops": 1,
|
||||
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222221'::uuid)",
|
||||
"Rows Removed by Index Recheck": 0,
|
||||
"Heap Fetches": 0,
|
||||
"Shared Hit Blocks": 1237,
|
||||
"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.42,
|
||||
"Triggers": [],
|
||||
"Execution Time": 20.181
|
||||
},
|
||||
{
|
||||
"Plan": {
|
||||
"Node Type": "Limit",
|
||||
"Parallel Aware": false,
|
||||
"Async Capable": false,
|
||||
"Startup Cost": 6548.15,
|
||||
"Total Cost": 6551.79,
|
||||
"Plan Rows": 50,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 19.572,
|
||||
"Actual Total Time": 19.583,
|
||||
"Actual Rows": 50,
|
||||
"Actual Loops": 1,
|
||||
"Shared Hit Blocks": 1237,
|
||||
"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": 7258.22,
|
||||
"Plan Rows": 99760,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 0.058,
|
||||
"Actual Total Time": 16.214,
|
||||
"Actual Rows": 90050,
|
||||
"Actual Loops": 1,
|
||||
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222221'::uuid)",
|
||||
"Rows Removed by Index Recheck": 0,
|
||||
"Heap Fetches": 0,
|
||||
"Shared Hit Blocks": 1237,
|
||||
"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.389,
|
||||
"Triggers": [],
|
||||
"Execution Time": 19.628
|
||||
},
|
||||
{
|
||||
"Plan": {
|
||||
"Node Type": "Limit",
|
||||
"Parallel Aware": false,
|
||||
"Async Capable": false,
|
||||
"Startup Cost": 6548.15,
|
||||
"Total Cost": 6551.79,
|
||||
"Plan Rows": 50,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 18.621,
|
||||
"Actual Total Time": 18.632,
|
||||
"Actual Rows": 50,
|
||||
"Actual Loops": 1,
|
||||
"Shared Hit Blocks": 1237,
|
||||
"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": 7258.22,
|
||||
"Plan Rows": 99760,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 0.177,
|
||||
"Actual Total Time": 15.412,
|
||||
"Actual Rows": 90050,
|
||||
"Actual Loops": 1,
|
||||
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222221'::uuid)",
|
||||
"Rows Removed by Index Recheck": 0,
|
||||
"Heap Fetches": 0,
|
||||
"Shared Hit Blocks": 1237,
|
||||
"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.571,
|
||||
"Triggers": [],
|
||||
"Execution Time": 18.769
|
||||
},
|
||||
{
|
||||
"Plan": {
|
||||
"Node Type": "Limit",
|
||||
"Parallel Aware": false,
|
||||
"Async Capable": false,
|
||||
"Startup Cost": 6548.15,
|
||||
"Total Cost": 6551.79,
|
||||
"Plan Rows": 50,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 18.335,
|
||||
"Actual Total Time": 18.346,
|
||||
"Actual Rows": 50,
|
||||
"Actual Loops": 1,
|
||||
"Shared Hit Blocks": 1237,
|
||||
"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": 7258.22,
|
||||
"Plan Rows": 99760,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 0.058,
|
||||
"Actual Total Time": 15.013,
|
||||
"Actual Rows": 90050,
|
||||
"Actual Loops": 1,
|
||||
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222221'::uuid)",
|
||||
"Rows Removed by Index Recheck": 0,
|
||||
"Heap Fetches": 0,
|
||||
"Shared Hit Blocks": 1237,
|
||||
"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.43,
|
||||
"Triggers": [],
|
||||
"Execution Time": 18.39
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user