AWS Databasesยท
PostgreSQL large objects: Best practices for Amazon Aurora and RDS
TL;DR
PostgreSQL large objects can accumulate unused data, slow object-ID allocation, and complicate upgrades on Amazon Aurora and RDS because they live separately from application tables. The post recommends monitoring their growth, checking reference-column types before dry-running and using vacuumlo, and adding automatic cleanup triggers; these practices help control storage and operational risks while avoiding accidental deletion of still-used objects.
Relevant links
- Advanced (300)aws.amazon.com
- Amazon Auroraaws.amazon.com
- Amazon RDSaws.amazon.com
- Technical How-toaws.amazon.com
- large objectswww.postgresql.org
- TOASTwww.postgresql.org
- Amazon Aurora PostgreSQL-Compatible Editionaws.amazon.com
- Amazon Relational Database Service (Amazon RDS) for PostgreSQLaws.amazon.com
- vacuumlowww.postgresql.org
- psqlwww.postgresql.org
- lo extensiondocs.aws.amazon.com
- contrib/vacuumlo/vacuumlo.cgithub.com