AWS Security ChangesHomeSearch

AWS AmazonRDS documentation change

Service: AmazonRDS · 2025-05-03 · Documentation low

File: AmazonRDS/latest/UserGuide/Appendix.PostgreSQL.CommonDBATasks.Autovacuum_Monitoring.Resolving_Performance.md

Summary

Rewrote VACUUM process explanation and added details about PostgreSQL 17's TidStore memory management improvements

Security assessment

Changes focus solely on performance optimization of database maintenance processes (VACUUM operations and memory allocation). No security vulnerabilities, configurations, or features are mentioned or implied in the documentation updates.

Diff

diff --git a/AmazonRDS/latest/UserGuide/Appendix.PostgreSQL.CommonDBATasks.Autovacuum_Monitoring.Resolving_Performance.md b/AmazonRDS/latest/UserGuide/Appendix.PostgreSQL.CommonDBATasks.Autovacuum_Monitoring.Resolving_Performance.md
index b20df2664..daaed8d10 100644
--- a//AmazonRDS/latest/UserGuide/Appendix.PostgreSQL.CommonDBATasks.Autovacuum_Monitoring.Resolving_Performance.md
+++ b//AmazonRDS/latest/UserGuide/Appendix.PostgreSQL.CommonDBATasks.Autovacuum_Monitoring.Resolving_Performance.md
@@ -24 +24 @@ This section discusses factors that often contribute to slower vacuum performanc
-The `VACUUM` process consists of several stages: initialization, scanning the heap, vacuuming indexes and the heap, cleaning up indexes, truncating the heap, and performing final cleanup. During scanning, pages are pruned, defragmented, and frozen. After the heap is fully scanned, the indexes are cleaned up, empty pages are returned to the operating system, and the final cleanup tasks, like vacuuming the free space map and updating statistics, are completed.
+VACUUM operates through sequential phases: initialization, heap scanning, index and heap vacuuming, index cleanup, heap truncation, and final cleanup. During the heap scan, the process prunes pages, defragments and freezes them. After completing the heap scan, VACUUM cleans indexes, returns empty pages to the operating system, and performs final cleanup tasks like vacuuming the free space map and updating statistics.
@@ -26 +26 @@ The `VACUUM` process consists of several stages: initialization, scanning the he
-When vacuuming indexes, multiple passes may be required if the available `maintenance_work_mem` (or `autovacuum_work_mem`) is insufficient to process the index. In PostgreSQL versions 16 and earlier, a 1GB limit on memory allocation for storing dead tuple IDs often required multiple passes, especially for large indexes. PostgreSQL version 17 addresses this limitation by introducing `TidStore`, a dynamic memory allocation system that replaces the single-allocation array. This removes the 1GB constraint, improves memory efficiency, and decreases the likelihood of multiple scans per each index.
+Index vacuuming may require multiple passes when `maintenance_work_mem` (or `autovacuum_work_mem`) is insufficient to process the index. In PostgreSQL 16 and earlier, a 1 GB memory limit for storing dead tuple IDs often forced multiple passes on large indexes. PostgreSQL 17 introduces `TidStore`, which dynamically allocates memory instead of using a single-allocation array. This removes the 1 GB constraint, uses memory more efficiently, and reduces the need for multiple index scans per each index.
@@ -28 +28 @@ When vacuuming indexes, multiple passes may be required if the available `mainte
-However, even in PostgreSQL 17, multiple passes may still be required for large indexes if the available memory is insufficient to process the entire index in one go. Typically, large indexes tend to contain more dead tuples requiring multiple passes.
+Large indexes may still require multiple passes in PostgreSQL 17 if available memory can't accommodate the entire index processing at once. Typically, larger indexes contain more dead tuples that require multiple passes.
@@ -53 +53,3 @@ The `postgres_get_av_diag()` function issues the following notices when the avai
-            vacuum with exclusion of indexes using (VACUUM (INDEX_CLEANUP FALSE, VERBOSE TRUE) table_name;). For more information, see [Working with PostgreSQL autovacuum in the Amazon Amazon RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.PostgreSQL.CommonDBATasks.Autovacuum.html).
+            vacuum with exclusion of indexes using (VACUUM (INDEX_CLEANUP FALSE, VERBOSE TRUE) table_name;). For more information, see 
+            [Working with PostgreSQL autovacuum in the Amazon Amazon RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.PostgreSQL.CommonDBATasks.Autovacuum.html)
+            .