Skip to content

Commit

Permalink
ALTER USER website SETTINGS add_http_cors_header = true, max_result_r…
Browse files Browse the repository at this point in the history
…ows = 1048576, network_compression_method = zstd, network_zstd_compression_level = 6, replace_running_query = true, skip_unavailable_shards = true, max_parallel_replicas = 100, use_query_cache = true, query_cache_ttl = 8640000., query_cache_share_between_users = true, analyze_index_with_space_filling_curves = false, compatibility = , readonly = 1, max_execution_time = 180
  • Loading branch information
alexey-milovidov committed Apr 11, 2024
1 parent 1202925 commit ea8eade
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.sql
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ CREATE MATERIALIZED VIEW view_sample100 TO planes_mercator_sample100 AS SELECT *


CREATE USER website IDENTIFIED WITH sha256_hash BY 'E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855'
SETTINGS
SETTINGS
add_http_cors_header = 1,
max_result_rows = 1048576,
network_compression_method = 'zstd',
Expand All @@ -92,6 +92,7 @@ SETTINGS
query_cache_ttl = 8640000,
query_cache_share_between_users = 1,
analyze_index_with_space_filling_curves = 0,
max_execution_time = 180,
priority CHANGEABLE_IN_READONLY,
readonly = 1;

Expand All @@ -108,7 +109,7 @@ TO website;


CREATE USER website_progress IDENTIFIED WITH sha256_hash BY 'E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855'
SETTINGS
SETTINGS
add_http_cors_header = 1,
max_result_rows = 1024,
skip_unavailable_shards = 1,
Expand Down

0 comments on commit ea8eade

Please sign in to comment.