Re: Trying to figure out why these queries are so slow

From: Tim Uckun <timuckun(at)gmail(dot)com>
To: Thomas Guettler <hv(at)tbz-pariv(dot)de>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Trying to figure out why these queries are so slow
Date: 2010-10-05 09:39:50
Message-ID: AANLkTinxM6N3P2-oK+wPxX_g=1-jM8A94rBP8UhTh+TQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Oct 5, 2010 at 10:33 PM, Thomas Guettler <hv(at)tbz-pariv(dot)de> wrote:
> Hi,
>
> just a guess: Counting is slow, since it needs to check all rows. Explained here:
>

Actually counting was pretty fast. As I said when I created a table
using the subquery that went pretty fast. The update was the slow
part.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rajesh Kumar Mallah 2010-10-05 10:16:09 Re: streaming replication question
Previous Message Thomas Guettler 2010-10-05 09:33:09 Re: Trying to figure out why these queries are so slow