Re: query hangs

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: query hangs
Дата
Msg-id AANLkTikyrWM2Rzza8FOopc0-WR10YiiVJB3s7_pfCjdA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: query hangs  (AI Rumman <rummandba@gmail.com>)
Список pgsql-performance
On Thu, Jun 10, 2010 at 5:36 AM, AI Rumman <rummandba@gmail.com> wrote:
> I found only AccessShareLock in pg_locks during the query.
> And the query does not return data though I have been waiting for 10 mins.
>
> Do you have any idea ?

I have queries that run for hours.  As long as it's using CPU / IO
(use top in unix, whatever in windows to see) it's not hung, it's just
taking longer than you expected.  Those are not the same thing at all.

Seeing as how you're joining three tables with millions of rows with
no where clause, it's gonna take some to complete.  Go grab a
sandwich, etc, come back when it's done.

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

Предыдущее
От: MUHAMMAD ASIF
Дата:
Сообщение: RE: [PERFORM] Dbt2 with postgres issues on CentOS-5.3‏
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Fwd: Dead lock