Problem Recently, our client has been planning to use Azure platform and one of the most important factor is to migrate their data from MongoDB Atlas into Azure Cosmos DB. In this article, I would like to summary some necessary steps to migrate data from MongoDB. Pre-migration Before we start migration process, it requires us … Continue reading How to migrate data from MongoDB Atlas to Azure Cosmos DB?
Situation You have a JSON file or CSV file and you want to import into a MongoDB database. How can you execute this task? Solution MongoDB provided a tool that named as mongoimport that can help us to import a data set into a Mongo database. For understanding mongoimport , click here In my example, I tried … Continue reading Importing JSON file in MongoDB
In this article, I would like to share a simple approach how to use C# connect to MongoDB database Setup Environment MongoDB installed on Ubuntu 14.04 LTS. Click here Visual Studio 2015 Community is installed on Window 8 (VS2015) MongoDB database You have installed MongoDB successfully, then we connect to MongoDB to create a new collection … Continue reading .NET application and MongoDB
Replication is the high availability in MongoDB. Basically, this solution is use to replicate data to multiple servers (nodes) so if one server is down then system still can work by responding reads from clients. Architecture In this example, I installed 3 servers as above. They are MongoDB standalone instance. Now we will set up … Continue reading How to set up Replication in MongoDB
In this article, I would like to guide how we install a MongoDb instance on Ubuntu virtual machine that you have installed. Prerequisite conditions You must install an Ubuntu OS virtual machine on VWareWorkstation application or any box supports you create a virtual machine. Putty client that can connect to the virtual machine. Ubuntu OS … Continue reading How to install MongoDB Community edition on Ubuntu 14.04 LTS