

create table arraytbl (iarr int[]);

insert into arraytbl select array_agg(i) from generate_series(1, 1000) i, generate_series(1, 100000) g  group by g;

\timing on

create index on arraytbl using gin (iarr);
create index on arraytbl using gin (iarr);
create index on arraytbl using gin (iarr);

\timing off
