Re: Bad n_distinct estimation; hacks suggested?

From: "Dave Held" <dave(dot)held(at)arrayservicesgrp(dot)com>
To: "pgsql-perform" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Bad n_distinct estimation; hacks suggested?
Date: 2005-04-19 20:01:57
Message-ID: 49E94D0CFCD4DB43AFBA928DDD20C8F9026184BC@asg002.asg.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> -----Original Message-----
> From: Josh Berkus [mailto:josh(at)agliodbs(dot)com]
> Sent: Tuesday, April 19, 2005 2:09 PM
> To: pgsql-perform
> Subject: [PERFORM] Bad n_distinct estimation; hacks suggested?
>
> [...]
> (BTW, increasing the stats to 1000 only doubles n_distinct,
> and doesn't solve the problem)

Speaking of which, is there a reason why statistics are limited
to 1000? Performance?

__
David B. Held
Software Engineer/Array Services Group
200 14th Ave. East, Sartell, MN 56377
320.534.3637 320.253.7800 800.752.8129

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2005-04-19 20:44:49 Re: Bad n_distinct estimation; hacks suggested?
Previous Message Josh Berkus 2005-04-19 19:09:05 Bad n_distinct estimation; hacks suggested?