Re: Updates, deletes and inserts are very slow. What can I do make them bearable?

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Tim Uckun <timuckun(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Updates, deletes and inserts are very slow. What can I do make them bearable?
Date: 2010-10-21 07:52:09
Message-ID: AANLkTikLMrEfDiqXfs8LAbzgCqkAGr=j741+pPtmq=oc@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Oct 20, 2010 at 11:05 PM, Tim Uckun <timuckun(at)gmail(dot)com> wrote:
>>
>> No, it isn't.  This is a three-way join between consolidated_urls, cu,
>> and tu --- the fact that cu is the same underlying table as
>
> cu is an alias for consolidated_urls. tu is an alias for trending_urls.
>
> There are only two tables in the query.

What does

explain update (your query continues) say about it? I'm betting you
get a nice big row count in there somewhere.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mathieu De Zutter 2010-10-21 10:20:43 Re: Question on Explain : Index Scan
Previous Message Richard Huxton 2010-10-21 07:49:13 Re: Upgrade from 8.3.3