PostgreSQL large objects: Best practices for Amazon Aurora and RDS
AWS published best practices for managing PostgreSQL large objects on Amazon Aurora and RDS, including how to monitor the accumulation of orphaned objects. Large objects allow values up to 4 TB and efficient partial reads and updates, compared with a 1 GB limit for TOAST-stored fields. Because they are referenced only by OID, autovacuum does not remove orphaned objects, logical replication does not copy them, and all share one OID space. Unmanaged, they can slow OID allocation and cause major version upgrades to fail.
AI-written summary, checked against the cited sources. How summaries work
