Re: Update is very slow on a bigger table

Поиск
Список
Период
Сортировка
От Dimitar Georgievski
Тема Re: Update is very slow on a bigger table
Дата
Msg-id 1082126436.12136.46.camel@hklog
обсуждение исходный текст
Ответ на Re: Update is very slow on a bigger table  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Tom,

Yes. it looks like there was some locking condition in the database. in
the meantime it disappeared and the updates run quickly. 

thanks for your help. this is the first time i'm working with PostgreSQL
and wasn't sure where to look for possible causes of the problem.

thanks,

dimitar

On Thu, 2004-04-15 at 18:51, Tom Lane wrote:
> Dimitar Georgievski <dgeorgievski@horizonk.com> writes:
> > the process under which the update is running reports among the usual
> > process data "UPDATE waiting".
> 
> I don't think the UPDATE is doing anything at all --- that ps output
> implies that it's waiting for some other backend to release an exclusive
> lock on the table, or an update lock on one of the rows to be updated.
> 
> The pg_locks view might help you determine who's the culprit.
> 
>             regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Update is very slow on a bigger table
Следующее
От: Pallav Kalva
Дата:
Сообщение: Querying two databases