Electric Replica Identity
just wondering if there are plans to support non-full (ie default) replica identities in the future? or is this requirement by design?
3 Replies
eager-peach•17h ago
FULL is necessary to handle a number of different scenarios where we need both the old and new values to correctly figure out what changed
is FULL a problem for y'all?
stormy-goldOP•16h ago
definitely not a problem at my current scale 😂
I was slightly nervous about it after reading the pg docs for replication, which say "replica identity FULL should only be used as a fallback if no other solution is possible", but doing some more reading (https://xata.io/blog/replica-identity-full-performance) makes it sound like in practice pg will use the table's PK anyways
Xata
On the performance impact of REPLICA IDENTITY FULL in Postgres by T...
Analyzing the performance impact of REPLICA IDENTITY FULL by looking at the PostgreSQL source code and performing benchmarks.
stormy-goldOP•16h ago
thanks as usual for the quick responses!