Re: analyzing intermediate query

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

 



My list can contain 1 .. 100000 records and table contains 3000000 records and is growing.

Ah. No IN(), then ;)
Temp table + ANALYZE seems your only option...

In 8.3 or 8.4 I think that IN() or temp table produce exactly the same result.

Andrus.

--
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

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

  Powered by Linux