cn ck 09 10 设置Metric库表部分字段允许为空

This commit is contained in:
houjinchuan
2022-10-26 14:02:47 +08:00
parent 2a3ef43a07
commit c0954634d2
2 changed files with 483 additions and 483 deletions

View File

@@ -23,21 +23,21 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_link_local ON CLUSTER ck
traffic_internal_pkt Int64, traffic_internal_pkt Int64,
traffic_through_byte Int64, traffic_through_byte Int64,
traffic_through_pkt Int64, traffic_through_pkt Int64,
c2s_tcp_lostlen_ratio Float64, c2s_tcp_lostlen_ratio Nullable(Float64),
s2c_tcp_lostlen_ratio Float64, s2c_tcp_lostlen_ratio Nullable(Float64),
tcp_lostlen_ratio Float64, tcp_lostlen_ratio Nullable(Float64),
c2s_tcp_unorder_num_ratio Float64, c2s_tcp_unorder_num_ratio Nullable(Float64),
s2c_tcp_unorder_num_ratio Float64, s2c_tcp_unorder_num_ratio Nullable(Float64),
tcp_unorder_num_ratio Float64, tcp_unorder_num_ratio Nullable(Float64),
c2s_byte_retrans_ratio Float64, c2s_byte_retrans_ratio Nullable(Float64),
s2c_byte_retrans_ratio Float64, s2c_byte_retrans_ratio Nullable(Float64),
byte_retrans_ratio Float64, byte_retrans_ratio Nullable(Float64),
c2s_pkt_retrans_ratio Float64, c2s_pkt_retrans_ratio Nullable(Float64),
s2c_pkt_retrans_ratio Float64, s2c_pkt_retrans_ratio Nullable(Float64),
pkt_retrans_ratio Float64, pkt_retrans_ratio Nullable(Float64),
avg_establish_latency_ms Float64, avg_establish_latency_ms Nullable(Float64),
avg_http_response_latency_ms Float64, avg_http_response_latency_ms Nullable(Float64),
avg_ssl_con_latency_ms Float64 avg_ssl_con_latency_ms Nullable(Float64)
) ENGINE = MergeTree PARTITION BY toYYYYMMDD(toDate(stat_time)) ORDER BY (stat_time) SETTINGS index_granularity = 8192; ) ENGINE = MergeTree PARTITION BY toYYYYMMDD(toDate(stat_time)) ORDER BY (stat_time) SETTINGS index_granularity = 8192;
CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_link ON CLUSTER ck_cluster ( CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_link ON CLUSTER ck_cluster (
@@ -65,21 +65,21 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_link ON CLUSTER ck_clust
traffic_internal_pkt Int64, traffic_internal_pkt Int64,
traffic_through_byte Int64, traffic_through_byte Int64,
traffic_through_pkt Int64, traffic_through_pkt Int64,
c2s_tcp_lostlen_ratio Float64, c2s_tcp_lostlen_ratio Nullable(Float64),
s2c_tcp_lostlen_ratio Float64, s2c_tcp_lostlen_ratio Nullable(Float64),
tcp_lostlen_ratio Float64, tcp_lostlen_ratio Nullable(Float64),
c2s_tcp_unorder_num_ratio Float64, c2s_tcp_unorder_num_ratio Nullable(Float64),
s2c_tcp_unorder_num_ratio Float64, s2c_tcp_unorder_num_ratio Nullable(Float64),
tcp_unorder_num_ratio Float64, tcp_unorder_num_ratio Nullable(Float64),
c2s_byte_retrans_ratio Float64, c2s_byte_retrans_ratio Nullable(Float64),
s2c_byte_retrans_ratio Float64, s2c_byte_retrans_ratio Nullable(Float64),
byte_retrans_ratio Float64, byte_retrans_ratio Nullable(Float64),
c2s_pkt_retrans_ratio Float64, c2s_pkt_retrans_ratio Nullable(Float64),
s2c_pkt_retrans_ratio Float64, s2c_pkt_retrans_ratio Nullable(Float64),
pkt_retrans_ratio Float64, pkt_retrans_ratio Nullable(Float64),
avg_establish_latency_ms Float64, avg_establish_latency_ms Nullable(Float64),
avg_http_response_latency_ms Float64, avg_http_response_latency_ms Nullable(Float64),
avg_ssl_con_latency_ms Float64 avg_ssl_con_latency_ms Nullable(Float64)
) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_link_local', rand()); ) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_link_local', rand());
CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_link ON CLUSTER ck_query ( CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_link ON CLUSTER ck_query (
@@ -107,21 +107,21 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_link ON CLUSTER ck_query
traffic_internal_pkt Int64, traffic_internal_pkt Int64,
traffic_through_byte Int64, traffic_through_byte Int64,
traffic_through_pkt Int64, traffic_through_pkt Int64,
c2s_tcp_lostlen_ratio Float64, c2s_tcp_lostlen_ratio Nullable(Float64),
s2c_tcp_lostlen_ratio Float64, s2c_tcp_lostlen_ratio Nullable(Float64),
tcp_lostlen_ratio Float64, tcp_lostlen_ratio Nullable(Float64),
c2s_tcp_unorder_num_ratio Float64, c2s_tcp_unorder_num_ratio Nullable(Float64),
s2c_tcp_unorder_num_ratio Float64, s2c_tcp_unorder_num_ratio Nullable(Float64),
tcp_unorder_num_ratio Float64, tcp_unorder_num_ratio Nullable(Float64),
c2s_byte_retrans_ratio Float64, c2s_byte_retrans_ratio Nullable(Float64),
s2c_byte_retrans_ratio Float64, s2c_byte_retrans_ratio Nullable(Float64),
byte_retrans_ratio Float64, byte_retrans_ratio Nullable(Float64),
c2s_pkt_retrans_ratio Float64, c2s_pkt_retrans_ratio Nullable(Float64),
s2c_pkt_retrans_ratio Float64, s2c_pkt_retrans_ratio Nullable(Float64),
pkt_retrans_ratio Float64, pkt_retrans_ratio Nullable(Float64),
avg_establish_latency_ms Float64, avg_establish_latency_ms Nullable(Float64),
avg_http_response_latency_ms Float64, avg_http_response_latency_ms Nullable(Float64),
avg_ssl_con_latency_ms Float64 avg_ssl_con_latency_ms Nullable(Float64)
) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_link_local', rand()); ) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_link_local', rand());
@@ -138,7 +138,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_server_ip_local ON C
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = MergeTree PARTITION BY toYYYYMMDD(toDate(stat_time)) ORDER BY (stat_time,server_ip) SETTINGS index_granularity = 8192; ) ENGINE = MergeTree PARTITION BY toYYYYMMDD(toDate(stat_time)) ORDER BY (stat_time,server_ip) SETTINGS index_granularity = 8192;
CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_server_ip ON CLUSTER ck_cluster ( CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_server_ip ON CLUSTER ck_cluster (
@@ -154,7 +154,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_server_ip ON CLUSTER
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_server_ip_local', rand()); ) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_server_ip_local', rand());
CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_server_ip ON CLUSTER ck_query ( CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_server_ip ON CLUSTER ck_query (
@@ -170,7 +170,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_server_ip ON CLUSTER
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_server_ip_local', rand()); ) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_server_ip_local', rand());
@@ -184,7 +184,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_qname_local ON CLUST
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = MergeTree PARTITION BY toYYYYMMDD(toDate(stat_time)) ORDER BY (stat_time,qname) SETTINGS index_granularity = 8192; ) ENGINE = MergeTree PARTITION BY toYYYYMMDD(toDate(stat_time)) ORDER BY (stat_time,qname) SETTINGS index_granularity = 8192;
CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_qname ON CLUSTER ck_cluster ( CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_qname ON CLUSTER ck_cluster (
@@ -197,7 +197,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_qname ON CLUSTER ck_
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_qname_local', rand()); ) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_qname_local', rand());
CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_qname ON CLUSTER ck_query ( CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_qname ON CLUSTER ck_query (
@@ -210,7 +210,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_qname ON CLUSTER ck_
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_qname_local', rand()); ) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_qname_local', rand());
@@ -222,7 +222,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_qtype_local ON CLUST
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = MergeTree PARTITION BY toYYYYMMDD(toDate(stat_time)) ORDER BY (stat_time,qtype) SETTINGS index_granularity = 8192; ) ENGINE = MergeTree PARTITION BY toYYYYMMDD(toDate(stat_time)) ORDER BY (stat_time,qtype) SETTINGS index_granularity = 8192;
CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_qtype ON CLUSTER ck_cluster ( CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_qtype ON CLUSTER ck_cluster (
@@ -233,7 +233,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_qtype ON CLUSTER ck_
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_qtype_local', rand()); ) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_qtype_local', rand());
CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_qtype ON CLUSTER ck_query ( CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_qtype ON CLUSTER ck_query (
@@ -244,7 +244,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_qtype ON CLUSTER ck_
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_qtype_local', rand()); ) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_qtype_local', rand());
@@ -256,7 +256,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rcode_local ON CLUST
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = MergeTree PARTITION BY toYYYYMMDD(toDate(stat_time)) ORDER BY (stat_time,rcode) SETTINGS index_granularity = 8192; ) ENGINE = MergeTree PARTITION BY toYYYYMMDD(toDate(stat_time)) ORDER BY (stat_time,rcode) SETTINGS index_granularity = 8192;
CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rcode ON CLUSTER ck_cluster ( CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rcode ON CLUSTER ck_cluster (
@@ -267,7 +267,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rcode ON CLUSTER ck_
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_rcode_local', rand()); ) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_rcode_local', rand());
CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rcode ON CLUSTER ck_query ( CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rcode ON CLUSTER ck_query (
@@ -278,7 +278,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rcode ON CLUSTER ck_
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_rcode_local', rand()); ) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_rcode_local', rand());
@@ -290,7 +290,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_a_local ON CLUSTE
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = MergeTree PARTITION BY toYYYYMMDD(toDate(stat_time)) ORDER BY (stat_time,rr_a) SETTINGS index_granularity = 8192; ) ENGINE = MergeTree PARTITION BY toYYYYMMDD(toDate(stat_time)) ORDER BY (stat_time,rr_a) SETTINGS index_granularity = 8192;
CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_a ON CLUSTER ck_cluster ( CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_a ON CLUSTER ck_cluster (
@@ -301,7 +301,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_a ON CLUSTER ck_c
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_rr_a_local', rand()); ) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_rr_a_local', rand());
CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_a ON CLUSTER ck_query ( CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_a ON CLUSTER ck_query (
@@ -312,7 +312,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_a ON CLUSTER ck_q
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_rr_a_local', rand()); ) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_rr_a_local', rand());
@@ -324,7 +324,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_aaaa_local ON CLU
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = MergeTree PARTITION BY toYYYYMMDD(toDate(stat_time)) ORDER BY (stat_time,rr_aaaa) SETTINGS index_granularity = 8192; ) ENGINE = MergeTree PARTITION BY toYYYYMMDD(toDate(stat_time)) ORDER BY (stat_time,rr_aaaa) SETTINGS index_granularity = 8192;
CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_aaaa ON CLUSTER ck_cluster ( CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_aaaa ON CLUSTER ck_cluster (
@@ -335,7 +335,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_aaaa ON CLUSTER c
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_rr_aaaa_local', rand()); ) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_rr_aaaa_local', rand());
CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_aaaa ON CLUSTER ck_query ( CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_aaaa ON CLUSTER ck_query (
@@ -346,7 +346,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_aaaa ON CLUSTER c
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_rr_aaaa_local', rand()); ) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_rr_aaaa_local', rand());
@@ -358,7 +358,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_cname_local ON CL
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = MergeTree PARTITION BY toYYYYMMDD(toDate(stat_time)) ORDER BY (stat_time,rr_cname) SETTINGS index_granularity = 8192; ) ENGINE = MergeTree PARTITION BY toYYYYMMDD(toDate(stat_time)) ORDER BY (stat_time,rr_cname) SETTINGS index_granularity = 8192;
CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_cname ON CLUSTER ck_cluster ( CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_cname ON CLUSTER ck_cluster (
@@ -369,7 +369,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_cname ON CLUSTER
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_rr_cname_local', rand()); ) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_rr_cname_local', rand());
CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_cname ON CLUSTER ck_query ( CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_cname ON CLUSTER ck_query (
@@ -380,5 +380,5 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.metric_dns_rr_cname ON CLUSTER
traffic_outbound_byte Int64, traffic_outbound_byte Int64,
internal_query_num Int64, internal_query_num Int64,
external_query_num Int64, external_query_num Int64,
avg_response_latency_ms Float64 avg_response_latency_ms Nullable(Float64)
) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_rr_cname_local', rand()); ) ENGINE = Distributed('ck_cluster', 'cyber_narrator_galaxy', 'metric_dns_rr_cname_local', rand());