23.03clickhouse基础属性增加common_insert_time字段

This commit is contained in:
冯毅
2023-03-15 03:02:21 +00:00
parent a29283b030
commit 787ff56b20

View File

@@ -127,6 +127,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record_local ON CLUSTER ck_cluster
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64 MATERIALIZED toUnixTimestamp(now()),
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -239,6 +240,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record ON CLUSTER ck_cluster(
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -346,6 +348,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record ON CLUSTER ck_query(
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -454,6 +457,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record_local ON CLUSTER
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64 MATERIALIZED toUnixTimestamp(now()),
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -715,6 +719,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_cl
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -974,6 +979,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_qu
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -1233,6 +1239,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record_local ON CLUSTER ck_
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64 MATERIALIZED toUnixTimestamp(now()),
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -1399,6 +1406,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_cluste
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -1561,6 +1569,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_query(
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -1723,6 +1732,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record_local ON CLUSTER ck_cluster
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64 MATERIALIZED toUnixTimestamp(now()),
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -1843,6 +1853,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record ON CLUSTER ck_cluster(
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -1960,6 +1971,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record ON CLUSTER ck_query(
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -2077,6 +2089,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event_local ON CLUST
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64 MATERIALIZED toUnixTimestamp(now()),
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -2185,6 +2198,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event ON CLUSTER ck_
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -2290,6 +2304,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event ON CLUSTER ck_
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -2395,6 +2410,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.security_event_local ON CLUSTER ck_clus
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64 MATERIALIZED toUnixTimestamp(now()),
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -2657,6 +2673,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_cluster (
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -2916,6 +2933,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_query (
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -3176,6 +3194,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.proxy_event_local ON CLUSTER ck_cluster
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64 MATERIALIZED toUnixTimestamp(now()),
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -3352,6 +3371,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_cluster (
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -3524,6 +3544,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_query (
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -3696,6 +3717,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_local ON CLUSTER ck_clus
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64 MATERIALIZED toUnixTimestamp(now()),
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -3958,6 +3980,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_cluster (
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -4217,6 +4240,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_query (
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -4466,7 +4490,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_query (
CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.radius_record_local ON CLUSTER ck_cluster (
common_recv_time Int64,
common_recv_time Int64,
common_log_id UInt64,
common_stream_trace_id UInt64,
common_direction Nullable(Int64),
@@ -4476,6 +4500,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.radius_record_local ON CLUSTER ck_clust
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64 MATERIALIZED toUnixTimestamp(now()),
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -4606,6 +4631,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.radius_record ON CLUSTER ck_cluster (
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,
@@ -4732,6 +4758,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.radius_record ON CLUSTER ck_query (
common_con_duration_ms Int64,
common_establish_latency_ms Int64,
common_processing_time Int64,
common_insert_time Int64,
common_ingestion_time Int64,
common_entrance_id Int64,
common_device_id String,