5850b20f58
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
21 lines
603 B
Makefile
21 lines
603 B
Makefile
# contrib/pgstattuple/Makefile
|
|
|
|
MODULE_big = pgstattuple
|
|
OBJS = pgstattuple.o pgstatindex.o pgstatapprox.o $(WIN32RES)
|
|
|
|
EXTENSION = pgstattuple
|
|
DATA = pgstattuple--1.3.sql pgstattuple--1.2--1.3.sql pgstattuple--1.1--1.2.sql pgstattuple--1.0--1.1.sql pgstattuple--unpackaged--1.0.sql
|
|
PGFILEDESC = "pgstattuple - tuple-level statistics"
|
|
|
|
REGRESS = pgstattuple
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/pgstattuple
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|