How can I forcefully reload the clickhouse configuration? I need to make changes to /etc/clickhouse-server/config.xml (remote_servers). Can I force clickhouse to re-read the file without restarting the service?
答案 0 :(得分:2)
The server tracks changes to config files and files that were used for substitutions and overrides and reloads users and clusters configurations in runtime. That is, you can add or change users, clusters and their settings without relaunching the server. For remote_servers server read config immediately after the request
答案 1 :(得分:1)
重新启动 ClickHouse 数据库以应用配置更改:在 Ubuntu 中:
sudo service clickhouse-server restart