Files
mtusi2026lab2-fork/evidence/track2/20261001-c/read-base-medium-offset.json
T

934 lines
31 KiB
JSON

[
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 3493.89,
"Total Cost": 3494.01,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 9.424,
"Actual Total Time": 9.433,
"Actual Rows": 50,
"Actual Loops": 1,
"Shared Hit Blocks": 331,
"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": 3460.14,
"Total Cost": 3496.93,
"Plan Rows": 14716,
"Plan Width": 86,
"Actual Startup Time": 8.439,
"Actual Total Time": 8.978,
"Actual Rows": 13550,
"Actual Loops": 1,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "quicksort",
"Sort Space Used": 2377,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 331,
"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": 542.47,
"Total Cost": 2441.42,
"Plan Rows": 14716,
"Plan Width": 86,
"Actual Startup Time": 2.169,
"Actual Total Time": 4.007,
"Actual Rows": 15000,
"Actual Loops": 1,
"Recheck Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
"Rows Removed by Index Recheck": 0,
"Exact Heap Blocks": 215,
"Lossy Heap Blocks": 0,
"Shared Hit Blocks": 325,
"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": 538.79,
"Plan Rows": 14716,
"Plan Width": 0,
"Actual Startup Time": 2.113,
"Actual Total Time": 2.114,
"Actual Rows": 15000,
"Actual Loops": 1,
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
"Shared Hit Blocks": 110,
"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.797,
"Triggers": [],
"Execution Time": 9.909
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 3493.89,
"Total Cost": 3494.01,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 16.434,
"Actual Total Time": 16.443,
"Actual Rows": 50,
"Actual Loops": 1,
"Shared Hit Blocks": 331,
"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": 3460.14,
"Total Cost": 3496.93,
"Plan Rows": 14716,
"Plan Width": 86,
"Actual Startup Time": 15.186,
"Actual Total Time": 15.915,
"Actual Rows": 13550,
"Actual Loops": 1,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "quicksort",
"Sort Space Used": 2377,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 331,
"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": 542.47,
"Total Cost": 2441.42,
"Plan Rows": 14716,
"Plan Width": 86,
"Actual Startup Time": 3.065,
"Actual Total Time": 6.481,
"Actual Rows": 15000,
"Actual Loops": 1,
"Recheck Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
"Rows Removed by Index Recheck": 0,
"Exact Heap Blocks": 215,
"Lossy Heap Blocks": 0,
"Shared Hit Blocks": 325,
"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": 538.79,
"Plan Rows": 14716,
"Plan Width": 0,
"Actual Startup Time": 2.976,
"Actual Total Time": 2.977,
"Actual Rows": 15000,
"Actual Loops": 1,
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
"Shared Hit Blocks": 110,
"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.682,
"Triggers": [],
"Execution Time": 17.063
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 3493.89,
"Total Cost": 3494.01,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 6.529,
"Actual Total Time": 6.537,
"Actual Rows": 50,
"Actual Loops": 1,
"Shared Hit Blocks": 331,
"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": 3460.14,
"Total Cost": 3496.93,
"Plan Rows": 14716,
"Plan Width": 86,
"Actual Startup Time": 5.549,
"Actual Total Time": 6.055,
"Actual Rows": 13550,
"Actual Loops": 1,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "quicksort",
"Sort Space Used": 2377,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 331,
"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": 542.47,
"Total Cost": 2441.42,
"Plan Rows": 14716,
"Plan Width": 86,
"Actual Startup Time": 0.879,
"Actual Total Time": 2.145,
"Actual Rows": 15000,
"Actual Loops": 1,
"Recheck Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
"Rows Removed by Index Recheck": 0,
"Exact Heap Blocks": 215,
"Lossy Heap Blocks": 0,
"Shared Hit Blocks": 325,
"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": 538.79,
"Plan Rows": 14716,
"Plan Width": 0,
"Actual Startup Time": 0.851,
"Actual Total Time": 0.852,
"Actual Rows": 15000,
"Actual Loops": 1,
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
"Shared Hit Blocks": 110,
"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.395,
"Triggers": [],
"Execution Time": 7.084
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 3493.89,
"Total Cost": 3494.01,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 7.567,
"Actual Total Time": 7.574,
"Actual Rows": 50,
"Actual Loops": 1,
"Shared Hit Blocks": 331,
"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": 3460.14,
"Total Cost": 3496.93,
"Plan Rows": 14716,
"Plan Width": 86,
"Actual Startup Time": 6.502,
"Actual Total Time": 7.103,
"Actual Rows": 13550,
"Actual Loops": 1,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "quicksort",
"Sort Space Used": 2377,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 331,
"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": 542.47,
"Total Cost": 2441.42,
"Plan Rows": 14716,
"Plan Width": 86,
"Actual Startup Time": 1.255,
"Actual Total Time": 2.663,
"Actual Rows": 15000,
"Actual Loops": 1,
"Recheck Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
"Rows Removed by Index Recheck": 0,
"Exact Heap Blocks": 215,
"Lossy Heap Blocks": 0,
"Shared Hit Blocks": 325,
"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": 538.79,
"Plan Rows": 14716,
"Plan Width": 0,
"Actual Startup Time": 1.222,
"Actual Total Time": 1.222,
"Actual Rows": 15000,
"Actual Loops": 1,
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
"Shared Hit Blocks": 110,
"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.591,
"Triggers": [],
"Execution Time": 8.073
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 3493.89,
"Total Cost": 3494.01,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 7.591,
"Actual Total Time": 7.598,
"Actual Rows": 50,
"Actual Loops": 1,
"Shared Hit Blocks": 331,
"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": 3460.14,
"Total Cost": 3496.93,
"Plan Rows": 14716,
"Plan Width": 86,
"Actual Startup Time": 6.632,
"Actual Total Time": 7.133,
"Actual Rows": 13550,
"Actual Loops": 1,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "quicksort",
"Sort Space Used": 2377,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 331,
"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": 542.47,
"Total Cost": 2441.42,
"Plan Rows": 14716,
"Plan Width": 86,
"Actual Startup Time": 1.133,
"Actual Total Time": 2.895,
"Actual Rows": 15000,
"Actual Loops": 1,
"Recheck Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
"Rows Removed by Index Recheck": 0,
"Exact Heap Blocks": 215,
"Lossy Heap Blocks": 0,
"Shared Hit Blocks": 325,
"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": 538.79,
"Plan Rows": 14716,
"Plan Width": 0,
"Actual Startup Time": 1.092,
"Actual Total Time": 1.093,
"Actual Rows": 15000,
"Actual Loops": 1,
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
"Shared Hit Blocks": 110,
"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.382,
"Triggers": [],
"Execution Time": 8.016
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 3493.89,
"Total Cost": 3494.01,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 6.743,
"Actual Total Time": 6.75,
"Actual Rows": 50,
"Actual Loops": 1,
"Shared Hit Blocks": 331,
"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": 3460.14,
"Total Cost": 3496.93,
"Plan Rows": 14716,
"Plan Width": 86,
"Actual Startup Time": 5.798,
"Actual Total Time": 6.3,
"Actual Rows": 13550,
"Actual Loops": 1,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "quicksort",
"Sort Space Used": 2377,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 331,
"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": 542.47,
"Total Cost": 2441.42,
"Plan Rows": 14716,
"Plan Width": 86,
"Actual Startup Time": 0.993,
"Actual Total Time": 2.269,
"Actual Rows": 15000,
"Actual Loops": 1,
"Recheck Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
"Rows Removed by Index Recheck": 0,
"Exact Heap Blocks": 215,
"Lossy Heap Blocks": 0,
"Shared Hit Blocks": 325,
"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": 538.79,
"Plan Rows": 14716,
"Plan Width": 0,
"Actual Startup Time": 0.964,
"Actual Total Time": 0.965,
"Actual Rows": 15000,
"Actual Loops": 1,
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
"Shared Hit Blocks": 110,
"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.382,
"Triggers": [],
"Execution Time": 7.177
},
{
"Plan": {
"Node Type": "Limit",
"Parallel Aware": false,
"Async Capable": false,
"Startup Cost": 3493.89,
"Total Cost": 3494.01,
"Plan Rows": 50,
"Plan Width": 86,
"Actual Startup Time": 9.364,
"Actual Total Time": 9.374,
"Actual Rows": 50,
"Actual Loops": 1,
"Shared Hit Blocks": 331,
"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": 3460.14,
"Total Cost": 3496.93,
"Plan Rows": 14716,
"Plan Width": 86,
"Actual Startup Time": 7.954,
"Actual Total Time": 8.76,
"Actual Rows": 13550,
"Actual Loops": 1,
"Sort Key": [
"created_at",
"id"
],
"Sort Method": "quicksort",
"Sort Space Used": 2377,
"Sort Space Type": "Memory",
"Shared Hit Blocks": 331,
"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": 542.47,
"Total Cost": 2441.42,
"Plan Rows": 14716,
"Plan Width": 86,
"Actual Startup Time": 1.116,
"Actual Total Time": 3.024,
"Actual Rows": 15000,
"Actual Loops": 1,
"Recheck Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
"Rows Removed by Index Recheck": 0,
"Exact Heap Blocks": 215,
"Lossy Heap Blocks": 0,
"Shared Hit Blocks": 325,
"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": 538.79,
"Plan Rows": 14716,
"Plan Width": 0,
"Actual Startup Time": 1.082,
"Actual Total Time": 1.083,
"Actual Rows": 15000,
"Actual Loops": 1,
"Index Cond": "(chat_id = '22222222-2222-4222-8222-222222222222'::uuid)",
"Shared Hit Blocks": 110,
"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.547,
"Triggers": [],
"Execution Time": 9.933
}
]