pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-hackers@postgresql.org
Subject: Maximum statistics target
Date: Fri, 7 Mar 2008 19:25:25 +0100
Message-ID: <200803071925.26532.peter_e@gmx.net> (raw)

Related to the concurrent discussion about selectivity estimations ...

What is the reason the statistics target is limited to 1000?  I've seen more 
than one case where increasing the statistics target to 1000 improved results 
and one would have wanted to increase it further.

What's the problem with setting it to ten million if I have ten million values 
in the table and I am prepared to spend the resources to maintain those 
statistics?



view thread (13+ messages)  latest in thread

Message-ID: <200803071925.26532.peter_e@gmx.net>
Permalink:  ../200803071925.26532.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200803071925.26532.peter_e@gmx.net

 · 

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-hackers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: Maximum statistics target
  In-Reply-To: <200803071925.26532.peter_e@gmx.net>

* 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