Files
mtusi2026lab2/evidence/track2/20261001-b/read-base-small-offset.json
T
TAskMAster339 b0fe7350c8
Skeleton contracts / contracts (pull_request) Canceled after 0s
feat: add 4 and 5 track 2
2026-10-01 20:46:42 +03:00

934 lines
30 KiB
JSON

[
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2276.27,
"Total Cost": 2276.39,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 2.528,
"Actual Total Time": 2.535,
"Actual Rows": 50,
"Actual Loops": 1,
"Shared Hit Blocks": 118,
"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": "Sort",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2265.02,
"Total Cost": 2277.44,
"Plan Rows": 4968,
"Plan Width": 86,
"Actual Startup Time": 2.172,
"Actual Total Time": 2.342,
"Actual Rows": 4550,
"Actual Loops": 1,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "quicksort",
"Sort Space Used": 857,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 118,
"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": "Bitmap Heap Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 182.92,
"Total Cost": 1960.02,
"Plan Rows": 4968,
"Plan Width": 86,
"Actual Startup Time": 0.304,
"Actual Total Time": 0.752,
"Actual Rows": 5000,
"Actual Loops": 1,
"Recheck Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
"Rows Removed by Index Recheck": 0,
"Exact Heap Blocks": 73,
"Lossy Heap Blocks": 0,
"Shared Hit Blocks": 112,
"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": "Bitmap Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Index Name": "messages_history_idx",
"Startup Cost": 0.0,
"Total Cost": 181.68,
"Plan Rows": 4968,
"Plan Width": 0,
"Actual Startup Time": 0.289,
"Actual Total Time": 0.289,
"Actual Rows": 5000,
"Actual Loops": 1,
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
"Shared Hit Blocks": 39,
"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": 107,
"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.589,
"Triggers": [],
"Execution Time": 2.732
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2276.27,
"Total Cost": 2276.39,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 2.741,
"Actual Total Time": 2.749,
"Actual Rows": 50,
"Actual Loops": 1,
"Shared Hit Blocks": 118,
"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": "Sort",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2265.02,
"Total Cost": 2277.44,
"Plan Rows": 4968,
"Plan Width": 86,
"Actual Startup Time": 2.249,
"Actual Total Time": 2.571,
"Actual Rows": 4550,
"Actual Loops": 1,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "quicksort",
"Sort Space Used": 857,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 118,
"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": "Bitmap Heap Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 182.92,
"Total Cost": 1960.02,
"Plan Rows": 4968,
"Plan Width": 86,
"Actual Startup Time": 0.361,
"Actual Total Time": 0.911,
"Actual Rows": 5000,
"Actual Loops": 1,
"Recheck Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
"Rows Removed by Index Recheck": 0,
"Exact Heap Blocks": 73,
"Lossy Heap Blocks": 0,
"Shared Hit Blocks": 112,
"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": "Bitmap Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Index Name": "messages_history_idx",
"Startup Cost": 0.0,
"Total Cost": 181.68,
"Plan Rows": 4968,
"Plan Width": 0,
"Actual Startup Time": 0.345,
"Actual Total Time": 0.345,
"Actual Rows": 5000,
"Actual Loops": 1,
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
"Shared Hit Blocks": 39,
"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": 107,
"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.423,
"Triggers": [],
"Execution Time": 2.93
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2276.27,
"Total Cost": 2276.39,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 2.696,
"Actual Total Time": 2.704,
"Actual Rows": 50,
"Actual Loops": 1,
"Shared Hit Blocks": 118,
"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": "Sort",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2265.02,
"Total Cost": 2277.44,
"Plan Rows": 4968,
"Plan Width": 86,
"Actual Startup Time": 2.177,
"Actual Total Time": 2.374,
"Actual Rows": 4550,
"Actual Loops": 1,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "quicksort",
"Sort Space Used": 857,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 118,
"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": "Bitmap Heap Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 182.92,
"Total Cost": 1960.02,
"Plan Rows": 4968,
"Plan Width": 86,
"Actual Startup Time": 0.443,
"Actual Total Time": 0.932,
"Actual Rows": 5000,
"Actual Loops": 1,
"Recheck Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
"Rows Removed by Index Recheck": 0,
"Exact Heap Blocks": 73,
"Lossy Heap Blocks": 0,
"Shared Hit Blocks": 112,
"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": "Bitmap Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Index Name": "messages_history_idx",
"Startup Cost": 0.0,
"Total Cost": 181.68,
"Plan Rows": 4968,
"Plan Width": 0,
"Actual Startup Time": 0.424,
"Actual Total Time": 0.424,
"Actual Rows": 5000,
"Actual Loops": 1,
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
"Shared Hit Blocks": 39,
"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": 107,
"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.564,
"Triggers": [],
"Execution Time": 2.92
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2276.27,
"Total Cost": 2276.39,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 2.562,
"Actual Total Time": 2.568,
"Actual Rows": 50,
"Actual Loops": 1,
"Shared Hit Blocks": 118,
"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": "Sort",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2265.02,
"Total Cost": 2277.44,
"Plan Rows": 4968,
"Plan Width": 86,
"Actual Startup Time": 2.227,
"Actual Total Time": 2.395,
"Actual Rows": 4550,
"Actual Loops": 1,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "quicksort",
"Sort Space Used": 857,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 118,
"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": "Bitmap Heap Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 182.92,
"Total Cost": 1960.02,
"Plan Rows": 4968,
"Plan Width": 86,
"Actual Startup Time": 0.505,
"Actual Total Time": 0.92,
"Actual Rows": 5000,
"Actual Loops": 1,
"Recheck Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
"Rows Removed by Index Recheck": 0,
"Exact Heap Blocks": 73,
"Lossy Heap Blocks": 0,
"Shared Hit Blocks": 112,
"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": "Bitmap Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Index Name": "messages_history_idx",
"Startup Cost": 0.0,
"Total Cost": 181.68,
"Plan Rows": 4968,
"Plan Width": 0,
"Actual Startup Time": 0.488,
"Actual Total Time": 0.489,
"Actual Rows": 5000,
"Actual Loops": 1,
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
"Shared Hit Blocks": 39,
"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": 107,
"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.472,
"Triggers": [],
"Execution Time": 2.739
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2276.27,
"Total Cost": 2276.39,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 3.246,
"Actual Total Time": 3.255,
"Actual Rows": 50,
"Actual Loops": 1,
"Shared Hit Blocks": 118,
"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": "Sort",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2265.02,
"Total Cost": 2277.44,
"Plan Rows": 4968,
"Plan Width": 86,
"Actual Startup Time": 2.844,
"Actual Total Time": 3.1,
"Actual Rows": 4550,
"Actual Loops": 1,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "quicksort",
"Sort Space Used": 857,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 118,
"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": "Bitmap Heap Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 182.92,
"Total Cost": 1960.02,
"Plan Rows": 4968,
"Plan Width": 86,
"Actual Startup Time": 0.443,
"Actual Total Time": 1.186,
"Actual Rows": 5000,
"Actual Loops": 1,
"Recheck Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
"Rows Removed by Index Recheck": 0,
"Exact Heap Blocks": 73,
"Lossy Heap Blocks": 0,
"Shared Hit Blocks": 112,
"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": "Bitmap Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Index Name": "messages_history_idx",
"Startup Cost": 0.0,
"Total Cost": 181.68,
"Plan Rows": 4968,
"Plan Width": 0,
"Actual Startup Time": 0.422,
"Actual Total Time": 0.423,
"Actual Rows": 5000,
"Actual Loops": 1,
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
"Shared Hit Blocks": 39,
"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": 107,
"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.672,
"Triggers": [],
"Execution Time": 3.525
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2276.27,
"Total Cost": 2276.39,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 2.582,
"Actual Total Time": 2.591,
"Actual Rows": 50,
"Actual Loops": 1,
"Shared Hit Blocks": 118,
"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": "Sort",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2265.02,
"Total Cost": 2277.44,
"Plan Rows": 4968,
"Plan Width": 86,
"Actual Startup Time": 2.227,
"Actual Total Time": 2.427,
"Actual Rows": 4550,
"Actual Loops": 1,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "quicksort",
"Sort Space Used": 857,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 118,
"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": "Bitmap Heap Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 182.92,
"Total Cost": 1960.02,
"Plan Rows": 4968,
"Plan Width": 86,
"Actual Startup Time": 0.294,
"Actual Total Time": 0.793,
"Actual Rows": 5000,
"Actual Loops": 1,
"Recheck Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
"Rows Removed by Index Recheck": 0,
"Exact Heap Blocks": 73,
"Lossy Heap Blocks": 0,
"Shared Hit Blocks": 112,
"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": "Bitmap Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Index Name": "messages_history_idx",
"Startup Cost": 0.0,
"Total Cost": 181.68,
"Plan Rows": 4968,
"Plan Width": 0,
"Actual Startup Time": 0.28,
"Actual Total Time": 0.281,
"Actual Rows": 5000,
"Actual Loops": 1,
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
"Shared Hit Blocks": 39,
"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": 107,
"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.545,
"Triggers": [],
"Execution Time": 2.822
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2276.27,
"Total Cost": 2276.39,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 2.997,
"Actual Total Time": 3.004,
"Actual Rows": 50,
"Actual Loops": 1,
"Shared Hit Blocks": 118,
"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": "Sort",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2265.02,
"Total Cost": 2277.44,
"Plan Rows": 4968,
"Plan Width": 86,
"Actual Startup Time": 2.682,
"Actual Total Time": 2.849,
"Actual Rows": 4550,
"Actual Loops": 1,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "quicksort",
"Sort Space Used": 857,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 118,
"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": "Bitmap Heap Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Relation Name": "messages",
"Alias": "messages",
"Startup Cost": 182.92,
"Total Cost": 1960.02,
"Plan Rows": 4968,
"Plan Width": 86,
"Actual Startup Time": 0.961,
"Actual Total Time": 1.442,
"Actual Rows": 5000,
"Actual Loops": 1,
"Recheck Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
"Rows Removed by Index Recheck": 0,
"Exact Heap Blocks": 73,
"Lossy Heap Blocks": 0,
"Shared Hit Blocks": 112,
"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": "Bitmap Index Scan",
"Parent Relationship": "Outer",
"Parallel Aware": false,
"Async Capable": false,
"Index Name": "messages_history_idx",
"Startup Cost": 0.0,
"Total Cost": 181.68,
"Plan Rows": 4968,
"Plan Width": 0,
"Actual Startup Time": 0.942,
"Actual Total Time": 0.943,
"Actual Rows": 5000,
"Actual Loops": 1,
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222223'::uuid)",
"Shared Hit Blocks": 39,
"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": 107,
"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.818,
"Triggers": [],
"Execution Time": 3.222
}
]