pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rod Taylor <rbt@sitesell.com>
To: Greg Stark <gsstark@mit.edu>
Cc: Gurmeet Manku <manku@cs.stanford.edu>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [PERFORM] Bad n_distinct estimation; hacks suggested?
Date: Tue, 26 Apr 2005 19:10:11 -0400
Message-ID: <1114557011.77587.107.camel@home> (raw)
In-Reply-To: <87u0lt5efo.fsf@stark.xeocode.com>
References: <Pine.LNX.4.44.0504261443340.12051-100000@xenon.Stanford.EDU>
	<87u0lt5efo.fsf@stark.xeocode.com>

On Tue, 2005-04-26 at 19:03 -0400, Greg Stark wrote:
> This one looks *really* good. 
> 
>  http://www.aladdin.cs.cmu.edu/papers/pdfs/y2001/dist_sampl.pdf
> 
> It does require a single full table scan 

Ack.. Not by default please.

I have a few large append-only tables (vacuum isn't necessary) which do
need stats rebuilt periodically.

Lets just say that we've been working hard to upgrade to 8.0 primarily
because pg_dump was taking over 18 hours to make a backup.

-- 
Rod Taylor <rbt@sitesell.com>




view thread (53+ messages)  latest in thread

Message-ID: <1114557011.77587.107.camel@home>
Permalink:  ../1114557011.77587.107.camel@home/
Also on:    postgresql.org/message-id/1114557011.77587.107.camel@home

 · 

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: rbt@sitesell.com, gsstark@mit.edu, manku@cs.stanford.edu, pgsql-hackers@postgresql.org
  Subject: Re: [PERFORM] Bad n_distinct estimation; hacks suggested?
  In-Reply-To: <1114557011.77587.107.camel@home>

* 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