summaryrefslogtreecommitdiff
path: root/contrib/pgstattuple/pgstatapprox.c
AgeCommit message (Collapse)Author
2015-05-23pgindent run for 9.5Bruce Momjian
2015-05-13Add pgstattuple_approx() to the pgstattuple extension.Andres Freund
The new function allows to estimate bloat and other table level statics in a faster, but approximate, way. It does so by using information from the free space map for pages marked as all visible in the visibility map. The rest of the table is actually read and free space/bloat is measured accurately. In many cases that allows to get bloat information much quicker, causing less IO. Author: Abhijit Menon-Sen Reviewed-By: Andres Freund, Amit Kapila and Tomas Vondra Discussion: 20140402214144.GA28681@kea.toroid.org