Installation and Administration

DBS - MongoDB Configuration

Updated: July 31, 2019 Page Information Edit on GitHub

DBS (Document-Based Storage) is an infrastructure in the Nuxeo Platform 5.9.5 (Fast Track) allowing storage of documents inside a document-oriented store, like NoSQL.

The first implementation is available for MongoDB.

Installation

Starting with Nuxeo Platform 5.9.5, all the MongoDB code is part of the default platform.

To activate MongoDB document storage, add the mongodb template to your existing list of templates (nuxeo.templates) in nuxeo.conf.

You must keep the template corresponding to your SQL database in nuxeo.templates, because the SQL database is still used for other things (directories, audit, etc.). For instance you could have:

nuxeo.templates=postgresql,mongodb

or

nuxeo.templates=default,mongodb

Configuration

The property nuxeo.mongodb.server in nuxeo.conf can be set if your MongoDB server doesn't run on the default localhost:27017.

Nuxeo stores its information in the nuxeo database of MongoDB, under the default collection (the name of the collection is the Nuxeo repository name).

For MongoDB beginners, note that if you want to clear your MongoDB instance of Nuxeo data (for instance to start afresh), you should do:

$ mongo nuxeo
> db.default.remove({})
Related Documentation
   
a month ago Andrew Goodricke Syntax error fixed
3 years ago Solen Guitter 12
4 years ago Florent Guillaume 11
5 years ago Manon Lumeau 10
5 years ago RĂ©mi Cattiau 9 | As requested by Brendan
5 years ago Florent Guillaume 8
5 years ago Florent Guillaume 7
5 years ago Solen Guitter 6
5 years ago Florent Guillaume 5
5 years ago Florent Guillaume 4
5 years ago Florent Guillaume 3
5 years ago Florent Guillaume 2
5 years ago Florent Guillaume 1
History: Created by Florent Guillaume

We'd love to hear your thoughts!

All fields required