Durchsuchen nach
Schlagwort: NoSQL

MongoDB Export a collection (general)

MongoDB Export a collection (general)

MongoDB is a NoSQL database, that stores information in documents instead of tables, and it can store a lot of information. It looks like that: test> db.test.find()[ { _id: ObjectId(’69edadcfb6b4cff75744ba89′), name: ‚Morgentest‘ } ] You see MongoDB follows the JSON standard for documents. Ok, MongoDB stores this for human-readable information, but there is a special format that is called BSON that MongoDB uses, but this is not the subject of this blog entry. If you have a full database (or…

Weiterlesen Weiterlesen

MongoDB Compass Version 1.49 installiert

MongoDB Compass Version 1.49 installiert

Nachdem ich über viele Jahre auf meinem Fedora-Rechner neben der MongoShell auch MongoDB Compass installiert hatte, habe ich nun den Schritt auch auf dem Notebook mit AlmaLinux 9.7 gemacht. Es ist das grafische Front-End zu der MongoShell. Ich benutze es hauptsächlich für kleinere Änderungen und für Abfragen. Die Erstellung verläuft weiterhin über Python-Scripte und detaillierte Abfragen sind über die MongoShell am besten. Nach dem Herunterladen von der offiziellen Seite von MongoDB Compass kann man sich das rpm Paket normal über…

Weiterlesen Weiterlesen

Installation von MongoDB 8.0.19 in AlmaLinux 9.7

Installation von MongoDB 8.0.19 in AlmaLinux 9.7

English below: Auf meinem Notebook lief bislang „nur“ die MariaDB – Datenbank. Nun habe ich sie auch mit MongoDB ergänzt und zwar mit einer der neuesten Version. Für AlmaLinux braucht man ein Repo, damit MongoDB installieren. Wozu braucht man MongoDB? In erster Linie benutze ich es, um ganz lange Texte zu speichern. Im Gegensatz zu MariaDB ist es keine Tabellen-Datenbank (daher auch ist es auch in NoSQL-Datenbank), die die Daten in Dokumenten speichern und in diesem Fall das BSON-Format. MongoDB…

Weiterlesen Weiterlesen

MongoDB in general

MongoDB in general

General information about MongoDB 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.  On Linux, you can check the status of the server…

Weiterlesen Weiterlesen

Fedora 42 Backup script for MongoDB database

Fedora 42 Backup script for MongoDB database

What is the advantage of this script? 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. MongoDB is open-source and has a wide range…

Weiterlesen Weiterlesen