Segments are stored on disk and memory-mapped, and are in a format that is "proprietary to Druid" in the sense that it is a format that is primarily used by Druid. It is, of course, an open format, since Druid is open source!
Data is processed in-place whenever possible, minimizing deserialization or copies. For details check out this talk:
https://www.youtube.com/watch?v=qSJ8_Lc1oAY▾
👍 1
d
D K
02/15/2023, 5:48 AM
Hi @Gian Merlino just to clarify, mmaping a segment doesn't mean loading that file into main memory right? And druid will first identify the rows in the segment files based on meta-data and then loading only that particular portion of segment into memory and do the necessary calculations on-demand correct?