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": 983.49,
|
||||
"Total Cost": 987.13,
|
||||
"Plan Rows": 50,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 2.295,
|
||||
"Actual Total Time": 2.306,
|
||||
"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": 1100.88,
|
||||
"Plan Rows": 15112,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 0.09,
|
||||
"Actual Total Time": 1.854,
|
||||
"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.418,
|
||||
"Triggers": [],
|
||||
"Execution Time": 2.361
|
||||
},
|
||||
{
|
||||
"Plan": {
|
||||
"Node Type": "Limit",
|
||||
"Parallel Aware": false,
|
||||
"Async Capable": false,
|
||||
"Startup Cost": 983.49,
|
||||
"Total Cost": 987.13,
|
||||
"Plan Rows": 50,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 2.57,
|
||||
"Actual Total Time": 2.581,
|
||||
"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": 1100.88,
|
||||
"Plan Rows": 15112,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 0.072,
|
||||
"Actual Total Time": 2.12,
|
||||
"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.55,
|
||||
"Triggers": [],
|
||||
"Execution Time": 2.638
|
||||
},
|
||||
{
|
||||
"Plan": {
|
||||
"Node Type": "Limit",
|
||||
"Parallel Aware": false,
|
||||
"Async Capable": false,
|
||||
"Startup Cost": 983.49,
|
||||
"Total Cost": 987.13,
|
||||
"Plan Rows": 50,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 2.87,
|
||||
"Actual Total Time": 2.881,
|
||||
"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": 1100.88,
|
||||
"Plan Rows": 15112,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 0.108,
|
||||
"Actual Total Time": 2.383,
|
||||
"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.821,
|
||||
"Triggers": [],
|
||||
"Execution Time": 2.951
|
||||
},
|
||||
{
|
||||
"Plan": {
|
||||
"Node Type": "Limit",
|
||||
"Parallel Aware": false,
|
||||
"Async Capable": false,
|
||||
"Startup Cost": 983.49,
|
||||
"Total Cost": 987.13,
|
||||
"Plan Rows": 50,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 2.181,
|
||||
"Actual Total Time": 2.192,
|
||||
"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": 1100.88,
|
||||
"Plan Rows": 15112,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 0.082,
|
||||
"Actual Total Time": 1.724,
|
||||
"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.562,
|
||||
"Triggers": [],
|
||||
"Execution Time": 2.235
|
||||
},
|
||||
{
|
||||
"Plan": {
|
||||
"Node Type": "Limit",
|
||||
"Parallel Aware": false,
|
||||
"Async Capable": false,
|
||||
"Startup Cost": 983.49,
|
||||
"Total Cost": 987.13,
|
||||
"Plan Rows": 50,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 2.555,
|
||||
"Actual Total Time": 2.566,
|
||||
"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": 1100.88,
|
||||
"Plan Rows": 15112,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 0.115,
|
||||
"Actual Total Time": 2.083,
|
||||
"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.481,
|
||||
"Triggers": [],
|
||||
"Execution Time": 2.625
|
||||
},
|
||||
{
|
||||
"Plan": {
|
||||
"Node Type": "Limit",
|
||||
"Parallel Aware": false,
|
||||
"Async Capable": false,
|
||||
"Startup Cost": 983.49,
|
||||
"Total Cost": 987.13,
|
||||
"Plan Rows": 50,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 2.348,
|
||||
"Actual Total Time": 2.358,
|
||||
"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": 1100.88,
|
||||
"Plan Rows": 15112,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 0.085,
|
||||
"Actual Total Time": 1.876,
|
||||
"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.44,
|
||||
"Triggers": [],
|
||||
"Execution Time": 2.403
|
||||
},
|
||||
{
|
||||
"Plan": {
|
||||
"Node Type": "Limit",
|
||||
"Parallel Aware": false,
|
||||
"Async Capable": false,
|
||||
"Startup Cost": 983.49,
|
||||
"Total Cost": 987.13,
|
||||
"Plan Rows": 50,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 2.135,
|
||||
"Actual Total Time": 2.146,
|
||||
"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": 1100.88,
|
||||
"Plan Rows": 15112,
|
||||
"Plan Width": 86,
|
||||
"Actual Startup Time": 0.062,
|
||||
"Actual Total Time": 1.698,
|
||||
"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.404,
|
||||
"Triggers": [],
|
||||
"Execution Time": 2.201
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user