Re: a fast bloat measurement tool (was Re: Measuring relation free space)
Abhijit Menon-Sen <ams@2ndquadrant.com>
From: Abhijit Menon-Sen <ams@2ndQuadrant.com>
To: pgsql-hackers@postgresql.org
Cc: Amit Kapila <amit.kapila16@gmail.com>,
Tomas Vondra <tomas.vondra@2ndquadrant.com>
Date: 2015-03-31T17:13:49Z
Lists: pgsql-hackers
Attachments
- 0001-Add-pgstatbloat-to-pgstattuple.patch (text/x-diff) patch 0001
Hi. I'm just posting this WIP patch where I've renamed fastbloat to pgstatbloat as suggested by Tomas, and added in the documentation, and so on. I still have to incorporate Amit's comments about the estimation of reltuples according to the way vacuum does it, and I expect to post that tomorrow (I just need to test a little more). In the meantime, if anyone else was having trouble installing the extension due to the incorrect version in the control file, this is the patch you should be using. -- Abhijit