I very much support NoSQL (schemaless, really) databases on SQLite, as it's a great RDBMS and schemaless databases are very handy for various things. I'd love an embedded Redis, but this is pretty much the second best thing.
This particular one is for Android ... but I had/have plans on creating a version for objective-c and C# (for Xamarin). The idea is to have a cross-platform and dead simple to use schemaless data-store for mobile devices at the ready :)
Re:ChocoDB - will be a kind of nosql database running on SQLite
by 616c on Tuesday October 01, 2013 @09:58AM
(#6476148)
It is not clear to me from the committed CoffeeScript how this will work, but is this going to build on top of ejdb project [0] mentioned here a month or so ago?
Re:ChocoDB - will be a kind of nosql database running on SQLite
by watmough on Tuesday October 01, 2013 @12:11PM
(#6477065)
Why would you do this, instead of just building something on the metal?
On a slow platform (ok, an iPhone!) serialization of a 20 field object to a file is approximately 50x faster than running an update statement against SQLite.
You are giving up a LOT of performance, even with a platform that's relatively fast, such as SQLite.
Re:ChocoDB - will be a kind of nosql database running on SQLite
by jclevy on Tuesday October 01, 2013 @12:50PM
(#6477333)
I have to look deeper at SQLite4 spec...
I would say that my objective with ChocoDB is to make it accessible and useful to people who want to manage database structures and queries in a more natural way.
I want the database to help manage different types of relations: inclusion, group, structure, association...
Key/value is simple but it does not help to manage relations.
Relational DB don't either help to manage different types of relations.
Re:ChocoDB - will be a kind of nosql database running on SQLite
by andrewcooke on Wednesday October 02, 2013 @07:17AM
(#6481771)
but isn't the point of being able to implement any relationship you want rather than having a few particular kinds (child of, included in) "built in" a feature? are you going to extend your database every time someone wants a different kind of relationship?
I very much support NoSQL (schemaless, really) databases on SQLite, as it's a great RDBMS and schemaless databases are very handy for various things. I'd love an embedded Redis, but this is pretty much the second best thing.
This particular one is for Android ... but I had/have plans on creating a version for objective-c and C# (for Xamarin). The idea is to have a cross-platform and dead simple to use schemaless data-store for mobile devices at the ready :)
[0] https://github.com/Softmotions/ejdb
The source is in /server/reserve.coffee
On a slow platform (ok, an iPhone!) serialization of a 20 field object to a file is approximately 50x faster than running an update statement against SQLite.
You are giving up a LOT of performance, even with a platform that's relatively fast, such as SQLite.
Dealing with performance, ChocoDB is currently fast enough for me (2x times slower that classic SQLite ; my first version was 8x slower!)
they implement couchdb's api and replication, but are implemented in localStorage / sqlite (respectively).
ChocoDB wants to (re)experiment new ways of dealing with database. It want to keep it simple and accessible.
I would say that my objective with ChocoDB is to make it accessible and useful to people who want to manage database structures and queries in a more natural way.
I want the database to help manage different types of relations: inclusion, group, structure, association...
Key/value is simple but it does not help to manage relations. Relational DB don't either help to manage different types of relations.
You can of course manage all those relations in a relational database but the job is done by you, not by the database.
I just want to test this and see if the database can do more and my code less.
I think there is a need for light embedded schemaless databases.