Re: PG 14 release notes, first draft
Matthias van de Meent <boekewurm+postgres@gmail.com>
On Mon, 10 May 2021 at 19:34, Bruce Momjian <bruce@momjian.us> wrote: > > On Mon, May 10, 2021 at 01:44:12PM +0200, Matthias van de Meent wrote: > > On Mon, 10 May 2021 at 08:03, Bruce Momjian <bruce@momjian.us> wrote: > > > > > > I have committed the first draft of the PG 14 release notes. You can > > > see the most current build of them here: > > > https://momjian.us/pgsql_docs/release-14.html > > > > > > I need clarification on many items, and the document still needs its > > > items properly ordered, and markup added. I also expect a lot of > > > feedback. > > > > I noticed that the improvement in bloat control in the HeapAM that I > > know of (3c3b8a4b, 0ff8bbde) weren't documented here. Although each > > can be considered minor, they together can decrease the bloating > > behaviour of certain workloads significantly (and limit the total > > damage), and in my opinion this should be mentioned. > > > > 3c3b8a4b: Returns space claimed for the line pointer array back to the > > page's empty space, so that it can also be used for tuple data. > > > > 0ff8bbde: Allows large tuples to be inserted on pages which have only > > a small amount of data, regardless of fillfactor. > > > > Together they should be able to help significantly in both bloat > > prevention and bloat reduction. > > I looked at those items. I try to mention performance items that enable > new workloads or require some user action to benefit from it. 0ff8bbde Enables a workload that inserts (and non-locally updates) large (> FILLFACTOR %) tuples in tables that have a low FILLFACTOR. Previously this would fail dramatically by only inserting on new pages; this would extend the table indefinately. See the thread [0] 3c3b8a4b improves workloads with high local update-then-delete churn. Previously this would irreversably claim space on the page for tuple identifiers even when they were later deleted; now we can reclaim this space when a tuple is deleted from the page. I see these two improvements in a similar light as the bottom-up index deletion in btree: No user action required, works out-of-the-box, decreases bloat / disk usage, but good to note as it fixes (known) bloating footguns that a user might have encountered. > I am not sure these two qualify, but can others comments? Thanks. I'd like to refer to Peter Geoghegan's reply [1] upthread. Thank you for your effort, Matthias van de Meent [0] https://www.postgresql.org/message-id/flat/6e263217180649339720afe2176c50aa%40opammb0562.comp.optiver.com [1] https://www.postgresql.org/message-id/CAH2-Wz%3D-A%3DjRxpB2Owj3KQadCue7%2BNLqj56Q566ees7TapMRvA%40mail.gmail.com
Commits
-
doc: add mention of +4GB windows file handling in PG14 relnotes
- 90855908b751 14.0 landed
-
doc: PG 14 relnotes fixes
- 86b222b09071 14.0 landed
-
doc: PG 14 relnote updates
- a2559d409372 14.0 landed
-
doc: PG 14 relnotes, adjust pg_{read|write}_all_data entry
- 7ce7d07e1c5f 14.0 landed
-
Update PG 14 relnotes for vacuum_cost_page_miss
- 8dcae7f0a3d6 14.0 landed
-
doc: update PG 14 release notes with recent feedback
- 5eb1b27d2067 14.0 landed
-
Update replication statistics after every stream/spill.
- 592f00f8dec6 14.0 cited
-
Add information of total data processed to replication slot stats.
- f5fc2f5b23d1 14.0 cited
-
Use NameData datatype for slotname in stats.
- cca57c1d9bf7 14.0 cited
-
Add back vacuum_cleanup_index_scale_factor parameter.
- effdd3f3b633 14.0 cited
-
Don't consider newly inserted tuples in nbtree VACUUM.
- 9f3665fbfc34 14.0 cited
-
pgbench: Improve time logic.
- 547f04e7348b 14.0 cited
-
Track total amounts of times spent writing and syncing WAL data to disk.
- ff99918c625a 14.0 cited
-
Allow decoding at prepare time in ReorderBuffer.
- a271a1b50e9b 14.0 cited
-
Extend the output plugin API to allow decoding of prepared xacts.
- 0aa8a01d04c8 14.0 cited
-
Fix nbtree cleanup-only VACUUM stats inaccuracies.
- 48e1291342dd 14.0 cited
-
Execute invalidation messages for each XLOG_XACT_INVALIDATIONS message
- d7eb52d7181d 14.0 cited
-
Fix our Windows stat() emulation to handle file sizes > 4GB.
- bed90759fcbc 14.0 cited
-
Trigger autovacuum based on number of INSERTs
- b07642dbcd8d 13.0 cited
-
Speed up planning when partitions can be pruned at plan time.
- 428b260f87e8 12.0 cited
-
Remove support for password_encryption='off' / 'plain'.
- eb61136dc75a 10.0 cited
-
Increase work_mem and maintenance_work_mem defaults by 4x
- 848ae330a497 9.4.0 cited