GroupAggregate (cost=12077.82..13305.45 rows=200 width=36) (actual time=0.112..0.127 rows=3 loops=1) |
Output: t02.d, string_agg(((unnest((string_to_array(c.current_data, ','::text))::integer[])))::text, ','::text ORDER BY (unnest((string_to_array(c.current_data, ','::text))::integer[]))) |
Group Key: t02.d |
Buffers: shared hit=2 |
-> Unique (cost=12077.82..12411.95 rows=44550 width=8) (actual time=0.094..0.102 rows=19 loops=1) |
Output: t02.d, (unnest((string_to_array(c.current_data, ','::text))::integer[])) |
Buffers: shared hit=2 |
-> Sort (cost=12077.82..12189.20 rows=44550 width=8) (actual time=0.094..0.097 rows=25 loops=1) |
Output: t02.d, (unnest((string_to_array(c.current_data, ','::text))::integer[])) |
Sort Key: t02.d, (unnest((string_to_array(c.current_data, ','::text))::integer[])) |
Sort Method: quicksort Memory: 26kB |
Buffers: shared hit=2 |
-> ProjectSet (cost=581.20..8637.86 rows=44550 width=8) (actual time=0.056..0.084 rows=25 loops=1) |
Output: t02.d, unnest((string_to_array(c.current_data, ','::text))::integer[]) |
Buffers: shared hit=2 |
-> Nested Loop (cost=581.20..8125.54 rows=4455 width=36) (actual time=0.054..0.073 rows=7 loops=1) |
Output: c.current_data, t02.d |
Join Filter: (t02.d = ANY ((string_to_array(c.current_data, ','::text))::integer[])) |
Rows Removed by Join Filter: 11 |
Buffers: shared hit=2 |
-> Seq Scan on public.current c (cost=0.00..23.60 rows=1360 width=32) (actual time=0.007..0.008 rows=6 loops=1) |
Output: c.current_data |
Buffers: shared hit=1 |
-> Materialize (cost=581.20..584.71 rows=67 width=4) (actual time=0.006..0.007 rows=3 loops=6) |
Output: t02.d |
Buffers: shared hit=1 |
-> Subquery Scan on t02 (cost=581.20..584.37 rows=67 width=4) (actual time=0.031..0.035 rows=3 loops=1) |
Output: t02.d |
Buffers: shared hit=1 |
-> HashAggregate (cost=581.20..583.70 rows=67 width=12) (actual time=0.031..0.034 rows=3 loops=1) |
Output: (((unnest(string_to_array(c_1.current_data, ','::text))))::integer), NULL::bigint |
Group Key: ((unnest(string_to_array(c_1.current_data, ','::text))))::integer |
Filter: (count((((unnest(string_to_array(c_1.current_data, ','::text))))::integer)) > 1) |
Batches: 1 Memory Usage: 40kB |
Rows Removed by Filter: 12 |
Buffers: shared hit=1 |
-> Result (cost=0.00..377.20 rows=13600 width=12) (actual time=0.010..0.022 rows=19 loops=1) |
Output: ((unnest(string_to_array(c_1.current_data, ','::text))))::integer, NULL::bigint |
Buffers: shared hit=1 |
-> ProjectSet (cost=0.00..105.20 rows=13600 width=32) (actual time=0.009..0.018 rows=19 loops=1) |
Output: unnest(string_to_array(c_1.current_data, ','::text)) |
Buffers: shared hit=1 |
-> Seq Scan on public.current c_1 (cost=0.00..23.60 rows=1360 width=32) (actual time=0.004..0.005 rows=6 loops=1) |
Output: c_1.current_data |
Buffers: shared hit=1 |
Planning Time: 0.192 ms |
Execution Time: 0.206 ms |