Re: Strange avg value size for index on expression in pg_stats

From: Jehan-Guillaume de Rorthais <ioguix(at)free(dot)fr>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Strange avg value size for index on expression in pg_stats
Date: 2014-11-10 11:00:45
Message-ID: 20141110120045.7cc7c976@erg
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 10 Nov 2014 11:52:54 +0100
Jehan-Guillaume de Rorthais <ioguix(at)free(dot)fr> wrote:

> Hello,
>
> I'm not sure if I should post here or on pgsql-hackers.
>
> While investigating about a wrong result with my btree bloat estimation query,
> I found a strange stat deviation between the average size of a value in its
> table and its average size in one index on the "lower" expression.

Oh, I forgot to add links to this query, for testing purpose:

* https://gist.github.com/ioguix/c29d5790b8b93bf81c27
* explanations, see http://blog.ioguix.net/tag/bloat/

Cheers,

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Condor 2014-11-10 11:34:24 Strange result using pg_dump gzip or split.
Previous Message Jehan-Guillaume de Rorthais 2014-11-10 10:52:54 Strange avg value size for index on expression in pg_stats