> The MVStore is mainly meant to store data on disk. Off-heap memory (in > which case the data is stored in a ByteBuffer that was created using > ByteBuffer.allocateDirect) can be used in two places: (a) as a large file > cache, and (b) as the main 'storage' (using an in-memory file system). Both > is possible, I guess (b) is easier to implement (a new file system > implementation). >
Yes, but currently you serialize pages into intermediate ByteBuffer and then write it to the FileChannel (I believe you gonna abstract this). I'm talking that in some situations it would be beneficial to avoid this intermediate ByteBuffer at all. Good if the file system abstraction will allow that. ByteBuffer should be implementation detail here. Sergi -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To view this discussion on the web visit https://groups.google.com/d/msg/h2-database/-/wDwhpPcTDMgJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
