三種機(jī)制:Flush、compact、split
--當(dāng)MemStore達(dá)到閾值,將Memstore中的數(shù)據(jù)Flush進(jìn)Storefile;(128M)
--compact機(jī)制則是把flush出來的小文件合并成大的Storefile文件。(flush文件塊超過4)
--split操作,當(dāng)某一個(gè)的Hfile的文件超過閾值,regionserver將進(jìn)行切分。
此時(shí),只是生成兩個(gè)引用文件。只有當(dāng)子文件進(jìn)行compact時(shí)候,才會真正進(jìn)行數(shù)據(jù)的遷移。