Re: index usage on arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



andrew klassen <aptklassen@xxxxxxxxx> writes:
> Is there any alternative to what am I currently doing other than creating a row for 
> each array element,

Since (I think) 8.2, you could create a GIN index on the array column
and then array overlap (&&) would be indexable.  GIN has some
performance issues if the table is heavily updated, though.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux