pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: John A Meinel <john@arbash-meinel.com>
Cc: Mischa Sandberg <mischa.sandberg@telus.net>
Cc: Markus Schaber <schabi@logix-tt.com>
Cc: pgsql-perform <pgsql-performance@postgresql.org>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [PERFORM] Bad n_distinct estimation; hacks suggested?
Date: Tue, 3 May 2005 17:52:54 -0700
Message-ID: <200505031752.54293.josh@agliodbs.com> (raw)
In-Reply-To: <42781B1D.7070101@arbash-meinel.com>
References: <200504191209.05181.josh@agliodbs.com>
	<200505031443.44859.josh@agliodbs.com>
	<42781B1D.7070101@arbash-meinel.com>

John,

> But doesn't an index only sample one column at a time, whereas with
> page-based sampling, you can sample all of the columns at once. 

Hmmm.  Yeah, we're not currently doing that though.  Another good idea ...

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco



view thread (53+ messages)  latest in thread

Message-ID: <200505031752.54293.josh@agliodbs.com>
Permalink:  ../200505031752.54293.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200505031752.54293.josh@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, john@arbash-meinel.com, mischa.sandberg@telus.net, schabi@logix-tt.com, pgsql-hackers@postgresql.org
  Subject: Re: [PERFORM] Bad n_distinct estimation; hacks suggested?
  In-Reply-To: <200505031752.54293.josh@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox