From: Tom Lane <tgl@sss.pgh.pa.us>
To: Manfred Koizar <mkoi-pg@aon.at>
Cc: Robert Treat <xzilla@users.sourceforge.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: query slows down with more accurate stats
Date: Thu, 15 Apr 2004 20:18:49 -0400
Message-ID: <22642.1082074729@sss.pgh.pa.us> (raw)
In-Reply-To: <ri5u70du80gnnt326k2hhuei5nlnimonbs@email.aon.at>
References: <1081879359.25537.526.camel@camel>
<25556.1081883922@sss.pgh.pa.us>
<ri5u70du80gnnt326k2hhuei5nlnimonbs@email.aon.at>
Manfred Koizar <mkoi-pg@aon.at> writes:
> My biggest concern at the moment is that the new sampling method
> violates the contract of returning each possible sample with he same
> probability: getting several tuples from the same page is more likely
> than with the old method.
Hm, are you sure? I recall objecting to your original proposal because
I thought that would happen, but after further thought it seemed not.
Also, I'm not at all sure that the old method satisfies that constraint
completely in the presence of nonuniform numbers of tuples per page,
so we'd not necessarily be going backwards anyhow ...
regards, tom lane
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: tgl@sss.pgh.pa.us, mkoi-pg@aon.at, xzilla@users.sourceforge.net
Subject: Re: query slows down with more accurate stats
In-Reply-To: <22642.1082074729@sss.pgh.pa.us>
* 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