Re: doc: BRIN indexes and autosummarize

From: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Roberto Mello <roberto(dot)mello(at)gmail(dot)com>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Justin Pryzby <pryzby(at)telsasoft(dot)com>
Subject: Re: doc: BRIN indexes and autosummarize
Date: 2022-07-04 20:49:52
Message-ID: YsNScLPHKcBBp4oO@ahch-to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jul 04, 2022 at 09:38:42PM +0200, Alvaro Herrera wrote:
> What about this?
>
> --
> Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
> "Java is clearly an example of money oriented programming" (A. Stepanov)

> diff --git a/doc/src/sgml/brin.sgml b/doc/src/sgml/brin.sgml
> index caf1ea4cef..0a715d41c7 100644
> --- a/doc/src/sgml/brin.sgml
> +++ b/doc/src/sgml/brin.sgml
> @@ -73,31 +73,55 @@
> summarized range, that range does not automatically acquire a summary
> tuple; those tuples remain unsummarized until a summarization run is
> invoked later, creating initial summaries.
> - This process can be invoked manually using the
> - <function>brin_summarize_range(regclass, bigint)</function> or
> - <function>brin_summarize_new_values(regclass)</function> functions;
> - automatically when <command>VACUUM</command> processes the table;
> - or by automatic summarization executed by autovacuum, as insertions
> - occur. (This last trigger is disabled by default and can be enabled
> - with the <literal>autosummarize</literal> parameter.)
> - Conversely, a range can be de-summarized using the
> - <function>brin_desummarize_range(regclass, bigint)</function> function,
> - which is useful when the index tuple is no longer a very good
> - representation because the existing values have changed.
> + </para>
> +

I feel that somewhere in this paragraph it should be mentioned that is
off by default.

otherwise, +1

--
Jaime Casanova
Director de Servicios Profesionales
SystemGuards - Consultores de PostgreSQL

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2022-07-04 20:54:04 Re: pgsql: dshash: Add sequential scan support.
Previous Message Andres Freund 2022-07-04 20:32:22 Re: Lazy JIT IR code generation to increase JIT speed with partitions