开发者

how is it possible that runs entirely in-memory instead of on disk [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments开发者_如何学C, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

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?


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:

  • The memory of the server.
  • The number of servers in the database cluster.


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)...


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜