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

Поиск
Список
Период
Сортировка
От Mike Ivanov
Тема Re: Repeated Query is much slower in PostgreSQL8.2.4 than DB2 9.1
Дата
Msg-id 4A5E5A44.5040503@activestate.com
обсуждение исходный текст
Ответ на 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  (ning <mailxiening@gmail.com>)
Список pgsql-performance
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


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

Предыдущее
От: "Haszlakiewicz, Eric"
Дата:
Сообщение: Re: CREATE USER command slows down when user count per server reaches up to 500 000
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Repeated Query is much slower in PostgreSQL8.2.4 than DB2 9.1