23.03clickhouse基础属性增加common_insert_time字段

This commit is contained in:
冯毅
2023-03-15 03:43:11 +00:00
parent 787ff56b20
commit 7f83d10686

View File

@@ -125,6 +125,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,
@@ -236,6 +237,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,
@@ -343,6 +345,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,
@@ -451,6 +454,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,
@@ -711,6 +715,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,
@@ -970,6 +975,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,
@@ -1229,6 +1235,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,
@@ -1394,6 +1401,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,
@@ -1556,6 +1564,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,
@@ -1718,6 +1727,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,
@@ -1837,6 +1847,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,
@@ -1954,6 +1965,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,
@@ -2071,6 +2083,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,
@@ -2178,6 +2191,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,
@@ -2283,6 +2297,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,
@@ -2388,6 +2403,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,
@@ -2649,6 +2665,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,
@@ -2908,6 +2925,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,
@@ -3168,6 +3186,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,
@@ -3343,6 +3362,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,
@@ -3515,6 +3535,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,
@@ -3687,6 +3708,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,
@@ -3948,6 +3970,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,
@@ -4207,6 +4230,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,
@@ -4456,7 +4480,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),
@@ -4466,6 +4490,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,
@@ -4595,6 +4620,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,
@@ -4721,6 +4747,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,