Re: Why our counters need to be time-based WAS: WIP: cross column correlation ...
Josh Berkus <josh@agliodbs.com>
From: Josh Berkus <josh@agliodbs.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers Hackers <pgsql-hackers@postgresql.org>
Date: 2011-02-28T18:31:29Z
Lists: pgsql-hackers
On 2/28/11 10:24 AM, Robert Haas wrote:
> On Mon, Feb 28, 2011 at 1:04 PM, Josh Berkus <josh@agliodbs.com> wrote:
>> On the other hand, anything which increases the size of pg_statistic
>> would be a nightmare.
>
> Hmm?
Like replacing each statistic with a series of time-based buckets, which
would then increase the size of the table by 5X to 10X. That was the
first solution I thought of, and rejected.
--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com