当前位置:网站首页>ClickHouse学习(一)ClickHouse?
ClickHouse学习(一)ClickHouse?
2022-07-29 05:09:00 【阳光里哭泣的狗】
什么是ClickHouse
是一个面向列式存储的数据库,并允许使用SQL查询实时生成分析报告,主要用于OLAP(在线分析处理查询),它在大数据领域没有走Hadoop生态,而是采用Local attached storage作为存储,这样整个IO可能就没有Hadoop那一套的局限。
特点
- 对于单表查询来说是最快的
在内存数据库领域号称是最快的
- 多样化引擎
包含了合并树、日志、接口和其他四大类 20 多种引擎
- 拥有DBMS(数据库管理系统) 的功能
几乎覆盖了标准 SQL 的大部分语法,包括 DDL 和 DML,以及配套的各种函数,用户管
理及权限管理,数据的备份与恢复
- 高吞吐写入能力
才用了LSM Tree的结构和Hbase一样,由于这种结构在数据导入时全部都是顺序追加写入,写入后的数据不可更改,so后台会定期的进行合并,据官方公开 benchmark 测试显示能够达到 50MB-200MB/s 的写入吞吐能力,按照每行100Byte 估算,大约相当于 50W-200W 条/s 的写入速度
- 数据分区与线程级并行
对数据进行了分区管理避免了的全表查询的问题,并且通过多个 CPU核心分别处理其中的一部分来实现并行数据处理,这样导致了,单条 Query 就能利用整机所有 CPU
缺点
对于并发支持不够友好。在高并发查询,大概同时的查询数量在上千级别的话,就很容易出问题
相对于查询来说,他的写入速度没有那么优秀,单台机器的写入速度只能达到大概30W/s~60W/s
相比较他自己单表查询性能来说,join的性能就不是很优秀了
边栏推荐
- Terminal shell common commands
- Why is Google's internal tools not suitable for you?
- vim编辑器使用
- Bubble sort c language
- Detailed explanation of GPIO input and output
- Li Kou 994: rotten orange (BFS)
- 365 day challenge leetcode 1000 questions - day 040 design jump table + avoid flooding + find the latest grouping with size M + color ball with reduced sales value
- 副作用和序列点
- Camunda 1. Camunda workflow - Introduction
- Container security open source detection tool - veinmind (mirror backdoor, malicious samples, sensitive information, weak password, etc.)
猜你喜欢

The road to success in R & D efficiency of 1000 person Internet companies

VIM editor use

MySQL的详细安装使用教程(保姆式安装图文讲解)

Preemptive appointment | Alibaba cloud shadowless cloud application online conference appointment opens

More than 200 ISVs have settled in! The first anniversary of Alibaba cloud computing nest

ClickHouse学习(十一)clickhouseAPI操作

一维数组练习
![[event preview] cloud development, efficient and intelligent - the second Alibaba cloud ECS cloudbuild developer competition is about to start](/img/6e/6b4deeedbfd9d6baa651019f3dabfa.jpg)
[event preview] cloud development, efficient and intelligent - the second Alibaba cloud ECS cloudbuild developer competition is about to start

Helm chart for Kubernetes

Application of Huffman tree and Huffman coding in file compression
随机推荐
AiTalk创始人梁宇淇:镜像连接虚拟与现实的纽带
Alibaba cloud architect Liang Xu: MES on cloud box helps customers quickly build digital factories
抽象类与接口
适创科技以云仿真平台,支持“中国智造”升级
ClickHouse学习(十)监控运行指标
Why is Google's internal tools not suitable for you?
浅谈Servlet
【C语言系列】— 打印100~200之间的素数
[event preview] cloud development, efficient and intelligent - the second Alibaba cloud ECS cloudbuild developer competition is about to start
QML type: state state
Bubble sort c language
阿里云联合鼎捷软件发布云上数字工厂解决方案,实现云MES系统本地化部署
Pyqt5: Chapter 1, Section 1: creating a user interface using QT components - Introduction
如视技术副总裁杨永林:当传统产业遇到“数字空间”
Detailed explanation of exit interrupt
Preemptive appointment | Alibaba cloud shadowless cloud application online conference appointment opens
Day 1
Terminal shell common commands
Cryengine Technology
Day 2