当前位置:网站首页>Apache Doris creates dynamic partitions
Apache Doris creates dynamic partitions
2022-04-21 19:14:00 【Justin Mars】
Dynamic partition usage scenario
In some usage scenarios , Users will partition the table according to days , Perform routine tasks regularly every day , At this time, the user needs to manually manage the partition , Otherwise, the data import may fail because the user does not create a partition , This brings additional maintenance costs to the user .
Through the dynamic partition function , Users can set dynamic partition rules when creating tables .FE A background thread will be started , Create or delete partitions according to user specified rules . Users can also make changes to existing rules at run time .
Dynamic partitioning is in Doris 0.12 New features introduced in the release . Designed to implement lifecycle management for table level partitions (TTL), Reduce the burden of users .
The function of adding and deleting dynamic partitions is realized .
Dynamic partition only supports Range Partition .
Usage mode
Dynamic partition rules can be specified when creating tables , Or modify it at run time . Currently, only dynamic partition rules can be set for partition tables with single partition columns .
-
When creating a table, specify :
CREATE TABLE tbl1 (...) PROPERTIES ( "dynamic_partition.prop1" = "value1", "dynamic_partition.prop2" = "value2", ... ) -
Runtime modification
ALTER TABLE tbl1 SET ( "dynamic_partition.prop1" = "value1", "dynamic_partition.prop2" = "value2", ...
版权声明
本文为[Justin Mars]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204211851385079.html
边栏推荐
- MusicPlayer2.1版本
- Common shell commands - grep (I)
- Apply El tooltip (bubble text prompt box) in El tabs
- uniapp 运行到内置浏览器,怎么打开开发者工具
- 体育场馆系统可以连接其他智能设备吗
- Mysql database index interview questions (latest version)
- To deal with doget & dopost Chinese garbled code
- 《数字电子技术基础》5.1 触发器 概述
- JVM专题(十一)-垃圾回收(二)
- The difference between null and undefined
猜你喜欢

Automatic control principle Chapter 5 - frequency method (mind map)

第五章 使用 matplotlib 绘制饼图

2022.04.21(LC_56_合并区间)

Feign源码分析

MySQL (III) index optimization and case analysis

Pytorch 卷积层

影响VPS网站优化的因素有哪些?

使用8266做串口调试工具二

In the El input search in ement, the matching input suggestions after input must have the value attribute

山东大学项目实训(四)多个点标记添加点击事件
随机推荐
The local datetime problem of shardingjdbc
Depth first search DFS (adjacency matrix and adjacency table version)
Machine learning notes - Trace operator (tracking operator)
机器学习笔记 - 迹算子(跟踪运算符)
MySQL de duplication query
Easygbs has closed the video recording plan. Why are video files still generated?
每日CISSP認證常錯題(2022年4月20日)
How to open the developer tool when the uniapp runs to the built-in browser
The fifth chapter uses Matplotlib to draw pie chart
每日CISSP认证常错题(2022年4月20日)
How to classify cosmetics in the management system?
Openkg open source series | Encyclopedia of characters knowledge map (Southeast University)
"Actual combat" realizes linear regression with tensorflow
【手部姿态估计】【论文解读】3D Human Pose Estimation in RGBD Images for Robotic Task Learning
第五章 使用 matplotlib 绘制饼图
Clickhouse installation configuration
[Wangdao postgraduate entrance examination 3] OSI seven layer reference model, TCP / IP reference model and five layer reference model
影响VPS网站优化的因素有哪些?
【Leetcode】每日一题:山羊拉丁文
Wide application of medical robot in AI field