Posts

Showing posts with the label MongoDB

MongoDB - daTa ModeLLinG Concepts: SQL - Where all to UsE ?

Image
Data Modeling Data modeling (data modelling) is the analysis of data objects and their relationships to other data objects. Data modeling is often the first step in database design and object-oriented programming as the designers first create a conceptual model of how data items relate to each other. Data modeling involves a progression from conceptual model to logical model to physical schema. MongoDB Data Modeling In MongoDB, data has a flexible schema . It is totally different from SQL database where you had to determine and declare a table's schema before inserting data. MongoDB collections do not enforce document structure. The main challenge in data modeling is balancing the need of the application, the performance characteristics of the database engine, and the data retrieval patterns. Following things must be consider while designing MongoBD data models Always design schema according to requirements . Perform join on write operations only not on read operations. Obj...

MongoDB overView with Installation_procEss: SQL - Where all to UsE ?

Image
MongoDB MongoDB (from humongous) is a free and open-source cross-platform document-oriented database program . Classified as a NoSQL database program , MongoDB uses JSON-like documents with schemas. MongoDB is developed by MongoDB Inc. and is free and open-source, published under a combination of the GNU Affero General Public License and the Apache License. Any relational database has a typical schema design that shows number of tables and the relationship between these tables. While in MongoDB, there is no concept of relationship. Document Database A record in MongoDB is a document, which is a data structure composed of field and value pairs. MongoDB documents are similar to JSON objects. The values of fields may include other documents, arrays, and arrays of documents. Following is the example of MongoDB document  Following are some advantages of using document database Documents correspond to native data types in many programming languages. Embedded documents and...