Re: Why Does UPDATE Take So Long? - Mailing list pgsql-general

From Jeff Davis
Subject Re: Why Does UPDATE Take So Long?
Date
Msg-id 1222814257.6275.30.camel@dell.linuxdev.us.dell.com
Whole thread Raw
In response to Re: Why Does UPDATE Take So Long?  (Bill Thoen <bthoen@gisnet.com>)
Responses Re: Why Does UPDATE Take So Long?  ("Scott Marlowe" <scott.marlowe@gmail.com>)
List pgsql-general
On Tue, 2008-09-30 at 16:34 -0600, Bill Thoen wrote:
> > Also, how many indexes does this table have?
> >
> >
> Two, but the column I'm updating isn't included in either one of them.
>

Even if the column is not indexed, when a new row is created (which is
the case with UPDATE) a new index entry must be made in each index to
point to the new row.

    Regards,
        Jeff Davis


pgsql-general by date:

Previous
From: Bill Thoen
Date:
Subject: Re: Why Does UPDATE Take So Long?
Next
From: "Scott Marlowe"
Date:
Subject: Re: Why Does UPDATE Take So Long?