当前位置:网站首页>【ClickHouse】How to create index for Map Type Column or one key of it?
【ClickHouse】How to create index for Map Type Column or one key of it?
2022-07-02 04:38:00 【Donghai Chen Guangjian】
How to create index for Map Type Column or one key of it?
[version 21.8.10 revision 54449] #31801
You can create index for map keys, or for map values. Example:
CREATE TABLE test_table
(
id UInt64,
value Map(Int64, String),
index value_key_index mapKeys(value) TYPE bloom_filter GRANULARITY 4
) ENGINE=MergeTree ORDER BY id;
Link to documentation https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#available-types-of-indices.
Reference resources :https://github.com/ClickHouse/ClickHouse/issues/31801
边栏推荐
- Design and implementation of general interface open platform - (44) log processing of API services
- Thinkphp内核工单系统源码商业开源版 多用户+多客服+短信+邮件通知
- Record the bug of unity 2020.3.31f1 once
- Idea automatic package import and automatic package deletion settings
- Summary of common string processing functions in C language
- 10 minutes to understand CMS garbage collector in JVM
- 缓存一致性解决方案——改数据时如何保证缓存和数据库中数据的一致性
- Dare to go out for an interview without learning some distributed technology?
- A summary of common interview questions in 2022, including 25 technology stacks, has helped me successfully get an offer from Tencent
- How muddy is the water in the medical beauty industry with a market scale of 100 billion?
猜你喜欢
TypeScript函数详解
阿里云polkit pkexec 本地提权漏洞
Deep understanding of lambda expressions
万卷共知,一书一页总关情,TVP读书会带你突围阅读迷障!
Dare to go out for an interview without learning some distributed technology?
LeetCode-归并排序链表
Pytoch --- use pytoch to predict birds
Thinkphp内核工单系统源码商业开源版 多用户+多客服+短信+邮件通知
The solution to the complexity brought by lambda expression
Embedded-c language-9-makefile/ structure / Consortium
随机推荐
[graduation season · advanced technology Er] young people have dreams, why are they afraid of hesitation
Summary of common string processing functions in C language
Embedded-c language-9-makefile/ structure / Consortium
Pytorch---使用Pytorch进行鸟类的预测
Gin framework learning code
One step implementation of yolox helmet detection (combined with oak intelligent depth camera)
C language practice - number guessing game
66.qt quick QML Custom Calendar component (supports vertical and horizontal screens)
Pytoch --- use pytoch to realize u-net semantic segmentation
What methods should service define?
[understand one article] FD_ Use of set
Leetcode- insert and sort the linked list
Is it safe to open an account with first venture securities? I like to open an account. How can I open it?
深圳打造全球“鸿蒙欧拉之城”将加快培育生态,优秀项目最高资助 1000 万元
MySQL table insert Chinese change? Solution to the problem of No
June book news | 9 new books are listed, with a strong lineup and eyes closed!
cookie、session、tooken
Exposure X8标准版图片后期滤镜PS、LR等软件的插件
Comp 250 parsing
Design and implementation of general interface open platform - (44) log processing of API services