简体   繁体   English

领域是关系数据库吗?

[英]Is realm a relational database?

I have tried searching about Realm but following questions were not answered. 我试过搜索Realm,但以下问题没有得到解答。 Please help me to understand the following questions properly: 请帮我正确理解以下问题:

Is realm a relational database? 领域是关系数据库吗?
How is it more efficient as compared to SQLite? 与SQLite相比,它的效率如何?

NO, Realm is not a relational database. 不,Realm 不是关系数据库。

It allows you to declare relationships between objects the same as you would do in any object graph in your language of choice. 它允许您声明对象之间的关系 ,就像在您选择的语言中的任何对象图中一样。

JP's talk on the core describes it in more detail and is highly recommended. JP关于核心的讨论更详细地描述了它,强烈推荐。

It stores objects in an optimal memory-mapped format, using column-store techniques for fast searching. 它使用列存储技术快速搜索,以最佳的内存映射格式存储对象。 Accessors in the different language SDKs map directly to functions using that memory-mapped storage. 不同语言SDK中的访问器使用该内存映射存储直接映射到函数。

In contrast, anything using a relational database like SQLite has multiple layers of copying buffers. 相比之下,使用像SQLite这样的关系数据库的任何东西都有多层复制缓冲区。

Note: I was on the Realm Xamarin team (2015-2017), left a great bunch of people after we shipped v1.0 to focus on my own startup. 注意:我是在Realm Xamarin团队(2015-2017),在我们发布v1.0之后离开了很多人,专注于我自己的创业公司。

Yes, realm is a relational database . 是的,领域是一个关系数据库 Much faster when complex queries are fired. 触发复杂查询时要快得多。 Supports less number of programming languages. 支持较少数量的编程语言。

http://db-engines.com/en/system/Realm%3BSQLite http://db-engines.com/en/system/Realm%3BSQLite

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM