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

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Repeated Query is much slower in PostgreSQL8.2.4 than DB2 9.1
Дата
Msg-id 200907161152.55199.andres@anarazel.de
обсуждение исходный текст
Ответ на Re: Repeated Query is much slower in PostgreSQL8.2.4 than DB2 9.1  (ning <mailxiening@gmail.com>)
Ответы Re: Repeated Query is much slower in PostgreSQL8.2.4 than DB2 9.1  (Dimitri Fontaine <dfontaine@hi-media.com>)
Список pgsql-performance
On Thursday 16 July 2009 11:46:18 ning wrote:
> I'm sorry, they are in milliseconds, not seconds.
> The time used is quite same to the result of "explain analyze select
> ...." I pasted above,
> which was " Total runtime: 0.479 ms".
Yea. Unfortunately that time does not including planning time. If you work
locally on the server using psql you can use '\timing' to make psql output
timing information.

If I interpret those findings correcty the execution is approx. as fast as DB2,
only DB2 is doing automated plan caching while pg is not.

If it _really_ is necessary that this is that fast, you can prepare the query
like I showed.

Andres

В списке pgsql-performance по дате отправления:

Предыдущее
От: ning
Дата:
Сообщение: Re: Repeated Query is much slower in PostgreSQL8.2.4 than DB2 9.1
Следующее
От: Scott Mead
Дата:
Сообщение: Re: cluster index on a table