MongoDB

MongoDB is a scalable, high-performance, open source NoSQL database written in C++. As described in the presentation JSON-LD and MongoDB it is a suitable database for storing and publishing JSON-LD, i.e. JSON for Linking Data.

MongoDB Admin Tools

  • MongoDB Admin UIs
  • Robomongo is a shell-centric cross-platform open source MongoDB management tool (i.e. Admin GUI) that embeds the same JavaScript engine that powers MongoDB's mongo shell. Everything you can write in mongo shell — you can write in Robomongo!
  • smog provides a node.js, html5, WebSocket admin panel for MongoDB.

MongoDB CommandsReferences

  • Display contents:
    $ mongo
    > show dbs;
    local   (empty)
    test    0.0625GB
    todo    0.0625GB
    > use todo;
    switched to db todo
    > show collections;
    system.indexes
    todo
    todo.next_id
    > db.todo.find();
    { "_id" : NumberLong(1), "done" : false, "order" : 1, "text" : "mongodb", "version" : 0 }
    { "_id" : NumberLong(2), "done" : false, "order" : 2, "text" : "xx", "version" : 0 }
    { "_id" : NumberLong(3), "done" : false, "order" : 3, "text" : "more", "version" : 0 }
    { "_id" : NumberLong(4), "done" : false, "order" : 4, "text" : "ff", "version" : 0 }

References