Update Clickhouse_建表语句_测试环境 09 增加布隆过滤器.sql
This commit is contained in:
@@ -4154,3 +4154,8 @@ ad_cc_rejected_connection_num Int64,
|
|||||||
ad_generate_time Int64
|
ad_generate_time Int64
|
||||||
)
|
)
|
||||||
ENGINE =Distributed(ck_cluster,tsg_galaxy_v3,active_defence_event_log_local,rand());
|
ENGINE =Distributed(ck_cluster,tsg_galaxy_v3,active_defence_event_log_local,rand());
|
||||||
|
|
||||||
|
alter table tsg_galaxy_v3.session_record_local on cluster ck_cluster add INDEX IF NOT EXISTS client_index common_client_ip type bloom_filter(0.05) GRANULARITY 1;
|
||||||
|
alter table tsg_galaxy_v3.transaction_record_local on cluster ck_cluster add INDEX IF NOT EXISTS client_index common_client_ip type bloom_filter(0.05) GRANULARITY 1;
|
||||||
|
alter table tsg_galaxy_v3.interim_session_record_local on cluster ck_cluster add INDEX IF NOT EXISTS client_index common_client_ip type bloom_filter(0.05) GRANULARITY 1;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user