[ { "Plan": { "Node Type": "Sort", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 68385.70, "Total Cost": 68385.70, "Plan Rows": 1, "Plan Width": 40, "Actual Startup Time": 140.044, "Actual Total Time": 141.422, "Actual Rows": 2, "Actual Loops": 1, "Sort Key": ["input.ordinality"], "Sort Method": "quicksort", "Sort Space Used": 25, "Sort Space Type": "Memory", "Shared Hit Blocks": 11953, "Shared Read Blocks": 3895, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 1610, "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": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Async Capable": false, "Startup Cost": 1002.68, "Total Cost": 68385.69, "Plan Rows": 1, "Plan Width": 40, "Actual Startup Time": 0.191, "Actual Total Time": 141.409, "Actual Rows": 2, "Actual Loops": 1, "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Shared Hit Blocks": 11950, "Shared Read Blocks": 3895, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 1610, "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.68, "Total Cost": 67385.59, "Plan Rows": 1, "Plan Width": 40, "Actual Startup Time": 92.068, "Actual Total Time": 138.660, "Actual Rows": 1, "Actual Loops": 3, "Inner Unique": false, "Hash Cond": "(src.id = (input.value)::bigint)", "Shared Hit Blocks": 11950, "Shared Read Blocks": 3895, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 1610, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ ], "Plans": [ { "Node Type": "Index Only Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Async Capable": false, "Scan Direction": "Forward", "Index Name": "rls_bench_nodes_pkey", "Relation Name": "rls_bench_nodes", "Alias": "src", "Startup Cost": 0.42, "Total Cost": 67363.24, "Plan Rows": 3214, "Plan Width": 8, "Actual Startup Time": 0.044, "Actual Total Time": 138.366, "Actual Rows": 3333, "Actual Loops": 3, "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": 330000, "Heap Fetches": 1000000, "Shared Hit Blocks": 11830, "Shared Read Blocks": 3895, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 1610, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ ] }, { "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.018, "Actual Total Time": 0.019, "Actual Rows": 6, "Actual Loops": 3, "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, "Workers": [ ], "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.014, "Actual Total Time": 0.014, "Actual Rows": 6, "Actual Loops": 3, "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, "Workers": [ ] } ] } ] } ] } ] }, "Settings": { "enable_seqscan": "off" }, "Planning": { "Shared Hit Blocks": 124, "Shared Read Blocks": 1, "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.235, "Triggers": [ ], "Execution Time": 141.449 } ]