meso5533

clickhouse 文档里的划分冷热多盘存储配置真的是按时间划分冷热数据的吗?

  •  
  •   meso5533 · Oct 9, 2022 · 3486 views
    This topic created in 1337 days ago, the information mentioned may be changed or developed.

    https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#table_engine-mergetree-multiple-volumes

    move_factor:when the amount of available space gets lower than this factor, data automatically starts to move on the next volume if any (by default, 0.1). ClickHouse sorts existing parts by size from largest to smallest (in descending order) and selects parts with the total size that is sufficient to meet the move_factor condition. If the total size of all parts is insufficient, all parts will be moved.

    看文档的解释,应该是按 part 的大小优先把大的 part 移到下一个盘

    但是什么样的数据会被合并成一个 part 的呢?

    大的 part 一定就是时间久远的数据吗?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6169 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 167ms · UTC 03:03 · PVG 11:03 · LAX 20:03 · JFK 23:03
    ♥ Do have faith in what you're doing.