From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bendik R. Johansen <bendik.johansen@gmail.com>
Cc: PostgreSQL Perform <pgsql-performance@postgresql.org>
Subject: Re: Slow update
Date: Tue, 12 Apr 2005 11:40:38 -0400
Message-ID: <21383.1113320438@sss.pgh.pa.us> (raw)
In-Reply-To: <9e217f24329eaf693ab6921123213178@gmail.com>
References: <0201deb23790cee173bdd2d3f0e96642@gmail.com>
<15725.1113316540@sss.pgh.pa.us>
<4bbbc6d3a436e415be630d768d609ef6@gmail.com>
<16172.1113319006@sss.pgh.pa.us>
<9e217f24329eaf693ab6921123213178@gmail.com>
"Bendik R. Johansen" <bendik.johansen@gmail.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, bendik.johansen@gmail.com
Subject: Re: Slow update
In-Reply-To: <21383.1113320438@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox