23.09 tsg ck新增字段http_status_code
This commit is contained in:
@@ -584,6 +584,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record_local ON CLUSTER
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -840,6 +841,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_cl
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -1094,6 +1096,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_qu
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -1348,6 +1351,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record_local ON CLUSTER ck_
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -1515,6 +1519,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_cluste
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -1678,6 +1683,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_query(
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -2543,6 +2549,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.security_event_local ON CLUSTER ck_clus
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -2800,6 +2807,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_cluster (
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -3054,6 +3062,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_query (
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -3309,6 +3318,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.proxy_event_local ON CLUSTER ck_cluster
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -3491,6 +3501,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_cluster (
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -3669,6 +3680,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_query (
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -3847,6 +3859,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_local ON CLUSTER ck_clus
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -4104,6 +4117,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_cluster (
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -4358,6 +4372,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_query (
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
|
|||||||
@@ -581,6 +581,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record_local ON CLUSTER
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -836,6 +837,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_cl
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -1090,6 +1092,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_qu
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -1344,6 +1347,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record_local ON CLUSTER ck_
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -1510,6 +1514,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_cluste
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -1673,6 +1678,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_query(
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -2536,6 +2542,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.security_event_local ON CLUSTER ck_clus
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -2792,6 +2799,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_cluster (
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -3046,6 +3054,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_query (
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -3301,6 +3310,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.proxy_event_local ON CLUSTER ck_cluster
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -3482,6 +3492,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_cluster (
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -3660,6 +3671,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_query (
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -3838,6 +3850,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_local ON CLUSTER ck_clus
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -4094,6 +4107,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_cluster (
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
@@ -4348,6 +4362,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_query (
|
|||||||
http_response_content_type String,
|
http_response_content_type String,
|
||||||
http_set_cookie String,
|
http_set_cookie String,
|
||||||
http_version String,
|
http_version String,
|
||||||
|
http_status_code Int64,
|
||||||
http_response_latency_ms Int64,
|
http_response_latency_ms Int64,
|
||||||
http_session_duration_ms Int64,
|
http_session_duration_ms Int64,
|
||||||
http_action_file_size Int64,
|
http_action_file_size Int64,
|
||||||
|
|||||||
22
TSG发布版本更新记录/TSG-23.09/clickhouse/update-23.09-ck.sql
Normal file
22
TSG发布版本更新记录/TSG-23.09/clickhouse/update-23.09-ck.sql
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
set distributed_ddl_task_timeout = 180;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER table tsg_galaxy_v3.session_record_local on cluster ck_cluster add column IF NOT EXISTS http_status_code Int64 after http_version;
|
||||||
|
ALTER table tsg_galaxy_v3.session_record on cluster ck_cluster add column IF NOT EXISTS http_status_code Int64 after http_version;
|
||||||
|
ALTER table tsg_galaxy_v3.session_record on cluster ck_query add column IF NOT EXISTS http_status_code Int64 after http_version;
|
||||||
|
|
||||||
|
ALTER table tsg_galaxy_v3.interim_session_record_local on cluster ck_cluster add column IF NOT EXISTS http_status_code Int64 after http_version;
|
||||||
|
ALTER table tsg_galaxy_v3.interim_session_record on cluster ck_cluster add column IF NOT EXISTS http_status_code Int64 after http_version;
|
||||||
|
ALTER table tsg_galaxy_v3.interim_session_record on cluster ck_query add column IF NOT EXISTS http_status_code Int64 after http_version;
|
||||||
|
|
||||||
|
ALTER table tsg_galaxy_v3.security_event_local on cluster ck_cluster add column IF NOT EXISTS http_status_code Int64 after http_version;
|
||||||
|
ALTER table tsg_galaxy_v3.security_event on cluster ck_cluster add column IF NOT EXISTS http_status_code Int64 after http_version;
|
||||||
|
ALTER table tsg_galaxy_v3.security_event on cluster ck_query add column IF NOT EXISTS http_status_code Int64 after http_version;
|
||||||
|
|
||||||
|
ALTER table tsg_galaxy_v3.proxy_event_local on cluster ck_cluster add column IF NOT EXISTS http_status_code Int64 after http_version;
|
||||||
|
ALTER table tsg_galaxy_v3.proxy_event on cluster ck_cluster add column IF NOT EXISTS http_status_code Int64 after http_version;
|
||||||
|
ALTER table tsg_galaxy_v3.proxy_event on cluster ck_query add column IF NOT EXISTS http_status_code Int64 after http_version;
|
||||||
|
|
||||||
|
ALTER table tsg_galaxy_v3.transaction_record_local on cluster ck_cluster add column IF NOT EXISTS http_status_code Int64 after http_version;
|
||||||
|
ALTER table tsg_galaxy_v3.transaction_record on cluster ck_cluster add column IF NOT EXISTS http_status_code Int64 after http_version;
|
||||||
|
ALTER table tsg_galaxy_v3.transaction_record on cluster ck_query add column IF NOT EXISTS http_status_code Int64 after http_version;
|
||||||
Reference in New Issue
Block a user