Re: Very slow updates when using IN syntax subselect

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Cc: Bryce Nesbitt <bryce1(at)obviously(dot)com>
Subject: Re: Very slow updates when using IN syntax subselect
Date: 2006-02-11 20:34:57
Message-ID: 200602112134.57572.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Bryce Nesbitt wrote:
> > It seems pretty clear that you've never vacuumed nor analyzed these
> > tables ... else the planner would have some clue about their sizes.
> > Do that and then see what you get.
>
> They occur in fine time. That's good, thanks. But jeeze, can't
> postgres figure this out for itself?

I'm sure you wouldn't appreciate it if PostgreSQL did a full table scan
before each query to figure out the total size of the involved tables.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Bryce Nesbitt 2006-02-11 22:43:03 Re: Very slow updates when using IN syntax subselect
Previous Message Bryce Nesbitt 2006-02-11 19:48:07 Re: Very slow updates when using IN syntax subselect