怎么可能完全在内存中而不是在磁盘上运行
VoltDB 完全在内存中而不是在磁盘上运行。我想知道如果我们的数据不断增加但内存是有限的资源,这怎么可能,它不会很快就会开始遇到一些瓶颈吗?
VoltDB runs entirely in-memory instead of on disk. I am wondering how is this possible if say our data is increasing and increasing yet ram is a limited resource, wouldn't it start to hit some bottlenecks real soon?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
内存数据库通常设计为用作集群。要随着数据库大小的增长而扩展,您必须增加其中一项,以便数据库完全适合内存:
In-memory databases are usually designed to be used as clusters. To scale as the size of the database grows, you have to increase one of these so the database fully fits in memory:
我对这个数据库一无所知,但可以做到这一点。你只需要很多计算机(节点)。如果您需要更多“空间”,请添加另一个(对、三个)节点...
I don't know anything about this DB, but it's possible to do this. You just need a lot of computers(nodes). If you need more "space" add another (pair, triple of) node(s)...
对于内存数据库,您需要足够的物理 RAM 来保存应用程序的状态。您当然可以将陈旧/静态数据移动到长期数据存储中以进行报告和分析。
With an in-memory database you'll need enough physical RAM to hold the state of your application. You can certainly move stale/static data along to a long-term data store for reporting and analysis.
仅当您的数据增长速度快于内存价格下降速度时。如果大多数数据库经过标准化且不包括 blob/图像/文件,则它们比现代工作站的最大 RAM 大小小得多。
Only if your data is growing faster than memory prices are going down. Most databases are much smaller than the maximum ram size of a modern workstation if they are normalized and excluding blobs/images/files.