Question : This is more of a theoretical question: Let’s say I have a collection of documents, my_collection: { “_id”: […]
Category: MongoDB
Mongodb automatic Replica Set creation with JS driver
Question : The MongoDB docs state that one can use the mongo client console to initialize replica sets by running […]
How to add a fixed string to a mongoDB result like we do we in SQL Server?
Question : We have this syntax with SQL server: select name as ‘database’, ‘I_Love_SQL’ as ‘feelings’ from sys.databases which will […]
Foreign keys – link using surrogate or natural key?
Question : Is there a best practice for whether a foreign key between tables should link to a natural key […]
Transferring Mongodb database with rsync while working, is it okay?
Question : I need to transfer MongoDB data from another server with rsync with MongoDB running. Making a dump is […]
MongoDB find() not getting anything
Question : I have a collection as follows: { “_id” : ObjectId(“5a6d9a1ee183f06dfd91dbf0”), “date” : “20180126”, “oid” : “000”, “aid” : […]
I found the normal ULimit setting for mongo db is as follows:
Question : I found the normal ULimit setting for mongo db is as follows: -f (file size): unlimited -t (cpu […]
Mongodb deployment best practice for dual nodes?
Question : I have two nodes and I’d like to deploy mongodb on them. It seems there’re two methods: Deploy […]
what is the password to user mongodb when mongodb is installed in ubuntu?
Question : When I installed mongodb in ubuntu, user mongodb and group mongodb are created in /etc/passwd and /etc/group. But […]
MongoDB vs RDBMS DBA duties
Question : What are the differences between the daily tasks/duties of a Mongo DBA compared to a RDBMS DBA? For […]