Обсуждение: pgsql: tableam: VACUUM and ANALYZE support.

Поиск
Список
Период
Сортировка

pgsql: tableam: VACUUM and ANALYZE support.

От
Andres Freund
Дата:
tableam: VACUUM and ANALYZE support.

This is a relatively straightforward move of the current
implementation to sit below tableam. As the current analyze sampling
implementation is pretty inherently block based, the tableam analyze
interface is as well. It might make sense to generalize that at some
point, but that seems like a larger project that shouldn't be
undertaken at the same time as the introduction of tableam.

Author: Andres Freund
Discussion: https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/737a292b5de296615a715ddce2b2d83d1ee245c5

Modified Files
--------------
src/backend/access/heap/heapam_handler.c | 170 +++++++++++++++++++++++++
src/backend/commands/analyze.c           | 207 +++++++------------------------
src/backend/commands/vacuum.c            |   2 +-
src/include/access/tableam.h             | 114 ++++++++++++++++-
4 files changed, 324 insertions(+), 169 deletions(-)