From fff1aa99a1e8dda36f03eed4f7cbe337d0d55a67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=AF=E6=AF=85?= Date: Mon, 6 Feb 2023 09:19:43 +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_LOG_ID/Clickhouse_TSG_建表语句.sql b/Clickhouse最新全量建表语句/TSG_OLAP_PRIMARY_KEY_LOG_ID/Clickhouse_TSG_建表语句.sql index 64a6e4a..8eccf6e 100644 --- a/Clickhouse最新全量建表语句/TSG_OLAP_PRIMARY_KEY_LOG_ID/Clickhouse_TSG_建表语句.sql +++ b/Clickhouse最新全量建表语句/TSG_OLAP_PRIMARY_KEY_LOG_ID/Clickhouse_TSG_建表语句.sql @@ -142,6 +142,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, @@ -253,6 +254,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, @@ -359,6 +361,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, @@ -466,6 +469,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, @@ -726,6 +730,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, @@ -984,6 +989,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, @@ -1242,6 +1248,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, @@ -1407,6 +1414,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, @@ -1568,6 +1576,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, @@ -1729,6 +1738,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, @@ -1848,6 +1858,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, @@ -1964,6 +1975,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, @@ -2080,6 +2092,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, @@ -2187,6 +2200,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, @@ -2291,6 +2305,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, @@ -2395,6 +2410,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, @@ -2656,6 +2672,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, @@ -2914,6 +2931,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, @@ -3173,6 +3191,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, @@ -3348,6 +3367,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, @@ -3519,6 +3539,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, @@ -3690,6 +3711,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, @@ -3951,6 +3973,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, @@ -4209,6 +4232,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, @@ -4467,6 +4491,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, @@ -4596,6 +4621,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, @@ -4721,6 +4747,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,