You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If these variables are provided, then qryn should run create distributed tables in order to support a clickhouse cluster.
Qryn reader and writer should do requests to the distributed tables instead of "stand alone" ones
Advanced clustering configurations
According to the conversation in #198 :
Provide the special ADVANCED_CLUSTERING_KEY env variable to specify advanced clustering key support.
It can have these values:
random for rand() as sharding key
fingerprint for fingerprint as sharding key
label1;label2;20s as the custom "label-period" sharding key. In this case label1;label2 is semicolon separated label names and 20s is the duration to use for sharding.
Replicated.... tables support and cloud support
Another "cloud" type of clustering is the clustering based on the clickhouse keeper and ReplicatedMerge... tables family. It is also a nice-to-have feature as discussed in #170 .
It's not provided automatically for now.
We need to provide an env variable:
REPLICATED_TABLES=1
If it is provided all the tables with MergeTree family engine should be moved to ReplicatedMergeTree analogues.
The text was updated successfully, but these errors were encountered:
Current status
Cluster support created in https://gist.github.com/coelho/c3b7bbb2c95caa61115d93692f9e4ae2 gist and copied into our wiki page.
It's a bit hacky as it needs non-trivial manual approach to run.
Improvement request
Environmental cluster configuration
Create an env variables to specify clustered clickhouse support
If these variables are provided, then qryn should run create distributed tables in order to support a clickhouse cluster.
Qryn reader and writer should do requests to the distributed tables instead of "stand alone" ones
Advanced clustering configurations
According to the conversation in #198 :
Provide the special
ADVANCED_CLUSTERING_KEY
env variable to specify advanced clustering key support.It can have these values:
random
for rand() as sharding keyfingerprint
for fingerprint as sharding keylabel1;label2;20s
as the custom "label-period" sharding key. In this case label1;label2 is semicolon separated label names and 20s is the duration to use for sharding.Replicated.... tables support and cloud support
Another "cloud" type of clustering is the clustering based on the clickhouse keeper and
ReplicatedMerge...
tables family. It is also a nice-to-have feature as discussed in #170 .It's not provided automatically for now.
We need to provide an env variable:
REPLICATED_TABLES=1
If it is provided all the tables with MergeTree family engine should be moved to ReplicatedMergeTree analogues.
The text was updated successfully, but these errors were encountered: