Re: Query optimizer 8.0.1 (and 8.0)

From: pgsql(at)mohawksoft(dot)com
To: josh(at)agliodbs(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Query optimizer 8.0.1 (and 8.0)
Date: 2005-02-08 22:43:30
Message-ID: 16603.24.91.171.78.1107902610.squirrel@mail.mohawksoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Mark, Stephen, etc:
>
>> > I can see your point, however I wonder if the issue is that the
>> default
>> > stats settings of '10' (3000 rows, 10 histogram buckets) is too low,
>> and
>> > maybe we should consider making a higher value (say '100') the
>> default.
>>
>> Personally, I think that'd be reasonable.
>
> I don't really think that we want to increase sampling for *all* columns.
> Each column that doesn't get queried but has increased stats adds the size
> of
> the pg_stats table and the amount of vacuuming it needs, decreasing
> performance of stats lookups. Especially when very large text and BYTEA
> columns are involved.
>
> Neil and I talked about setting a seperate GUC,
> default_index_stats_target,
> for 8.0 that would dramatically increase the stats sampling for indexed
> columns only (say, to 250). Unfortunately, I was unable to come up with
> a
> good test case for setting this value.
>
> Perhaps the Tiger database would allow us to set up a good test case.
> Does
> anyone have a well-indexed PG Tiger I could play with?

Hey, I can give you a copy of RT1 which is fine, but it is 1.1G
compressed. I'd have to mail you a DVD.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message elein 2005-02-08 22:51:10 Re: Interpretation of TRUSTED
Previous Message David Fetter 2005-02-08 22:39:00 Re: Interpretation of TRUSTED