INTRO TO MONGODB

 


What is MongoDB ??

MongoDB is a NoSQL (Not Only SQL) database that is used to efficiently handle enormous amounts of data. It is open source and is used as an alternative to standard databases in the development of large enterprise systems that handle massive amounts of data. It was created using the C++ programming language. It is cross-platform and is a document-oriented database. MongoDB stores and retrieves data in the Binary JavaScript Object Notation (BSON) format. Many organizations utilize MongoDB because of its capabilities and benefits, which aid their businesses by lowering expenses.  

MongoDB is made up of three basic parts:-

  •  Database
  • Collections
  • Documents

Database -> A database is a collection of data that works as physical storage. The database is represented by the code_builders_hut in the image above.

Collections -> These are groups of documents. This is analogous to the table structure of a relational database. The collection is represented by the users in the above image.

Documents -> In MongoDB, these are the fundamental building pieces of a database. The image above is an example of a document. The data is saved as Key-value pairs and supports various data types. These are analogous to the rows found in a SQL table, which is used in relational databases.

MongoDB has the following characteristics: 

  • It can manage both structured and unstructured data 
  • It is horizontally scalable and cost-effective
  • It supports ad-hoc queries (able to perform a search using regex/field/query to get results)
  • It has indexes that improve the performance of the search operation in retrieving data.
Harsha Vardhan Garlapati

As a software engineer and technology enthusiast, I thrive on exploring the ever-evolving world of technology and leveraging it to create innovative solutions. With a passion for sharing knowledge and insights, I also delve into the world of blogging to inspire and educate others in the realm of software development. Beyond the realm of code, I find joy in exploring new destinations as a passionate traveler, embracing diverse cultures, and broadening my horizons. In my free time, I cherish moments spent with friends, valuing the connections and experiences that enrich my life. Combining my technical expertise, love for writing, adventurous spirit, and the importance of human connections, I aim to leave a positive impact on the world through my work, experiences, and interactions. Let’s embark on this exciting journey together, exploring the wonders of technology while cherishing the moments that truly matter.

Post a Comment

Previous Post Next Post