druid - Apache Druid 段粒度

标签 druid

在 Apache Druid 配置中,您可以选择分段的粒度(小时/天/周/等)。如果稍后更改粒度会发生什么?新设置是否仅应用于新数据而旧段将保持原样,还是也会重新生成旧段?例如,如果我们决定将粒度从天更改为周..

最佳答案

What will happen if you change the granuality later? Will the new settings be applied just to the new data and old segments will be left as it is

分割为immutable ,因此更改粒度仅适用于新数据。

[Will] old segments will be left as it is, or it will regenerated old segments too? for example, if we decide to change from day granuality to week

旧分段将保留其摄取时的粒度,而新分段将以更新的粒度提交并发布到深度存储。

换句话说,在您的示例中,旧分段将保留其日粒度,而新分段将以周粒度提交和发布。

关于druid - Apache Druid 段粒度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74015437/

相关文章:

group-by - Apache Druid GroupBy 虚拟列

带有 Apache HttpClient 的 Java 客户端连接到 Druid

analytics - Apache Superset 是否支持加权平均?

hadoop - Druid + Hadoop(两种用途,深度存储和索引编制)

sql - 在 Apache Superset 中添加 Druid 集群作为 SQL 数据库

druid - druid 中的时间戳规范

java - Druid 经纪人遇到 UnresolvedAddressException

druid - 德鲁伊组查询超出资源限制

druid - 如何在使用 imply 时限制德鲁伊生成的日志文件的大小?

caching - 有没有其他方法可以在 Redis 中使用过期的 ttl 积极地逐出 key