在Mac OS系统的CLion中启动ClickHouse Server,启动过程日志和终止过程日志如下:
/Users/***/ClionProjects/Beautiful1205/ClickHouse/cmake-build-debug/dbms/programs/clickhouse server --config-file /Users/***/ClionProjects/Beautiful1205/ClickHouse/dbms/programs/server/config.xml
Include not found: clickhouse_remote_servers
Include not found: clickhouse_compression
Logging trace to console
2019.12.01 15:11:15.005981 [ 1 ] {} <Information> : Starting ClickHouse 19.8.4.1 with revision 54420
2019.12.01 15:11:15.032576 [ 1 ] {} <Information> Application: starting up
2019.12.01 15:11:15.038040 [ 1 ] {} <Information> StatusFile: Status file ./status already exists - unclean restart. Contents:
PID: 85729
Started at: 2019-12-01 15:11:04
Revision: 54420
2019.12.01 15:11:15.038272 [ 1 ] {} <Warning> Application: Cannot set max number of file descriptors to 4294967295. Try to specify max_open_files according to your system limits. error: Invalid argument
2019.12.01 15:11:15.038294 [ 1 ] {} <Debug> Application: Initializing DateLUT.
2019.12.01 15:11:15.038304 [ 1 ] {} <Trace> Application: Initialized DateLUT with time zone `Asia/Shanghai'.
2019.12.01 15:11:15.039489 [ 1 ] {} <Debug> ConfigReloader: Loading config `/Users/***/ClionProjects/Beautiful1205/ClickHouse/dbms/programs/server/users.xml'
Include not found: networks
2019.12.01 15:11:15.051880 [ 1 ] {} <Information> Application: Uncompressed cache size was lowered to 4.00 GiB because the system has low amount of memory
2019.12.01 15:11:15.052469 [ 1 ] {} <Information> Application: Mark cache size was lowered to 4.00 GiB because the system has low amount of memory
2019.12.01 15:11:

本文深入分析了ClickHouse Server在MacOS环境下从启动到终止的全过程,详细解析了配置加载、资源初始化、端口监听及服务终止等关键环节,为理解和优化ClickHouse性能提供了实用指导。
最低0.47元/天 解锁文章
1万+

被折叠的 条评论
为什么被折叠?



