NoSQL for mobile applications?

Is there an installed noSQL database solution for developing native mobile applications (Android and / or iOs)?

+55
android ios mobile nosql
May 08 '11 at a.m.
source share
9 answers

I don’t think there is an installed NoSQL server for native mobile applications, but Couchbase Mobile is a great NoSQL database with implementations for both iOS and Android.

iOS: http://www.couchbase.com/products-and-services/mobile-couchbase

Android: https://github.com/couchbase/couchbase-lite-android

+23
May 8 '11 at 2:39
source share

leveldb is the new guy on the block. This is a key repository / value similar to BigTable but intended for embedded devices. Their license is New BSD, which is much better than the LGPL in the Tokyo office.

It is incredibly fast and builds directly from Xcode.

+16
Jun 30 2018-11-11T00:
source share

I would not be surprised if there is a port in the Tokyo office for mobile OS; but seriously, what would NoSQL bring the SQLite library already included in each platform?

  • simple semantics. it is as easy to make a key / value in SQL as in any NoSQL database.
  • scalability. A multi-package mobile phone does not qualify as a mobile platform.
  • trivial outline. Phone clusters are not so popular yet.
  • small implementation. the source code of the tokyo package is 4.8MB, SQLite is 4.7MB. there is no real gain (and it already exists).

In short, you can simply use SQLite as a "small NoSQL" if you want. it's pretty fast too.

+11
May 08 '11 at 1:18
source share

Edit :( Apr 2016)

Realm is the way to go now.




If anyone is still interested, I found these two wrappers for TokyoCabinet:

In any case, I think LevelDB is better.

+9
Aug 16 '12 at 18:23
source share

CouchDB is often touted as NoSQL DB for mobile applications due to its synchronization capabilities. There is also a beta version of Mobile Couchbase .

+5
May 09 '11 at 11:58 a.m.
source share

for android there:

https://github.com/rehacktive/waspdb

Now this is an alpha scene, but it may match your request.

+5
Oct 15 '12 at 16:23
source share

SnappyDB seems like a good NoSQL option for Android. The read / write tests on SQLite are pretty amazing.

+4
May 4 '14 at 8:21
source share

iBoxDB is a high-performance NoSQL database with an implementation for both Android and Windows Phone. Easy to use, zero configuration, copy and run.
for java android https://github.com/iboxdb/forjava
for.net windows phone https://iboxdb.codeplex.com/

+2
Jul 03 '13 at 17:23
source share

Something new that I wrote in Objective-C is SimpleDB. This is a key / value repository and can be found here: http://github.com/AaronBratcher/SimpleDB

Since the stored values ​​must be JSON, sorting can be performed, and specific pieces of data can be returned.

Special functions

  • Very easy to use - NO SQL query!
  • Auto-Delete option for records after a specified date
  • Direct interaction with the database is not required to use the class - all this does
  • All methods are class-level methods, so no instance of the class is required.
  • Ceiling protection

API

+(BOOL) hasKey:(NSString*) key inTable:(NSString*) table; +(NSArray*) keysInTable:(NSString*) table; +(NSArray*) keysInTable:(NSString*) table orderByJSONValueForKey:(NSString*)jsonOrderKey passingTest:(BOOL (^)(NSString* key, NSString* value, NSDate* dateAdded, NSDate* dateModified)); +(NSString*) valueForKey:(NSString*) key inTable:(NSString*) table; +(NSDictionary*) dictionaryValueForKey:(NSString*) key inTable:(NSString*) table; +(id) jsonValueForKey:(NSString*) jsonKey tableKey:(NSString*) key inTable:(NSString*) table; +(void) setValue:(NSString*) value forKey:(NSString*) key inTable:(NSString*) table; +(void) setValue:(NSString*) value forKey:(NSString*) key inTable:(NSString*) table autoDeleteAfter:(NSDate*) date; +(void) deleteForKey:(NSString*) key inTable:(NSString*) table; +(void) dropTable:(NSString*) table; +(dbStatus) status; +(NSString*) guid; 
0
Oct 10 '13 at 19:33
source share



All Articles