CRDV: Conflict-free Replicated Data Views

dc.contributor.author José Orlando Pereira en
dc.contributor.author Nuno Filipe Faria en
dc.contributor.other 5602 en
dc.contributor.other 8253 en
dc.date.accessioned 2025-06-20T16:34:51Z
dc.date.available 2025-06-20T16:34:51Z
dc.date.issued 2025 en
dc.description.abstract <jats:p>There are now multiple proposals for Conflict-free Replicated Data Types (CRDTs) in SQL databases aimed at distributed systems. Some, such as ElectricSQL, provide only relational tables as convergent replicated maps, but this omits semantics that would be useful for merging updates. Others, such as Pg\_crdt, provide access to a rich library of encapsulated column types. However, this puts merge and query processing outside the scope of the query optimizer and restricts the ability of an administrator to influence access paths with materialization and indexes.</jats:p> <jats:p>Our proposal, CRDV, overcomes this challenge by using two layers implemented as SQL views: The first provides a replicated relational table from an update history, while the second implements varied and rich types on top of the replicated table. This allows the definition of merge semantics, or even entire new data types, in SQL itself, and enables global optimization of user queries together with merge operations. Therefore, it naturally extends the scope of query optimization and local transactions to operations on replicated data, can be used to reproduce the functionality of common CRDTs with simple SQL idioms, and results in better performance than alternatives.</jats:p> en
dc.identifier P-018-76S en
dc.identifier.uri https://repositorio.inesctec.pt/handle/123456789/15522
dc.language eng en
dc.rights info:eu-repo/semantics/openAccess en
dc.title CRDV: Conflict-free Replicated Data Views en
dc.type en
dc.type Publication en
Files
Original bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
P-018-76S.pdf
Size:
1.12 MB
Format:
Adobe Portable Document Format
Description: