~emersion/soju#227: 
database/postgres: investigate TOAST for message store

By default, Message.raw is TOAST-able, however Postgres will not move values smaller than 2040 bytes into the TOAST table. See https://www.postgresql.org/docs/current/sql-createtable.html#RELOPTION-TOAST-TUPLE-TARGET

We could set toast_tuple_target to change this, but need to investigate if this would actually be beneficial.

Status
REPORTED
Submitter
~emersion
Assigned to
No-one
Submitted
8 months ago
Updated
8 months ago
Labels
db