When should I consider using a in memory database and what are the issue to look out for?

前端 未结 9 2075
一整个雨季
一整个雨季 2021-02-05 03:58

I was just think that now it is common to have enough RAM on your database server to cache your complete database why are the specialist in memory database (e

9条回答
  •  遇见更好的自我
    2021-02-05 04:27

    The most typical use-case for a database is persistence, which makes most in-memory databases unsuitable. One popular reason to use an in-memory database is for testing purposes. But this requires you use either a database that can be set up both as in-memory and something else.

    Popular choices in this area seems to be RavenDB for .Net developers and OrientDB for Java developers. Because both can function as in-memory databases, and "something else" depending on configuration, so you can use one or the other depending on your configuration (app.config in .Net, Maven or Ant settings in Java).

提交回复
热议问题