当前位置:网站首页>Clickhouse architecture
Clickhouse architecture
2022-07-21 19:02:00 【Know what you know】
The server (Server)
The server implements several different interfaces :
A for any external client HTTP Interface .
One for this machine ClickHouse Client and cross server communication in distributed query execution TCP Interface .
An interface for transferring data for copying .
analyzer (Parser)
Parser The analyzer will sql The statement has been formed recursively AST The form of the grammar tree , And different types of sql Will call different parse Implementation class .
Interpreter (Interpreter)
Interpreter The interpreter is responsible for explaining AST, And further create the query execution pipeline .Interpreter The interpreter works like Service The service layer is the same , It plays the role of concatenating the whole query process , It depends on the type of interpreter , Aggregate the resources it needs . First, it will parse AST object ; And then execute " Business logic " ( For example, branch judgment 、 Set parameters 、 Call interface, etc ); Eventually return IBlock object , Set up a query execution pipeline in the form of thread .
Watch engine (Storages)
Different table engines are implemented by different subclasses . The table engine uses IStorage Interface , This interface defines DDL ( Such as ALTER、RENAME、OPTIMIZE and DROP etc. ) 、read and write Method , They are responsible for the definition of data 、 Query and write .
边栏推荐
- 程序初学者推荐学哪种编程语言比较好?
- [QNX Hypervisor 2.2用户手册]8.6 中断
- API Test
- Ardunio开发——I2C协议通讯——控制2x16LCD
- Solution to field 'ID' doesn't have a default value error
- 0715今日歌单 One Last Kiss, 耗尽
- 第一部分—C语言基础篇_9. 复合类型(自定义类型)
- [translation] principles for designing and deploying extensible applications on kubernetes
- 苹果公司发布watchOS 8.7 包含错误修复和安全更新
- el-table支持分页多选
猜你喜欢
下一代无线局域网--802.11n与传统11ag OFDM设备间的PHY互操作性
Manual implementation of solving single source shortest path
机器学习-单变量线性回归
Part I - Fundamentals of C language_ 10. Document operation
Usage of readshow database + National Library Reference Alliance
ESB combined with UMC cloud platform development instructions
Detailed understanding of mvcc of MySQL (version 2022)
Natural fit between NFT and luxury culture: NFT meets the human nature of seeking uniqueness and status
Skills of manually traversing binary tree
ES 自定义分析器
随机推荐
Solution to field 'ID' doesn't have a default value error
这还是我最熟悉的package.json吗?
Introduction to C language --- operators
ACM training July 5
第一部分—C语言基础篇_10. 文件操作
Midas Capital向Moonbeam带来Fuse Pools
[translation] principles for designing and deploying extensible applications on kubernetes
bryntum gantt 5.0.6
[mathematical modeling] juvenile delinquency | stepwise regression analysis | residual analysis rcoplot
生成二维码
Excel to JSON (tree structure)
El table supports paging multiple selection
Stm32f40x minimum system
点亮第一个LED
0715 today's song list one last kiss, exhausted
教程篇(7.0) 03. FortiClient EMS配置和管理 * FortiClient EMS * Fortinet 网络安全专家 NSE 5
ESB結合UMC雲平臺開發說明
手工遍历二叉树的技巧
LabVIEW中通过编程获取前面板的屏幕截图
嵌入式学习:Cortex-M系列芯片介绍