Atáirgeadh loighiciúil (logical replication) atáirgeadh a dhéanann ar athruithe sonraí ag leibhéal táblaí sonracha (ag úsáid samhail fhoilsitheoirí/foscríbhneoirí), ionas nach ndéantar cóip ar an mbunachar sonraí iomlán a dhealramh gach beart go geal cosúil le hatáirgeadh fisiceach (streaming replication). Is é seo a thugann solúbthacht - roghnaitheach, trasdeofa-leagan, agus go scéimeanna éagsúla - rud atá oiriúnach do imircí agus integráisí.
Atáirgeadh loighiciúil vs atáirgeadh fisiceach
PHYSICAL (streaming) → replicates the ENTIRE cluster at the storage/WAL level
✓ exact copy, simple ✗ all-or-nothing, same Postgres version, read-only replica
LOGICAL → replicates specific TABLES' changes via a publish/subscribe model
✓ SELECTIVE (choose tables), CROSS-VERSION, to DIFFERENT schemas, replica is WRITABLE
✗ more setup, some limitations (DDL not replicated automatically, etc.)
