From 8c1dd54034b913814a47b897146e60bdba6f75f1 Mon Sep 17 00:00:00 2001 From: houjinchuan Date: Mon, 9 May 2022 10:02:45 +0800 Subject: [PATCH] =?UTF-8?q?22.05=20ck=E6=9B=B4=E6=96=B0=E8=AF=AD=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TSG-22.05/clickhouse/update-05-ck.sql | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 TSG发布版本更新记录/TSG-22.05/clickhouse/update-05-ck.sql diff --git a/TSG发布版本更新记录/TSG-22.05/clickhouse/update-05-ck.sql b/TSG发布版本更新记录/TSG-22.05/clickhouse/update-05-ck.sql new file mode 100644 index 0000000..5aca8b0 --- /dev/null +++ b/TSG发布版本更新记录/TSG-22.05/clickhouse/update-05-ck.sql @@ -0,0 +1,52 @@ +ALTER table tsg_galaxy_v3.session_record_local on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.session_record on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.session_record on cluster ck_query add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; + +ALTER table tsg_galaxy_v3.interim_session_record_local on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.interim_session_record on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.interim_session_record on cluster ck_query add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; + +ALTER table tsg_galaxy_v3.security_event_local on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.security_event on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.security_event on cluster ck_query add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; + +ALTER table tsg_galaxy_v3.proxy_event_local on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.proxy_event on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.proxy_event on cluster ck_query add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; + +ALTER table tsg_galaxy_v3.transaction_record_local on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.transaction_record on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.transaction_record on cluster ck_query add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; + +ALTER table tsg_galaxy_v3.sys_packet_capture_event_local on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.sys_packet_capture_event on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.sys_packet_capture_event on cluster ck_query add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; + +ALTER table tsg_galaxy_v3.radius_record_local on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.radius_record on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.radius_record on cluster ck_query add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; + +ALTER table tsg_galaxy_v3.gtpc_record_local on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.gtpc_record on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.gtpc_record on cluster ck_query add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; + +ALTER table tsg_galaxy_v3.voip_record_local on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.voip_record on cluster ck_cluster add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; +ALTER table tsg_galaxy_v3.voip_record on cluster ck_query add column IF NOT EXISTS common_ingestion_time Int64 after common_processing_time; + + +ALTER table tsg_galaxy_v3.security_event_local on cluster ck_cluster add column IF NOT EXISTS dns_response_latency_ms Int64 after dns_rr; +ALTER table tsg_galaxy_v3.security_event on cluster ck_cluster add column IF NOT EXISTS dns_response_latency_ms Int64 after dns_rr; +ALTER table tsg_galaxy_v3.security_event on cluster ck_query add column IF NOT EXISTS dns_response_latency_ms Int64 after dns_rr; + +ALTER table tsg_galaxy_v3.session_record_local on cluster ck_cluster add column IF NOT EXISTS dns_response_latency_ms Int64 after dns_rr; +ALTER table tsg_galaxy_v3.session_record on cluster ck_cluster add column IF NOT EXISTS dns_response_latency_ms Int64 after dns_rr; +ALTER table tsg_galaxy_v3.session_record on cluster ck_query add column IF NOT EXISTS dns_response_latency_ms Int64 after dns_rr; + +ALTER table tsg_galaxy_v3.transaction_record_local on cluster ck_cluster add column IF NOT EXISTS dns_response_latency_ms Int64 after dns_rr; +ALTER table tsg_galaxy_v3.transaction_record on cluster ck_cluster add column IF NOT EXISTS dns_response_latency_ms Int64 after dns_rr; +ALTER table tsg_galaxy_v3.transaction_record on cluster ck_query add column IF NOT EXISTS dns_response_latency_ms Int64 after dns_rr; + +ALTER table tsg_galaxy_v3.interim_session_record_local on cluster ck_cluster add column IF NOT EXISTS dns_response_latency_ms Int64 after dns_rr; +ALTER table tsg_galaxy_v3.interim_session_record on cluster ck_cluster add column IF NOT EXISTS dns_response_latency_ms Int64 after dns_rr; +ALTER table tsg_galaxy_v3.interim_session_record on cluster ck_query add column IF NOT EXISTS dns_response_latency_ms Int64 after dns_rr;