Related Topics
MongoDB export (mongoexport) using aggregation
When we are thinking for exporting data in csv, tsv or json format from MongoDB then probably one tool we are using that is mongoexport. This is pretty straight forward and setting up all parameters will get back your desired Continue readingMongoDB export (mongoexport) using aggregation→
Linux directory structure, user, group, permission, ownership etc.
Before starting any mongodb administration job, we need to know very well about the system, where MongoDB is going to deploy. For this article I choose very common linux OS Ubuntu. Target readers should not be only for mongodb dba, Continue readingLinux directory structure, user, group, permission, ownership etc.→
MongoDB encryption at rest
Encryption at Rest – means, we need to encrypt our data that we want to store on disk. It can be achieved by following two forms. Application level encryption For application level encryption, it is not a feature offered by Continue readingMongoDB encryption at rest→
MongoDB query optimization
Often we saw that after making individual machine better (Scale up) or distributed the data into shards (Scale Out) or making all read queries route to secondary replica set, yet the queries are not performing well and getting the bottleneck. Continue readingMongoDB query optimization→
2. Shell script loop & conditional statement
Like other programming languages, shell script also have same loop concept, let us look at different types of loop syntax how it will work in shell scripts. For loop #!/bin/sh for x in hi 1 * 2 A bye do Continue reading2. Shell script loop & conditional statement→
Suggestions