From cb8ebdf95b8303fb78b423841a826827c61180a9 Mon Sep 17 00:00:00 2001 From: houjinchuan Date: Wed, 26 Oct 2022 15:07:56 +0800 Subject: [PATCH] =?UTF-8?q?tsg=20ck=2010=E5=BB=BA=E8=A1=A8=E8=AF=AD?= =?UTF-8?q?=E5=8F=A5=E6=B7=BB=E5=8A=A0=E5=AD=97=E6=AE=B5common=5Ft=5Fvsys?= =?UTF-8?q?=5Fid?= 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最新全量建表语句/Clickhouse_TSG_建表语句.sql b/Clickhouse最新全量建表语句/Clickhouse_TSG_建表语句.sql index 390eb4d..2da1806 100644 --- a/Clickhouse最新全量建表语句/Clickhouse_TSG_建表语句.sql +++ b/Clickhouse最新全量建表语句/Clickhouse_TSG_建表语句.sql @@ -193,6 +193,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record_local ON CLUSTER ck_cluster common_address_type Int64, common_schema_type String, common_vsys_id Int64 DEFAULT 1, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -298,6 +299,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record ON CLUSTER ck_cluster( common_address_type Int64, common_schema_type String, common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -398,6 +400,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record ON CLUSTER ck_query( common_address_type Int64, common_schema_type String, common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -499,6 +502,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record_local ON CLUSTER common_address_type Int64, common_schema_type LowCardinality(String), common_vsys_id Int64 DEFAULT 1, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -752,6 +756,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record_local ON CLUSTER ck_ common_address_type Int64, common_schema_type LowCardinality(String), common_vsys_id Int64 DEFAULT 1, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -912,6 +917,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_qu common_address_type Int64, common_schema_type LowCardinality(String), common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -1161,6 +1167,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_cl common_address_type Int64, common_schema_type LowCardinality(String), common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -1411,6 +1418,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_query( common_address_type Int64, common_schema_type LowCardinality(String), common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -1565,6 +1573,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_cluste common_address_type Int64, common_schema_type LowCardinality(String), common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -1722,6 +1731,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record_local ON CLUSTER ck_cluster common_address_type Int64, common_schema_type String, common_vsys_id Int64 DEFAULT 1, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -1833,6 +1843,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record ON CLUSTER ck_query( common_address_type Int64, common_schema_type String, common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -1942,6 +1953,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record ON CLUSTER ck_cluster( common_address_type Int64, common_schema_type String, common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -2051,6 +2063,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event_local ON CLUST common_address_type Int64, common_schema_type String, common_vsys_id Int64 DEFAULT 1, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -2151,6 +2164,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.security_event_local ON CLUSTER ck_clus common_address_type Int64, common_schema_type String, common_vsys_id Int64 DEFAULT 1, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -2403,6 +2417,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.proxy_event_local ON CLUSTER ck_cluster common_address_type Int64, common_schema_type String, common_vsys_id Int64 DEFAULT 1, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -2571,6 +2586,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_local ON CLUSTER ck_clus common_address_type Int64, common_schema_type LowCardinality(String), common_vsys_id Int64 DEFAULT 1, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -2823,6 +2839,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.radius_record_local ON CLUSTER ck_clust common_address_type Int64, common_schema_type String, common_vsys_id Int64 DEFAULT 1, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -3028,6 +3045,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.radius_record ON CLUSTER ck_query ( common_address_type Int64, common_schema_type String, common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -3146,6 +3164,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_query ( common_address_type Int64, common_schema_type LowCardinality(String), common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -3395,6 +3414,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_query ( common_address_type Int64, common_schema_type String, common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -3559,6 +3579,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_query ( common_address_type Int64, common_schema_type String, common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -3808,6 +3829,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event ON CLUSTER ck_ common_address_type Int64, common_schema_type String, common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -3917,6 +3939,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.radius_record ON CLUSTER ck_cluster ( common_address_type Int64, common_schema_type String, common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -4035,6 +4058,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_cluster ( common_address_type Int64, common_schema_type LowCardinality(String), common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -4284,6 +4308,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_cluster ( common_address_type Int64, common_schema_type String, common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -4448,6 +4473,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_cluster ( common_address_type Int64, common_schema_type String, common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String, @@ -4697,6 +4723,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event ON CLUSTER ck_ common_address_type Int64, common_schema_type String, common_vsys_id Int64, + common_t_vsys_id Int64, common_device_tag String, common_encapsulation Int64, common_tunnels String,