[ { "Plan": { "Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2290.58, "Total Cost": 2290.71, "Plan Rows": 50, "Plan Width": 86, "Actual Startup Time": 2.706, "Actual Total Time": 2.716, "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": 2279.33, "Total Cost": 2292.04, "Plan Rows": 5084, "Plan Width": 86, "Actual Startup Time": 2.187, "Actual Total Time": 2.445, "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": 187.82, "Total Cost": 1966.37, "Plan Rows": 5084, "Plan Width": 86, "Actual Startup Time": 0.344, "Actual Total Time": 0.806, "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": 186.55, "Plan Rows": 5084, "Plan Width": 0, "Actual Startup Time": 0.328, "Actual Total Time": 0.328, "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.517, "Triggers": [], "Execution Time": 2.94 }, { "Plan": { "Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2290.58, "Total Cost": 2290.71, "Plan Rows": 50, "Plan Width": 86, "Actual Startup Time": 2.606, "Actual Total Time": 2.613, "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": 2279.33, "Total Cost": 2292.04, "Plan Rows": 5084, "Plan Width": 86, "Actual Startup Time": 2.291, "Actual Total Time": 2.46, "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": 187.82, "Total Cost": 1966.37, "Plan Rows": 5084, "Plan Width": 86, "Actual Startup Time": 0.344, "Actual Total Time": 0.822, "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": 186.55, "Plan Rows": 5084, "Plan Width": 0, "Actual Startup Time": 0.33, "Actual Total Time": 0.33, "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.436, "Triggers": [], "Execution Time": 2.781 }, { "Plan": { "Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2290.58, "Total Cost": 2290.71, "Plan Rows": 50, "Plan Width": 86, "Actual Startup Time": 2.598, "Actual Total Time": 2.604, "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": 2279.33, "Total Cost": 2292.04, "Plan Rows": 5084, "Plan Width": 86, "Actual Startup Time": 2.285, "Actual Total Time": 2.452, "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": 187.82, "Total Cost": 1966.37, "Plan Rows": 5084, "Plan Width": 86, "Actual Startup Time": 0.364, "Actual Total Time": 0.84, "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": 186.55, "Plan Rows": 5084, "Plan Width": 0, "Actual Startup Time": 0.344, "Actual Total Time": 0.344, "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.4, "Triggers": [], "Execution Time": 2.765 }, { "Plan": { "Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2290.58, "Total Cost": 2290.71, "Plan Rows": 50, "Plan Width": 86, "Actual Startup Time": 3.261, "Actual Total Time": 3.27, "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": 2279.33, "Total Cost": 2292.04, "Plan Rows": 5084, "Plan Width": 86, "Actual Startup Time": 2.792, "Actual Total Time": 3.042, "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": 187.82, "Total Cost": 1966.37, "Plan Rows": 5084, "Plan Width": 86, "Actual Startup Time": 0.356, "Actual Total Time": 0.974, "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": 186.55, "Plan Rows": 5084, "Plan Width": 0, "Actual Startup Time": 0.34, "Actual Total Time": 0.34, "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.418, "Triggers": [], "Execution Time": 3.45 }, { "Plan": { "Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2290.58, "Total Cost": 2290.71, "Plan Rows": 50, "Plan Width": 86, "Actual Startup Time": 2.274, "Actual Total Time": 2.28, "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": 2279.33, "Total Cost": 2292.04, "Plan Rows": 5084, "Plan Width": 86, "Actual Startup Time": 1.947, "Actual Total Time": 2.128, "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": 187.82, "Total Cost": 1966.37, "Plan Rows": 5084, "Plan Width": 86, "Actual Startup Time": 0.314, "Actual Total Time": 0.723, "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": 186.55, "Plan Rows": 5084, "Plan Width": 0, "Actual Startup Time": 0.3, "Actual Total Time": 0.3, "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.384, "Triggers": [], "Execution Time": 2.443 }, { "Plan": { "Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2290.58, "Total Cost": 2290.71, "Plan Rows": 50, "Plan Width": 86, "Actual Startup Time": 3.025, "Actual Total Time": 3.036, "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": 2279.33, "Total Cost": 2292.04, "Plan Rows": 5084, "Plan Width": 86, "Actual Startup Time": 2.62, "Actual Total Time": 2.857, "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": 187.82, "Total Cost": 1966.37, "Plan Rows": 5084, "Plan Width": 86, "Actual Startup Time": 0.34, "Actual Total Time": 0.933, "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": 186.55, "Plan Rows": 5084, "Plan Width": 0, "Actual Startup Time": 0.324, "Actual Total Time": 0.326, "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.422, "Triggers": [], "Execution Time": 3.266 }, { "Plan": { "Node Type": "Limit", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 2290.58, "Total Cost": 2290.71, "Plan Rows": 50, "Plan Width": 86, "Actual Startup Time": 3.17, "Actual Total Time": 3.178, "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": 2279.33, "Total Cost": 2292.04, "Plan Rows": 5084, "Plan Width": 86, "Actual Startup Time": 2.808, "Actual Total Time": 3.012, "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": 187.82, "Total Cost": 1966.37, "Plan Rows": 5084, "Plan Width": 86, "Actual Startup Time": 0.449, "Actual Total Time": 1.054, "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": 186.55, "Plan Rows": 5084, "Plan Width": 0, "Actual Startup Time": 0.427, "Actual Total Time": 0.428, "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.499, "Triggers": [], "Execution Time": 3.392 } ]