| Subquery Scan on fin_arr (cost=1309.35..1434.35 rows=10000 width=16) (actual time=0.131..0.139 rows=30 loops=1) |
| Output: fin_arr.arr, fin_arr.rn, fin_arr.seq |
| Buffers: shared hit=5 |
| CTE cte_fill_arr |
| -> Recursive Union (cost=0.00..385.61 rows=31 width=36) (actual time=0.001..0.027 rows=6 loops=1) |
| Buffers: shared hit=1 |
| -> Result (cost=0.00..0.01 rows=1 width=36) (actual time=0.001..0.001 rows=1 loops=1) |
| Output: 1, '{1}'::integer[] |
| -> WorkTable Scan on cte_fill_arr (cost=38.25..38.50 rows=3 width=36) (actual time=0.003..0.003 rows=1 loops=6) |
| Output: (cte_fill_arr.n + 1), array_append(cte_fill_arr.f_arr, (cte_fill_arr.n + 1)) |
| Filter: (cte_fill_arr.n < $1) |
| Rows Removed by Filter: 0 |
| Buffers: shared hit=1 |
| InitPlan 1 (returns $1) |
| -> Seq Scan on public.param (cost=0.00..38.25 rows=2260 width=4) (actual time=0.005..0.005 rows=1 loops=1) |
| Output: (param.n * 2) |
| Buffers: shared hit=1 |
| -> Sort (cost=923.75..948.75 rows=10000 width=16) (actual time=0.130..0.133 rows=30 loops=1) |
| Output: (row_number() OVER (?)), (unnest($4)), (unnest($7)) |
| Sort Key: (row_number() OVER (?)), (unnest($4)) |
| Sort Method: quicksort Memory: 26kB |
| Buffers: shared hit=5 |
| InitPlan 4 (returns $4) |
| -> CTE Scan on cte_fill_arr cte_fill_arr_1 (cost=38.25..39.02 rows=1 width=32) (actual time=0.037..0.038 rows=1 loops=1) |
| Output: cte_fill_arr_1.f_arr |
| Filter: (cardinality(cte_fill_arr_1.f_arr) = $3) |
| Rows Removed by Filter: 5 |
| Buffers: shared hit=2 |
| InitPlan 3 (returns $3) |
| -> Seq Scan on public.param param_1 (cost=0.00..38.25 rows=2260 width=4) (actual time=0.005..0.005 rows=1 loops=1) |
| Output: (param_1.n * 2) |
| Buffers: shared hit=1 |
| InitPlan 7 (returns $7) |
| -> Append (cost=32.60..105.23 rows=2000 width=4) (actual time=0.011..0.021 rows=6 loops=1) |
| Buffers: shared hit=2 |
| -> ProjectSet (cost=32.60..37.62 rows=1000 width=4) (actual time=0.011..0.012 rows=3 loops=1) |
| Output: generate_series(1, $5) |
| Buffers: shared hit=1 |
| InitPlan 5 (returns $5) |
| -> Seq Scan on public.param param_2 (cost=0.00..32.60 rows=2260 width=4) (actual time=0.005..0.005 rows=1 loops=1) |
| Output: param_2.n |
| Buffers: shared hit=1 |
| -> Result (cost=0.00..0.01 rows=1 width=0) (actual time=0.000..0.000 rows=1 loops=1) |
| -> ProjectSet (cost=32.60..37.62 rows=1000 width=4) (actual time=0.006..0.007 rows=3 loops=1) |
| Output: generate_series($6, 1, '-1'::integer) |
| Buffers: shared hit=1 |
| InitPlan 6 (returns $6) |
| -> Seq Scan on public.param param_3 (cost=0.00..32.60 rows=2260 width=4) (actual time=0.004..0.005 rows=1 loops=1) |
| Output: param_3.n |
| Buffers: shared hit=1 |
| -> Result (cost=0.00..0.01 rows=1 width=0) (actual time=0.000..0.000 rows=1 loops=1) |
| InitPlan 8 (returns $8) |
| -> Seq Scan on public.param param_4 (cost=0.00..32.60 rows=2260 width=4) (actual time=0.007..0.008 rows=1 loops=1) |
| Output: param_4.m |
| Buffers: shared hit=1 |
| -> ProjectSet (cost=0.00..82.50 rows=10000 width=16) (actual time=0.089..0.118 rows=30 loops=1) |
| Output: (row_number() OVER (?)), unnest($4), unnest($7) |
| Buffers: shared hit=5 |
| -> WindowAgg (cost=0.00..22.50 rows=1000 width=8) (actual time=0.027..0.048 rows=5 loops=1) |
| Output: row_number() OVER (?) |
| Buffers: shared hit=1 |
| -> Function Scan on pg_catalog.generate_series x (cost=0.00..10.00 rows=1000 width=0) (actual time=0.021..0.022 rows=5 loops=1) |
| Function Call: generate_series(1, $8) |
| Buffers: shared hit=1 |
| Planning Time: 0.240 ms |
| Execution Time: 0.198 ms |