[ { "Plan": { "Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 768.16, "Total Cost": 768.16, "Plan Rows": 1, "Plan Width": 40, "Actual Startup Time": 2.812, "Actual Total Time": 2.813, "Actual Rows": 2, "Actual Loops": 1, "Sort Key": ["input.ordinality"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Shared Hit Blocks": 116, "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": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Join Type": "Inner", "Startup Cost": 2.54, "Total Cost": 768.15, "Plan Rows": 1, "Plan Width": 40, "Actual Startup Time": 0.181, "Actual Total Time": 2.803, "Actual Rows": 2, "Actual Loops": 1, "Inner Unique": false, "Hash Cond": "(src.id = (input.value)::bigint)", "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, "Plans": [ { "Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "rls_bench_edges_pkey", "Relation Name": "rls_bench_edges", "Alias": "src", "Startup Cost": 0.28, "Total Cost": 765.40, "Plan Rows": 77, "Plan Width": 8, "Actual Startup Time": 0.167, "Actual Total Time": 2.782, "Actual Rows": 99, "Actual Loops": 1, "Filter": "((current_setting('graph.rls_benchmark_policy'::text, true) = 'broad_allow'::text) OR ((current_setting('graph.rls_benchmark_policy'::text, true) = 'sparse_allow'::text) AND ((id % '100'::bigint) = 0)) OR ((current_setting('graph.rls_benchmark_policy'::text, true) = 'sparse_deny'::text) AND ((id % '100'::bigint) <> 0)))", "Rows Removed by Filter": 9900, "Heap Fetches": 9999, "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 }, { "Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1.00, "Total Cost": 1.00, "Plan Rows": 100, "Plan Width": 40, "Actual Startup Time": 0.011, "Actual Total Time": 0.011, "Actual Rows": 6, "Actual Loops": 1, "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 9, "Shared Hit Blocks": 0, "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": "Function Scan", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Function Name": "jsonb_array_elements_text", "Alias": "input", "Startup Cost": 0.00, "Total Cost": 1.00, "Plan Rows": 100, "Plan Width": 40, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 6, "Actual Loops": 1, "Shared Hit Blocks": 0, "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 } ] } ] } ] }, "Settings": { "enable_seqscan": "off" }, "Planning": { "Shared Hit Blocks": 130, "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.199, "Triggers": [ ], "Execution Time": 2.842 } ]