Citus replication model #4597
-
Hello, I saw "citus.replication_model" parameter in issue pages and I couldn't find any information in documents. I find description in PostgreSQL settings but I couldn't understand what it is used for. What is the difference between citus.replication_model = 'statement and citus.replication_model = 'streaming' ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Difference in functionality: Citus Blog (very useful, recommended) Difference as restrictions: see |
Beta Was this translation helpful? Give feedback.
-
Oh, I understand. Thank you. :) |
Beta Was this translation helpful? Give feedback.
Difference in functionality: Citus Blog (very useful, recommended)
Difference as restrictions:
streaming
mode can only be used whencitus.shard_replication_factor = 1
and only if you use hash distribution. And it's not allowed for deprecatedmaster_create_distributed_table
. Whilestatement
is allowed with greater replication factors and other distribution methods.see
create_distributed_table.c