-
- Downloads
Add pgstattuple_approx() to the pgstattuple extension.
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
Showing
- contrib/pgstattuple/Makefile 2 additions, 2 deletionscontrib/pgstattuple/Makefile
- contrib/pgstattuple/pgstatapprox.c 273 additions, 0 deletionscontrib/pgstattuple/pgstatapprox.c
- contrib/pgstattuple/pgstattuple--1.2--1.3.sql 18 additions, 0 deletionscontrib/pgstattuple/pgstattuple--1.2--1.3.sql
- contrib/pgstattuple/pgstattuple--1.3.sql 17 additions, 1 deletioncontrib/pgstattuple/pgstattuple--1.3.sql
- contrib/pgstattuple/pgstattuple.control 1 addition, 1 deletioncontrib/pgstattuple/pgstattuple.control
- doc/src/sgml/pgstattuple.sgml 135 additions, 1 deletiondoc/src/sgml/pgstattuple.sgml
Loading
Please register or sign in to comment