Do you know, India’s Unique Identification project, aka Aadhar, is the world’s biggest biometrics database. Aadhar is in the process of capturing demographic and biometric data of over 1.2 billion residents. Aadhar has used MongoDB as one of its databases to store this huge amount of data.
MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas. MongoDB is developed by MongoDB Inc. and licensed under the Server Side Public License (SSPL).
The motivation of the MongoDB language is to implement a data store that provides high performance, high availability, and automatic scaling.
Object-oriented
Document oriented
High performance
High availability — Replication
High scalability – Sharding
Dynamic — No rigid schema.
Flexible – field addition/deletion have less or no impact on the application
Heterogeneous Data
No Joins
Distributed
Data Representation in JSON or BSON
Geospatial support
Easy Integration with BigData Hadoop
Document-based query language that’s nearly as powerful as SQL
Cloud distributions such as AWS, Microsoft, RedHat,dotCloud and SoftLayer etc:-. In fact, MongoDB is built for the cloud. Its native scale-out architecture, enabled by ‘sharding,’ aligns well with the horizontal scaling and agility afforded by cloud computing.
MongoDB can be used as a file system, called GridFS, with load balancing and data replication features over multiple machines for storing files
https://hub.docker.com/_/mongo
using shell commands
$ docker exec -it buildozer_ub_mongo bash
root@ec68953035ba:/#
root@ec68953035ba:/#
root@ec68953035ba:/# ps ax
PID TTY STAT TIME COMMAND
1 pts/0 Ss+ 0:00 /usr/sbin/sshd -D
16 ? Sl 6:59 mongod --dbpath /srv/mongodb/
189 pts/3 Ss 0:00 bash
206 pts/3 Sl+ 0:00 mongo
214 ? Ss 0:00 sshd: root@pts/1
228 pts/1 Ss 0:00 -bash
247 pts/1 Sl+ 0:00 mongo
252 ? Ss 0:00 sshd: root@pts/4
266 pts/4 Ss+ 0:00 -bash
276 pts/2 Ss 0:00 bash
285 pts/2 R+ 0:00 ps ax
root@ec68953035ba:/# mongo
MongoDB shell version: 2.6.10
connecting to: test
> show dbs
4beb68nau0-meow 0.078GB
8dbymvm6ze-meow 0.078GB
hdfmxutpcb-meow 0.078GB
m7i8b8u4mm-meow 0.078GB
p0hfq6voo0-meow 0.078GB
p2qn8s55dr-meow 0.078GB
s7sb117doy-meow 0.078GB
sfvomq3vg4-meow 0.078GB
test (empty)
test_database 0.078GB
uxl9g8vcel-meow 0.078GB
yhnse9cjyi-meow 0.078GB
> use test_database
switched to db test_database
> show collections
posts
system.indexes
> use test
switched to db test
> show collections
>
Ref: https://docs.mongodb.com/manual/reference/mongo-shell/
Below example shows
There is a DB with name test_database
This DB has collection with name posts
This collection has two documents
Ref: https://hub.docker.com/_/mongo-express
Ref: https://medium.com/@rajanmaharjan/secure-your-mongodb-connections-ssl-tls-92e2addb3c89
Refer https://github.com/krdpk17/mongodb-ssl-docker
https://www.edureka.co/blog/real-world-use-cases-of-mongodb/
https://stackoverflow.com/questions/37063662/docker-mongodb-config-file
https://api.mongodb.com/python/current/examples/tls.html
https://docs.mongodb.com/manual/administration/security-checklist/
https://docs.mongodb.com/manual/security/
https://en.wikipedia.org/wiki/MongoDB
https://dzone.com/articles/why-mongodb