Re: Queries very slow and memory consumption too high

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Queries very slow and memory consumption too high
Дата
Msg-id D960CB61B694CF459DCFB4B0128514C202FF6669@exadv11.host.magwien.gv.at
обсуждение исходный текст
Ответ на Queries very slow and memory consumption too high  (Saurabh Dave <saurabhdave@gmail.com>)
Ответы Re: Queries very slow and memory consumption too high
Список pgsql-jdbc
Saurabh Dave wrote:
> I am using Postgres 8.2.10 + Hibernate + c3p0 connection pooling.
> For our application we support MySQL + Oracle + MSSQL + Postgres.
>
> With all the other databases our application is working quite
> fine, but with Postgres after a day queries are becoming
> extremely slow and it seems to be taking up all the available memory.
>
> Please let me know what could be the issue. I am new to
> Postgres, so any help would be greatly appreciated.

You'll have to analyze *what* is slow.

Is it the database server or some other component?

It helps to have the various components installed on different machines.

Once you have found out what is slow, drill down there.

If it turns out to be the database and need help, you'll have to provide
EXPLAIN ANALYZE output of a sample query that runs fast in the
beginning and slow later.

Yours,
Laurenz Albe

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

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: Queries very slow and memory consumption too high
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: prepared transaction with identifier "1197822575_XAAAAAAAAABHVE1JRAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==_AQAAAAAAAABHVE1JRAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==" does not ex