Re: Repeated Query is much slower in PostgreSQL8.2.4 than DB2 9.1

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

 



ning wrote:
The log is really long,

Which usually signals a problem with the query.

but I compared the result of "explain analyze"
for first and later executions, except for 3 "time=XXX" numbers, they
are identical.

They are supposed to be identical unless something is really badly broken.

I agree with you that PostgreSQL is doing different level of caching,
I just wonder if there is any way to speed up PostgreSQL in this
scenario,

This is what EXPLAIN ANALYZE for. Could you post the results please?

Cheers,
Mike


--
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