在Voltdb中,当我们进行查询时,哪些数据结构用于存储数据?例如,将查询插入到<> value(X,X,X)中,数据是如何实际存储在内存中的.
In Voltdb, which data structures are used to store data when we make a query? For example, with query insert into <> value(X,X,X), How the is data actually stored in the memory.
推荐答案VoltDB建立在HStore数据库的基础上,在该数据库中,表的行连续放置在主内存中(值以内联方式存储,但指针用于使用共享的内存池)和常规的B树索引.
VoltDB is built on top of HStore database where rows of tables are placed contiguously in main memory (values are stored inline but pointers are used for long column values that use a shared pool of memory) with conventional B-tree indexing.
尽管VoltDB使用Java存储过程来运行事务,但是实际的表和视图是在堆外存储的,并由用C/C ++编写的执行引擎进行管理.
Although VoltDB uses Java stored procedures to run transactions, the actual tables and views are stored off the heap and are managed by the execution engine that's written in C/C++.
更多推荐
voltdb中使用了哪些数据结构
发布评论