pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-perform <pgsql-performance@postgresql.org>
To: pgsql-hackers@postgresql.org
Subject: Re: Bad n_distinct estimation; hacks suggested?
Date: Sat, 23 Apr 2005 16:53:16 -0700
Message-ID: <200504231653.16317.josh@agliodbs.com> (raw)
In-Reply-To: <200504231639.11897.josh@agliodbs.com>
References: <200504191209.05181.josh@agliodbs.com>
	<8764ydapky.fsf@stark.xeocode.com>
	<200504231639.11897.josh@agliodbs.com>

People,

> Can someone whose math is more recent than calculus in 1989 take a look at
> that paper, and look at the formula toward the bottom of page 10, and see
> if we are correctly interpreting it?    I'm particularly confused as to
> what "q" and "d-sub-n" represent.  Thanks!

Actually, I managed to solve for these and it appears we are using the formula 
correctly.  It's just a bad formula.

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco



view thread (53+ messages)  latest in thread

Message-ID: <200504231653.16317.josh@agliodbs.com>
Permalink:  ../200504231653.16317.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200504231653.16317.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, pgsql-hackers@postgresql.org
  Subject: Re: Bad n_distinct estimation; hacks suggested?
  In-Reply-To: <200504231653.16317.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