From: | Brendan Duddridge <brendan(at)clickspace(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | PostgreSQL-general General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: can't reindex a couple of tables |
Date: | 2006-05-05 20:40:45 |
Message-ID: | FCFB8841-FAF9-4C12-AA2B-E8FD58A1432C@clickspace.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi Tom,
There must have been something like that because when we stopped and
started postgres again, it worked.
Thanks,
____________________________________________________________________
Brendan Duddridge | CTO | 403-277-5591 x24 | brendan(at)clickspace(dot)com
ClickSpace Interactive Inc.
Suite L100, 239 - 10th Ave. SE
Calgary, AB T2G 0V9
On May 5, 2006, at 2:06 PM, Tom Lane wrote:
> Brendan Duddridge <brendan(at)clickspace(dot)com> writes:
>> They both have a click_count column that we update with "update
>> attribute set click_count = click_count + 1;" and the same for the
>> attribute_value table. Postgres is getting hung up on any transaction
>> that attempts to update the click_count. I've vacuum analyzed both
>> tables and that worked fine. Now I tried to reindex them and Postgres
>> is just locking up and never finishing. I had to cancel the reindex.
>
> I'd wonder about some open transaction with a weak lock on these
> tables. REINDEX needs exclusive lock, vacuum doesn't.
> Look in pg_locks ...
>
> regards, tom lane
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
From | Date | Subject | |
---|---|---|---|
Next Message | Sean Hamilton | 2006-05-05 20:48:28 | Rules on Select |
Previous Message | Tom Lane | 2006-05-05 20:06:24 | Re: can't reindex a couple of tables |