From 8fa87f7d2268ee86a5c98d5811797d76dd5f21a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=AF=E6=AF=85?= Date: Mon, 6 Feb 2023 09:53:38 +0000 Subject: [PATCH] =?UTF-8?q?23.02=20tsg=5Fgalaxy=5Fv3=E5=90=91=E5=A4=9A?= =?UTF-8?q?=E4=B8=AA=E5=8C=85=E5=90=AB=E5=9F=BA=E7=A1=80=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E7=9A=84=E8=A1=A8=E5=A2=9E=E5=8A=A0common=5Fshaping=5Frule=5Fi?= =?UTF-8?q?ds=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Clickhouse_TSG_建表语句.sql | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Clickhouse最新全量建表语句/TSG_OLAP_PRIMARY_KEY_VSYS_ID/Clickhouse_TSG_建表语句.sql b/Clickhouse最新全量建表语句/TSG_OLAP_PRIMARY_KEY_VSYS_ID/Clickhouse_TSG_建表语句.sql index ffbb063..5794ba2 100644 --- a/Clickhouse最新全量建表语句/TSG_OLAP_PRIMARY_KEY_VSYS_ID/Clickhouse_TSG_建表语句.sql +++ b/Clickhouse最新全量建表语句/TSG_OLAP_PRIMARY_KEY_VSYS_ID/Clickhouse_TSG_建表语句.sql @@ -140,6 +140,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record_local ON CLUSTER ck_cluster common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -250,6 +251,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record ON CLUSTER ck_cluster( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -356,6 +358,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record ON CLUSTER ck_query( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -463,6 +466,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record_local ON CLUSTER common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -722,6 +726,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_cl common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -980,6 +985,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_qu common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -1238,6 +1244,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record_local ON CLUSTER ck_ common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -1402,6 +1409,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_cluste common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -1563,6 +1571,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_query( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -1724,6 +1733,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record_local ON CLUSTER ck_cluster common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -1842,6 +1852,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record ON CLUSTER ck_cluster( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -1958,6 +1969,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record ON CLUSTER ck_query( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -2074,6 +2086,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event_local ON CLUST common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -2180,6 +2193,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event ON CLUSTER ck_ common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -2284,6 +2298,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event ON CLUSTER ck_ common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -2388,6 +2403,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.security_event_local ON CLUSTER ck_clus common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -2648,6 +2664,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_cluster ( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -2906,6 +2923,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_query ( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -3165,6 +3183,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.proxy_event_local ON CLUSTER ck_cluster common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -3339,6 +3358,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_cluster ( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -3510,6 +3530,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_query ( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -3681,6 +3702,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_local ON CLUSTER ck_clus common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -3941,6 +3963,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_cluster ( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -4199,6 +4222,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_query ( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -4457,6 +4481,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.radius_record_local ON CLUSTER ck_clust common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -4585,6 +4610,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.radius_record ON CLUSTER ck_cluster ( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -4710,6 +4736,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.radius_record ON CLUSTER ck_query ( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64,