create table array_test1 as (select (select array_agg((x*100)::int) as y from (select random() as x from generate_series(1,(random()*10)::int + 1 + s * 0)) t) as value from generate_series(1,10000) s);

create table array_test2 as (select (select array_agg((x*x*1500)::int) as y from (select random() as x from generate_series(1,(select (l*l*10 + s * 0)::int from (select random() as l) ll) + 1)) t) as value from generate_series(1,10000) s);

create table array_test3 as (select (select array_agg((x*x*x*5000)::int) as y from (select random() as x from generate_series(1,(select (l*l*100 + s * 0)::int from (select random() as l) ll) + 1)) t) as value from generate_series(1,10000) s);

