Re: Help with a seq scan on multi-million row table

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Help with a seq scan on multi-million row table
Date: 2006-05-11 17:18:08
Message-ID: 20060511171808.GB9089@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Thu, May 11, 2006 at 10:09:44AM -0700, ogjunk-pgjedan(at)yahoo(dot)com wrote:
> Hi Markus & Tom,
>
> Higher statistics for this column.... hm, I'd love to try changing
> it to see how that changes things, but I'm afraid I don't know how
> to do that. How can I change the statistics target value for this
> column?
>
> Ah, I think I found the place:

No. Just ALTER TABLE [name] ALTER [column] SET STATISTICS. See
http://www.postgresql.org/docs/8.1/interactive/sql-altertable.html
for more. You'll need to ANALYSE afterwards.

A

--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
In the future this spectacle of the middle classes shocking the avant-
garde will probably become the textbook definition of Postmodernism.
--Brad Holland

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message ogjunk-pgjedan 2006-05-11 18:46:59 Re: Help with a seq scan on multi-million row table
Previous Message ogjunk-pgjedan 2006-05-11 17:09:44 Re: Help with a seq scan on multi-million row table