MongoDB¶
MongoDB is a schema-less and document-orientated NoSQL database. It does not use table but combines documents to collections. These documents may have different structures. The structure is created during runtime.
With PLOSSYS 5, MongoDB contains the data about the printers and the jobs.
MongoDB in a Cluster¶
If MongoDB is running in a cluster, the data stored in the database is distributed. Therefore, a failure of a MongoDB node does not affect the integrity of the database.
For how to configure MongoDB in a cluster, refer to Configure MongoDB in a Cluster on Windows or Configure MongoDB in a Cluster on Linux.
Hint - cluster
In a cluster, the data has to be added or changed on one server only. The databases on the other servers are synchronized automatically.
Directories and Files¶
The following directories and files are created:
-
Windows: Directories and Files of MongoDB
Database Backup¶
Several ways are possible for backing up the database, for example:
- Copy the database files
- Call the
mongodump
program
Literatur - database backup
For more information about backing up the database, refer to the MongoDB documentation.
Access Methods¶
With the command line tool mongo
, you can access the database.
Several software vendors offer user interfaces. For more information, refer to the MongoDB documentation.
Caution - writing
Be careful when writing into the database!
Secure MongoDB¶
For how to secure MongoDB, refer to Secure MongoDB on Windows or Secure MongoDB on Linux.