Durchsuchen nach
Schlagwort: MongoDB

MongoDB lists all databases with Python

MongoDB lists all databases with Python

You can list all created databases in MongoDB with a Python script. This Python script might also be available for Windows. The installed versions of Python, MongoDB, pymongo I have older version, what I can do? It might work with older version, but I’m not sure. Updating pymongo pip install pymongo -U What does this script do? ✅️ Checking whether MongoDB is installed on Linux and Windows ✅️ Checking whether pymongo is installed on Linux and Windows. Pymongo you for…

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

MongoDB – Queries with Python

MongoDB – Queries with Python

This is an article for people who have already installed MongoDB on their pc and want to do more with a Python script and the database. Installed version of MongoDB What is Pymongo? Pymongo is like a toolbox that allows your Python programme to communicate with the MongoDB database. Think of it this way: MongoDB is the large chest of drawers containing your data, and Pymongo is the set of tools your Python programme needs to open drawers, insert new…

Weiterlesen Weiterlesen

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