voltdb中使用了哪些数据结构 [英] Which data structures are used in voltdb

查看:50
本文介绍了voltdb中使用了哪些数据结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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中使用了哪些数据结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆