mongodb 可以用作嵌入式数据库吗? [英] Can mongodb be used as an embedded database?
问题描述
我正在开发一个 RSS 阅读器应用程序.我需要找到一个后端数据库.我希望嵌入数据库,因为我不希望用户安装数据库服务器.
I am working on a RSS reader application. And I need to find a backend database. I want the database be embedded because I don't want the users to install a database server.
我知道 SQLite 是一个不错的选择,但我想知道是否还有其他 nosql 选择?
I know SQLite is a good choice, but I am wondering if there are any other nosql choices?
推荐答案
根据 Google Group 的说法,是的,它可以,但它没有涵盖具体如何.
According to the Google Group, yes it can, but it doesn't cover how exactly.
是的,但它不漂亮而且会强制您的应用获得 AGPL 许可.如果你有兴趣看看如何工具处理 --dbpath 选项.
Yes, but it isn't pretty and will force your app to be AGPL licensed. If you are interested take a look at how the tools handle the --dbpath option.
来源:http://groups.google.com/group/mongodb-user/browse_thread/thread/463956a93d3fb734?pli=1
如果您使用 .NET,一个选项可能是 RavenDB,它是一个文档数据库,可以嵌入.
If you're using .NET, one option might be RavenDB, which is a document database, and can be embedded.
这篇关于mongodb 可以用作嵌入式数据库吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!