Re: document that brin's autosummarize parameter is off by default - Mailing list pgsql-hackers

From Justin Pryzby
Subject Re: document that brin's autosummarize parameter is off by default
Date
Msg-id 20220224193520.GY9008@telsasoft.com
Whole thread Raw
In response to document that brin's autosummarize parameter is off by default  (Jaime Casanova <jcasanov@systemguards.com.ec>)
List pgsql-hackers
Ten months ago, Jaime Casanova wrote:
> Hi everyone,
> 
> Just noted that the default value of autosummarize reloption for brin
> indexes is not documented, or at least not well documented.
> 
> I added the default value in create_index.sgml where other options
> mention their own defaults, also made a little change in brin.sgml to 
> make it more clear that is disabled by default (at least the way it 
> was written made no sense for me, but it could be that my english is 
> not that good).

It seems like "This last trigger" in the current text is intended to mean "The
second condition".  Your change improves that.

Should we also consider enabling autosummarize by default ?
It was added in v10, after BRIN was added in v9.5.  For us, brin wasn't usable
without autosummarize.

Also, note that vacuums are now triggered by insertions, since v13, so it might
be that autosummarize is needed much less.

-- 
Justin

PS. I hope there's a faster response to your pg_upgrade patch.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: fix crash with Python 3.11
Next
From: Daniel Gustafsson
Date:
Subject: Re: reallocing without oom check in pg_regress