pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: tableam: VACUUM and ANALYZE support.
Date: Sun, 31 Mar 2019 02:33:08 +0000
Message-ID: <E1hAQHU-0007cL-9t@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1hAQHU-0007cL-9t@gemulon.postgresql.org>
Permalink:  ../E1hAQHU-0007cL-9t@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hAQHU-0007cL-9t@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: tableam: VACUUM and ANALYZE support.
  In-Reply-To: <E1hAQHU-0007cL-9t@gemulon.postgresql.org>
  References: <E1hAQHU-0007cL-9t@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox