Function Scan on pg_catalog.generate_series b (cost=0.00..2.46 rows=6 width=40) (actual time=0.066..0.121 rows=6 loops=1) |
Output: (SubPlan 1), (SubPlan 2), (SubPlan 3) |
Function Call: generate_series(1, 6) |
SubPlan 1 |
-> Limit (cost=0.14..0.14 rows=1 width=12) (actual time=0.005..0.005 rows=1 loops=6) |
Output: val.val, (((random() + (b.n)::double precision) - (b.n)::double precision)) |
-> Sort (cost=0.14..0.15 rows=5 width=12) (actual time=0.005..0.005 rows=1 loops=6) |
Output: val.val, (((random() + (b.n)::double precision) - (b.n)::double precision)) |
Sort Key: (((random() + (b.n)::double precision) - (b.n)::double precision)) |
Sort Method: top-N heapsort Memory: 25kB |
-> Function Scan on pg_catalog.unnest val (cost=0.00..0.12 rows=5 width=12) (actual time=0.002..0.003 rows=5 loops=6) |
Output: val.val, ((random() + (b.n)::double precision) - (b.n)::double precision) |
Function Call: unnest('{50,60,80,100,200}'::integer[]) |
SubPlan 2 |
-> Limit (cost=0.14..0.14 rows=1 width=12) (actual time=0.005..0.005 rows=1 loops=6) |
Output: val_1.val, (((random() + (b.n)::double precision) - (b.n)::double precision)) |
-> Sort (cost=0.14..0.15 rows=5 width=12) (actual time=0.005..0.005 rows=1 loops=6) |
Output: val_1.val, (((random() + (b.n)::double precision) - (b.n)::double precision)) |
Sort Key: (((random() + (b.n)::double precision) - (b.n)::double precision)) |
Sort Method: top-N heapsort Memory: 25kB |
-> Function Scan on pg_catalog.unnest val_1 (cost=0.00..0.12 rows=5 width=12) (actual time=0.002..0.002 rows=5 loops=6) |
Output: val_1.val, ((random() + (b.n)::double precision) - (b.n)::double precision) |
Function Call: unnest('{50,60,80,100,200}'::integer[]) |
SubPlan 3 |
-> Limit (cost=0.11..0.12 rows=1 width=40) (actual time=0.005..0.005 rows=1 loops=6) |
Output: val_2.val, (((random() + (b.n)::double precision) - (b.n)::double precision)) |
-> Sort (cost=0.11..0.12 rows=4 width=40) (actual time=0.005..0.005 rows=1 loops=6) |
Output: val_2.val, (((random() + (b.n)::double precision) - (b.n)::double precision)) |
Sort Key: (((random() + (b.n)::double precision) - (b.n)::double precision)) |
Sort Method: top-N heapsort Memory: 25kB |
-> Function Scan on pg_catalog.unnest val_2 (cost=0.00..0.09 rows=4 width=40) (actual time=0.003..0.003 rows=4 loops=6) |
Output: val_2.val, ((random() + (b.n)::double precision) - (b.n)::double precision) |
Function Call: unnest('{1.5,1.8,2.1,2.5}'::numeric[]) |
Planning Time: 0.080 ms |
Execution Time: 0.169 ms |