I am developing an android App and want to use Database for Local Storage.I have Searched on internet and found some comparisons between Local Storage Databases. But I have to Choose between Realm and GreenDAO. So please suggest me for which one to use.
Asked
Active
Viewed 3,752 times
2 Answers
4
This is a comparison of NoSQL(Realm) and ORM(GreenDAO).
NoSQL is better option if you need to handle large dataset and your queries do not need so many joins. Example:- If you need to fetch data from five tables, realm will give you options to filter data from two tables (one join at a time) then apply next join condition and so on. ORM has an advantage on joins as a Relational Database.

Harish Gyanani
- 1,366
- 2
- 22
- 43
-
-
1No single option is faster for all scenarios. It depends. Doing SELECT A FROM T WHERE A='B', providing that A is indexed, is much faster than full table scan of even fastest NoSQL database. [https://www.quora.com/Is-NoSQL-faster-than-SQL] β Harish Gyanani Oct 27 '16 at 06:29
0
If you need the fastest database then Realm is the best choice:
- The ease of integration and the ease of use. Realm comes with great documentation and requires almost no effort to get started.
- Cross-Platform: Realm database files are cross-platform and can be shared among iOS and Android. Regardless if you work with Java, Objective-C, or Swift, you will use your high-level models.
- Itβs a trusted product. The realm has proven itself as a reliable solution for banking and enterprise applications, healthcare providers and even top rated applications like Starbucks.

Md Imran Choudhury
- 9,343
- 4
- 62
- 60