Skip site navigation (1) Skip section navigation (2)

Re: Query optimizer 8.0.1 (and 8.0)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql(at)mohawksoft(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Query optimizer 8.0.1 (and 8.0)
Date: 2005-02-04 22:17:35
Message-ID: 17961.1107555455@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
pgsql(at)mohawksoft(dot)com writes:
> I suspect that analyze only samples a very small amount of the database
> and gets the wrong idea about it. Is there a way to force analyze to
> sample more  rows?

default_statistics_target.  But let's see the pg_stats rows for these
columns before assuming that analyze is getting it wrong.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Stephen FrostDate: 2005-02-04 22:23:27
Subject: Re: Query optimizer 8.0.1 (and 8.0)
Previous:From: Philip WarnerDate: 2005-02-04 22:14:16
Subject: Re: Escaping the ARC patent

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group