Mark kirkwood <markir(at)slingshot(dot)co(dot)nz> writes:
> everything looks good except for n_distinct ( its negative - should be 5)
This is okay; see the documentation about what n_distinct means.
I'd be interested in a better rule-of-thumb for estimating whether the
number of distinct values in a column should be assumed to scale with
the total table size or not. That 10% threshold was just pulled out
of the air...
regards, tom lane
In response to
pgsql-general by date
|Next:||From: Robert B. Easter||Date: 2001-10-29 17:26:33|
|Subject: Re: trigger function in plpgsql (newbie)|
|Previous:||From: Pedro Alves||Date: 2001-10-29 16:42:22|
|Subject: Running vacuum on cron|