Re: Very slow updates when using IN syntax subselect - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: Very slow updates when using IN syntax subselect
Date
Msg-id 200602112134.57572.peter_e@gmx.net
Whole thread Raw
In response to Re: Very slow updates when using IN syntax subselect  (Bryce Nesbitt <bryce1@obviously.com>)
Responses Re: Very slow updates when using IN syntax subselect  (Bryce Nesbitt <bryce1@obviously.com>)
Re: Very slow updates when using IN syntax subselect  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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/


pgsql-sql by date:

Previous
From: Bryce Nesbitt
Date:
Subject: Re: Very slow updates when using IN syntax subselect
Next
From: Bryce Nesbitt
Date:
Subject: Re: Very slow updates when using IN syntax subselect