From 24df5b9580ea15b7bb093360ae2d09357de2a329 Mon Sep 17 00:00:00 2001 From: houjinchuan Date: Mon, 1 Aug 2022 11:16:41 +0800 Subject: [PATCH] =?UTF-8?q?ck=2008=E7=89=88=E6=9C=AC=E6=96=B0=E5=A2=9Ecomm?= =?UTF-8?q?on=5Fnamespace=5Fid=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TSG-22.08/clickhouse/update-08-ck.sql | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 TSG发布版本更新记录/TSG-22.08/clickhouse/update-08-ck.sql diff --git a/TSG发布版本更新记录/TSG-22.08/clickhouse/update-08-ck.sql b/TSG发布版本更新记录/TSG-22.08/clickhouse/update-08-ck.sql new file mode 100644 index 0000000..3c7358f --- /dev/null +++ b/TSG发布版本更新记录/TSG-22.08/clickhouse/update-08-ck.sql @@ -0,0 +1,35 @@ +ALTER table tsg_galaxy_v3.session_record_local on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.session_record on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.session_record on cluster ck_query add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; + +ALTER table tsg_galaxy_v3.interim_session_record_local on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.interim_session_record on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.interim_session_record on cluster ck_query add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; + +ALTER table tsg_galaxy_v3.security_event_local on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.security_event on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.security_event on cluster ck_query add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; + +ALTER table tsg_galaxy_v3.proxy_event_local on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.proxy_event on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.proxy_event on cluster ck_query add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; + +ALTER table tsg_galaxy_v3.transaction_record_local on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.transaction_record on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.transaction_record on cluster ck_query add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; + +ALTER table tsg_galaxy_v3.sys_packet_capture_event_local on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.sys_packet_capture_event on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.sys_packet_capture_event on cluster ck_query add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; + +ALTER table tsg_galaxy_v3.radius_record_local on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.radius_record on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.radius_record on cluster ck_query add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; + +ALTER table tsg_galaxy_v3.gtpc_record_local on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.gtpc_record on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.gtpc_record on cluster ck_query add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; + +ALTER table tsg_galaxy_v3.voip_record_local on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.voip_record on cluster ck_cluster add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; +ALTER table tsg_galaxy_v3.voip_record on cluster ck_query add column IF NOT EXISTS common_namespace_id Int64 after common_user_region; \ No newline at end of file