clickhouse踩坑经历:
clickhouse默认允许并发数量不够,导致报错:
可以通过更改它的默认配置解决
编辑位于以下位置的主clickhouse配置文件:
/etc/clickhouse-server/config.xml
查找:
<max_concurrent_queries>100</max_concurrent_queries>
根据需求更改:
<max_concurrent_queries>200</max_concurrent_queries>
https://github.com/ClickHouse/ClickHouse/blob/master/programs/server/config.xml#L237