当前位置:网站首页>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的性能就不是很优秀了
边栏推荐
- JS deep copy - Notes
- Live broadcast preview | how to improve enterprise immunity through "intelligent edge security"?
- 重定向和文件
- The function of using wechat applet to scan code to log in to the PC web of the system
- In depth analysis of common cross end technology stacks of app
- 365 day challenge leetcode 1000 questions - day 037 elements and the maximum side length of squares less than or equal to the threshold + the number of subsequences that meet the conditions
- With cloud simulation platform, Shichuang technology supports the upgrading of "China smart manufacturing"
- B - 识别浮点常量问题
- Complete ecological map of R & D Efficiency & selection of Devops tools
- JD cloud and Forrester consulting released a hybrid cloud report that cloud Nativity has become a new engine driving industrial development
猜你喜欢

PyQt5:第一章第1节:使用Qt组件创建一个用户界面-介绍

Redirection and files

C语言 一维数组

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

Live broadcast preview | how to improve enterprise immunity through "intelligent edge security"?

51万奖池邀你参战!第二届阿里云ECS CloudBuild开发者大赛来袭

平行云CEO 李岩:CloudXR ,开启通往元宇宙的通道

ClickHouse学习(十一)clickhouseAPI操作

Day 3

Come on! See how Clickhouse, which has risen 16 places a year, can be implemented in jd.com
随机推荐
C语言 N皇后问题
刷题狂魔—LeetCode之剑指offer58 - II. 左旋转字符串 详解
More than 200 ISVs have settled in! The first anniversary of Alibaba cloud computing nest
分配内存:malloc()和free()
Day 1
ClickHouse学习(九)clickhouse整合mysql
Occt learning 001 - Introduction
Detailed explanation of serial port communication
ClickHouse学习(八)物化视图
ClickHouse学习(十)监控运行指标
B - identify floating point constant problems
Pyqt5: Chapter 1, Section 1: creating a user interface using QT components - Introduction
递归的基本原理
Basic principle of recursion
【C语言系列】— 打印100~200之间的素数
ClickHouse学习(十一)clickhouseAPI操作
Topological ordering of a graph of water
时间复杂度和空间复杂度
Using POI TL to insert multiple pictures and the same data of multiple rows of cells into the table cells of word template at one time, it is a functional component for automatic merging
ClickHouse学习(七)表查询优化