Clickhouse
时间: 2023-12-05 22:46:41 浏览: 118
Clickhouse搭建与使用.md
ClickHouse是一个开源的列式数据库管理系统,用于处理大规模数据分析。它的文件存储位置可以在配置文件中指定,配置文件的路径是/etc/clickhouse-server/config.xml。启动ClickHouse的可执行文件位于/usr/bin目录下,数据存储在/var/lib/clickhouse目录中,日志文件位于/var/log/clickhouse-server目录中。\[1\]
如果你想下载ClickHouse,可以在http://repo.red-soft.biz/repos/clickhouse/stable/el7/找到下载地址。在单机模式下,你需要将以下5个文件上传到/usr/local/clickhouse目录中:
- clickhouse-client-1.1.54236-4.el7.x86_64.rpm
- clickhouse-compressor-1.1.54236-4.el7.x86_64.rpm
- clickhouse-debuginfo-1.1.54236-4.el7.x86_64.rpm
- clickhouse-server-1.1.54236-4.el7.x86_64.rpm
- clickhouse-server-common-1.1.54236-4.el7.x86_64.rpm\[2\]
然后,你可以使用以下命令安装这5个rpm文件:
rpm -ivh /usr/local/clickhouse/*.rpm\[2\]
最后,你可以使用以下命令启动ClickHouse服务器:
nohup clickhouse-server --config-file=/etc/clickhouse-server/config.xml >/dev/null 2>&1 &\[3\]
#### 引用[.reference_title]
- *1* [【用户画像】ClickHouse简介、特点、安装和部署](https://blog.csdn.net/weixin_43923463/article/details/127471546)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [ClickHouse原理及使用](https://blog.csdn.net/weixin_32265569/article/details/111822811)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文