Durchsuchen nach
Kategorie: MongoDB

MongoDB – simple queries in the Mongoshell

MongoDB – simple queries in the Mongoshell

What is MongoDB? MongoDB is a document-oriented NoSQL database that stores data in flexible, JSON-like documents, allowing for easy storage and retrieval of structured, semi-structured, and unstructured data. Unlike traditional relational databases that use tables and rows, MongoDB uses collections and documents, making it more adaptable to changing data structures. It was designed to handle large volumes of data and is known for its scalability, flexibility, and ease of use.  What is Mongoshell? The MongoShell is an interactive command window for the MongoDB database….

Weiterlesen Weiterlesen

My best articles about MongoDB

My best articles about MongoDB

Here is a little collection of articles about MongoDB Fedora 42 Backup script for MongoDB database In this article, I show you a modern version of a backup for a MongoDB database Linux (Fedora 41) Bash Script to do a backup for MongoDB This is the original version of the back about the modern version of a backup for a MongoDB database. MongoDB in Fedora Linux – how is the configuration of the server I show in this article how…

Weiterlesen Weiterlesen

MongoDB in Fedora Linux – how is the configuration of the server

MongoDB in Fedora Linux – how is the configuration of the server

Mongoshell The MongoShell is an interactive command window for the MongoDB database. You can use it for the CRUD operations. The MongoShell comes with the installation of MongoDB. After test, you type in the commands. What is CRUD? Create, Read, Update, Delete The command for the MongoShell mongosh It is possible that you see this message, but you can ignore it: and type the command: db.serverCmdLineOpts() The output is in the JSON (JavaScript Object Notation) Format. test> db.serverCmdLineOpts(){argv: [ ‚/usr/bin/mongod‘,…

Weiterlesen Weiterlesen

MongoDB – einfache Abfragen in der Mongoshell

MongoDB – einfache Abfragen in der Mongoshell

Was ist MongoDB? MongoDB ist wie eine sehr große, flexible Schubladenkommode für deine Daten. Stell dir vor, jede Schublade ist eine Art Ordner, den wir „Collection“ nennen. In diese Ordner kannst du Informationen ablegen, die zusammengehören, zum Beispiel alle Kundendaten oder alle Produktinformationen. Das Besondere ist, dass du in diese „Ordner“ nicht nur Zettel mit immer gleichen Feldern legen musst. Jeder „Zettel“ (wir nennen ihn „Dokument“) kann ganz anders aussehen und unterschiedliche Informationen enthalten. Das macht MongoDB sehr flexibel, wenn…

Weiterlesen Weiterlesen

MongoDB – Pymongo mit Abfragen

MongoDB – Pymongo mit Abfragen

Was ist MongoDB? MongoDB ist wie eine sehr große, flexible Schubladenkommode für deine Daten. Stell dir vor, jede Schublade ist eine Art Ordner, den wir „Collection“ nennen. In diese Ordner kannst du Informationen ablegen, die zusammengehören, zum Beispiel alle Kundendaten oder alle Produktinformationen. Das Besondere ist, dass du in diese „Ordner“ nicht nur Zettel mit immer gleichen Feldern legen musst. Jeder „Zettel“ (wir nennen ihn „Dokument“) kann ganz anders aussehen und unterschiedliche Informationen enthalten. Das macht MongoDB sehr flexibel, wenn…

Weiterlesen Weiterlesen