From Dev.to
PostgreSQL document compression: TOAST thresholds, storage policies, and page size
A common way to store documents in PostgreSQL is a table with an ID and a JSONB column. The open-source DocumentDB extension instead stores BSON, the binary document format used by MongoDB, to provide...
