Re: Slow update

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Bendik R(dot) Johansen" <bendik(dot)johansen(at)gmail(dot)com>
Cc: PostgreSQL Perform <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Slow update
Date: 2005-04-12 15:40:38
Message-ID: 21383.1113320438@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Bendik R. Johansen" <bendik(dot)johansen(at)gmail(dot)com> writes:
> Yes, I tried dropping it but it did not make a difference.
> Could the table be corrupt or something?

You didn't directly answer the question about whether there were foreign
keys leading to this table. Checking foreign keys could be the problem,
particularly if the referencing columns don't have indexes.

Also, maybe the table is just bloated? What does VACUUM VERBOSE say
about it?

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Matthew Nuzum 2005-04-12 16:25:04 performance hit for replication
Previous Message Bendik R.Johansen 2005-04-12 15:37:42 Re: Slow update