Re: Posrgres speed problem

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Posrgres speed problem
Дата
Msg-id 20060612150506.GA50764@winnie.fuhr.org
обсуждение исходный текст
Ответ на Posrgres speed problem  (Ruben Rubio Rey <ruben@rentalia.com>)
Ответы Re: Posrgres speed problem
Список pgsql-performance
On Mon, Jun 12, 2006 at 04:38:57PM +0200, Ruben Rubio Rey wrote:
> I have two similar servers, one in production and another for testing
> purposes.
> Databases are equal (with a difference of some hours)
>
> In the testing server, an sql sentence takes arround 1 sec.
> In production server (low server load) takes arround 50 secs, and uses
> too much resources.
>
> Explain analyze takes too much load, i had to cancel it!

The EXPLAIN ANALYZE output would be helpful, but if you don't want
to run it to completion then please post the output of EXPLAIN
ANALYZE for the fast system and EXPLAIN (without ANALYZE) for the
slow one.

As someone else asked, are you running ANALYZE regularly?  What
about VACUUM?

--
Michael Fuhr

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

Предыдущее
От: Ruben Rubio Rey
Дата:
Сообщение: Re: Posrgres speed problem
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: pgsql_tmp and postgres settings