当前位置:网站首页>【译】clickhouse 22.4和22.5核心特性一览
【译】clickhouse 22.4和22.5核心特性一览
2022-06-28 17:29:00 【liyang910910】
原文
https://clickhouse.com/blog/clickhouse-newsletter-june-2022-materialized-but-still-real-time/
https://clickhouse.com/blog/clickhouse-newsletter-may-2022-explain-statement-query-optimization/
v22.4
事务
事务作为实验特性已经可用。BEGIN TRANSACTION, COMMIT, ROLLBACK语句支持原子地插入多张表或物化视图,以及从某个快照进行满足一致性和隔离性的读取。更多精彩敬请期待!
Keeper负载均衡
新的config.xml配置中,<zookeeper_load_balancing>可选择random(default), in_order, nearest_hostname, first_or_random, round_robin等负载均衡方式。当你有分布在不同地域的keeper实例时,该特性可减少CH和keeper之间的延迟
MergeTree表启动加速
使用use_metadata_cache可配置元数据缓存于内嵌的RocksDB存储引擎中。当CH启动时,它会尽量从缓存中获取元数据,否则退化到从磁盘文件获取。当你的CH实例中包含很多MergeTree parts时(一般由库、表或分区过多,或频繁insert导致),该特性将非常有用。在极端情况下(700k个parts), 它能使CH启动时间从75分钟缩短到20秒
更多的kafka指标
现在Kafka表引擎暴露了更多的服务指标,例如:已处理的消息条数,错误数,无法解析的消息条数。你可以从系统表system.metrics和system.events中查到这些指标的值
Gap filling
现在可以通过插值来填补查询结果中的gap。例如:当表中包含了以分钟为粒度的数据,但有时候某些分钟的数据是确实的,你可以在查询时加上ORDER BY toStartOfMinute(timestamp) WITH FILL INTERPOLATE (c AS c)使得缺失点的值与之前的相邻点保持一致。根据需要表达式还可以更复杂。
一个月的最后一天
之前CH日期函数只能取整到指定时间段的开始。但是现在你可用toLastDayOfMonth来取整到一个月的最后一天(在金融和会计领域有用)
H3
我们完善了对H3的支持,H3是Uber最初开发并开源的六边形分层地理空间索引系统。如果你还不了解它,查看网站(https://h3geo.org/)以及H3与S2 和 Geohash等其他系统间的差异。
v22.5
Memory Overcommit
在22.2中,我们提出了这个实验特性。它包含一个硬限制和软限制,允许查询在可能的情况下超过软限制,这使得不同类型的查询能够更容易地在CH上执行。在22.5中,memory overcommit默认开启,老的配置max_memory_usage已经从默认配置中移除。
并行Hash Join
这种新的Join实现将Join切分成多个block然后并行执行。这对大数据量的Join尤其有用,高并行度下可减少80%的执行时长。你可通过设置join_algorithm = ‘parallel_hash’ 来尝试该特性
Grouping Sets
GROUP BY增加了新的修饰符GROUPING SETS。它允许基于任何列的组合执行聚合。顺便问一下,你是否了解修饰符WITH TOTALS、WITH ROLLUP 和 WITH CUBE?
FIPS
我们切换到更新的 BoringSSL 模块,ClickHouse 现在符合 FIPS 标准!
边栏推荐
- 节点基础~节点层级
- 7-user input and while loop
- CSDN博客专家
- jq插件分析啊啊
- kubernetes可视化界面dashboard
- The fourth largest operator cannot be a "catfish"
- 本地部署Confluence遇到的问题:MySQL数据库编码、隔离级别、验证码不显示
- Does rapid software delivery really need to be at the cost of security?
- NoSQL redis configuration and optimization (I blew the night breeze of Qinhuai River for you when you were not in Nanjing)
- Exploration and practice of reinforcement learning in yellow page merchants' intelligent chat assistant
猜你喜欢
![抓包整理外篇fiddler————了解工具栏[一]](/img/f4/fa909f30c0097fb77cea10eb0d3109.png)
抓包整理外篇fiddler————了解工具栏[一]

MySQL High available MHA (accidentellement avec ma jeunesse)

7-user input and while loop

Nuc980 heartbeat light

使用Pega进行一个简单的RPA程序开发

Panorama of enterprise power in China SSD industry

Rsync remote synchronization (sunset is especially gentle, and the world is romantic)

传统运维不得不会的zabbix监控(你早起,我早起,我们迟早在一起)

MySQL中的日志管理 日志备份与恢复

Redis6笔记04 主从复制,集群,应用问题,Redis6新功能
随机推荐
Xiaoxin black apple sound card ID injection
Redis持久化(少年一贯快马扬帆,道阻且长不转弯)
[tcapulusdb] I wish you all a healthy Dragon Boat Festival!
2022 operation of simulated examination platform of hoisting machinery command examination question bank
A few lines of code can realize complex excel import and export. This tool class is really powerful!
2022 recurrent training question bank and online simulation examination for main principals of hazardous chemicals business units
[tcapulusdb knowledge base] modify business modify cluster
Talk about my understanding of image tearing, vertical synchronization, freesync and g-sync
Squid proxy server application (I came from afar to make an appointment with you)
WPF video hard decoding, rendering and playing (no airspace) (support 4K, 8K and high frame rate video)
Currency circle earthquake: earned 1million last year and lost 5million this year
Problems encountered in local deployment conflict: MySQL database code, isolation level and verification code are not displayed
MySQL高可用之MHA(一不小心和我的青春擦肩而过)
What is the reason why easycvr can't watch the device video when it is connected to the home protocol?
Spark调优(提交作业资源参数调优)
Differences between shared hosts and WordPress hosts
2022年6月27日-2022年7月3日(ue4视频教程)
Time effective simulation platform based on dataworks | acquisition technology
Node foundation ~ node level
Matlb| optimal operation and marketization of power system