Re:Apple open-sources FoundationDB
by tinco on Thursday April 19, 2018 @04:21PM
(#16879751)
Would it be possible to build a tree DB on top of it like MonetDB/Xquery? I always wondered why XML databases never took off, I've never seen anything else quit as powerful. Document databases if du jour seem comparatively lame.
[ Parent
| on HN ]
Re:Apple open-sources FoundationDB
by CMCDragonkai on Thursday April 19, 2018 @08:05PM
(#16881203)
Yes you can. You need a tree index basically. Any kv store can serve as the backing data structure. I've been writing one for config file bidirectional transformation.
They had a document layer that wasn't released that was MongoDB compatible — so you can do this.
MongoDB is just a database with less features than a SQL database. An XML/XQuery database is fundamentally different, so I figured if FoundationDB layers are really so powerful, they might be able to model a tree DB as well.