4

I started searching for an alternative to SQLite. I found realm. I understand that it is faster and safer. But I wonder where does realm store data in mobile?

  1. Does it increase App's data size? like sqlite
  2. Can we see the data as the app user? Like sqlite

Any suggestions?

Gibbs
  • 21,904
  • 13
  • 74
  • 138

2 Answers2

6

1) Does it increase App's data size? like sqlite

Yes, it increase the size.It stores data in data folder.

2) Can we see the data as the app user? Like sqlite

The Realm Browser is only available on Mac OS X at the moment. We are working on Windows & Linux versions. see Official Site

Path of realm file on device How to view my Realm file in the Realm Browser?

Community
  • 1
  • 1
N J
  • 27,217
  • 13
  • 76
  • 96
  • Thanks N J. Does user of the app can access Realm browser and Realm storage? If so, they can corrupt app stored data? Isn't – Gibbs May 16 '16 at 04:41
  • No user of app can access only when device is rooted . On other side it is stored in private data folder . So if device is rooted then user can access file – N J May 16 '16 at 04:43
  • 1
    Thanks. i got the answer for this question. I will open another question about user access if I still confused. – Gibbs May 16 '16 at 04:44
  • 1
    Storage occupied by realm is same as Sqlite? – Gibbs May 16 '16 at 04:45
  • 1
    I haven't gone deep in that ..:( about size comparison – N J May 16 '16 at 04:48
  • @NJ any way to check realm file size programmatically ? – Arbaz.in Sep 26 '18 at 09:21
1

Realm stores its data in the internal storage (data folder)

You can use either the Realm Browser for MAC, or Stetho-Realm via Chrome browser to view the database

EpicPandaForce
  • 79,669
  • 27
  • 256
  • 428