Files
mtusi2026lab2-fork/evidence/track2/20261001-a/read-base-small-offset.json
T

934 lines
31 KiB
JSON

[
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2278.04,
"Total Cost": 2278.17,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 3.118,
"Actual Total Time": 3.128,
"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": 2266.79,
"Total Cost": 2279.26,
"Plan Rows": 4988,
"Plan Width": 86,
"Actual Startup Time": 2.793,
"Actual Total Time": 2.971,
"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": 183.07,
"Total Cost": 1960.42,
"Plan Rows": 4988,
"Plan Width": 86,
"Actual Startup Time": 0.651,
"Actual Total Time": 1.278,
"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.83,
"Plan Rows": 4988,
"Plan Width": 0,
"Actual Startup Time": 0.631,
"Actual Total Time": 0.632,
"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.531,
"Triggers": [],
"Execution Time": 3.357
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2278.04,
"Total Cost": 2278.17,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 5.525,
"Actual Total Time": 5.532,
"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": 2266.79,
"Total Cost": 2279.26,
"Plan Rows": 4988,
"Plan Width": 86,
"Actual Startup Time": 5.18,
"Actual Total Time": 5.356,
"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": 183.07,
"Total Cost": 1960.42,
"Plan Rows": 4988,
"Plan Width": 86,
"Actual Startup Time": 0.494,
"Actual Total Time": 1.113,
"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.83,
"Plan Rows": 4988,
"Plan Width": 0,
"Actual Startup Time": 0.476,
"Actual Total Time": 0.477,
"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.434,
"Triggers": [],
"Execution Time": 6.092
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2278.04,
"Total Cost": 2278.17,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 3.791,
"Actual Total Time": 3.798,
"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": 2266.79,
"Total Cost": 2279.26,
"Plan Rows": 4988,
"Plan Width": 86,
"Actual Startup Time": 3.476,
"Actual Total Time": 3.645,
"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": 183.07,
"Total Cost": 1960.42,
"Plan Rows": 4988,
"Plan Width": 86,
"Actual Startup Time": 0.327,
"Actual Total Time": 0.863,
"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.83,
"Plan Rows": 4988,
"Plan Width": 0,
"Actual Startup Time": 0.312,
"Actual Total Time": 0.313,
"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.637,
"Triggers": [],
"Execution Time": 4.049
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2278.04,
"Total Cost": 2278.17,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 3.756,
"Actual Total Time": 3.765,
"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": 2266.79,
"Total Cost": 2279.26,
"Plan Rows": 4988,
"Plan Width": 86,
"Actual Startup Time": 3.335,
"Actual Total Time": 3.588,
"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": 183.07,
"Total Cost": 1960.42,
"Plan Rows": 4988,
"Plan Width": 86,
"Actual Startup Time": 0.336,
"Actual Total Time": 1.163,
"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.83,
"Plan Rows": 4988,
"Plan Width": 0,
"Actual Startup Time": 0.32,
"Actual Total Time": 0.321,
"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.779,
"Triggers": [],
"Execution Time": 3.985
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2278.04,
"Total Cost": 2278.17,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 2.768,
"Actual Total Time": 2.777,
"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": 2266.79,
"Total Cost": 2279.26,
"Plan Rows": 4988,
"Plan Width": 86,
"Actual Startup Time": 2.317,
"Actual Total Time": 2.585,
"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": 183.07,
"Total Cost": 1960.42,
"Plan Rows": 4988,
"Plan Width": 86,
"Actual Startup Time": 0.388,
"Actual Total Time": 0.877,
"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.83,
"Plan Rows": 4988,
"Plan Width": 0,
"Actual Startup Time": 0.37,
"Actual Total Time": 0.371,
"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.417,
"Triggers": [],
"Execution Time": 2.991
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2278.04,
"Total Cost": 2278.17,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 3.265,
"Actual Total Time": 3.275,
"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": 2266.79,
"Total Cost": 2279.26,
"Plan Rows": 4988,
"Plan Width": 86,
"Actual Startup Time": 2.862,
"Actual Total Time": 3.097,
"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": 183.07,
"Total Cost": 1960.42,
"Plan Rows": 4988,
"Plan Width": 86,
"Actual Startup Time": 0.414,
"Actual Total Time": 1.057,
"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.83,
"Plan Rows": 4988,
"Plan Width": 0,
"Actual Startup Time": 0.398,
"Actual Total Time": 0.399,
"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.488,
"Triggers": [],
"Execution Time": 3.493
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 2278.04,
"Total Cost": 2278.17,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 3.615,
"Actual Total Time": 3.622,
"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": 2266.79,
"Total Cost": 2279.26,
"Plan Rows": 4988,
"Plan Width": 86,
"Actual Startup Time": 3.257,
"Actual Total Time": 3.456,
"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": 183.07,
"Total Cost": 1960.42,
"Plan Rows": 4988,
"Plan Width": 86,
"Actual Startup Time": 0.727,
"Actual Total Time": 1.421,
"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.83,
"Plan Rows": 4988,
"Plan Width": 0,
"Actual Startup Time": 0.702,
"Actual Total Time": 0.703,
"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.959,
"Triggers": [],
"Execution Time": 3.853
}
]