Skip to content

Commit 1e98094

Browse files
committed
Schemaless
1 parent 0b8acaf commit 1e98094

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1348,7 +1348,18 @@ In a scenario where an abruption occurs at any point of time or flash disc remai
13481348
<b><a href="#">↥ back to top</a></b>
13491349
</div>
13501350
1351-
#### Q. ***Is MongoDB schema-less?***
1351+
## Q. ***Is MongoDB schema-less?***
1352+
1353+
As a NoSQL database, MongoDB is considered schemaless because it does not require a rigid, pre-defined schema like a relational database. The database management system (DBMS) enforces a partial schema as data is written, explicitly listing collections and indexes.
1354+
1355+
MongoDB is a document based database, which does not use the concept of tables and columns, instead of which it uses the concept of documents and collections. All the referential data with respect to different modules will be stored as one collection. More over the BSON data structure used by MongoDB can easily have varying sets of data and fields with different types.
1356+
1357+
When we say **schemaless**, we actually mean **dynamically typed schema**, as opposed to statically typed schemas as available in RDBMS(SQL) databases. JSON is a completely schema free data structure, as opposed to XML which allows you to specify XSD if you need.
1358+
1359+
<div align="right">
1360+
<b><a href="#">↥ back to top</a></b>
1361+
</div>
1362+
13521363
#### Q. ***What is the advantage of the backup features in Ops Manager versus traditional backup strategies?***
13531364
#### Q. ***What is splitting in mongodb?***
13541365
#### Q. ***What is a Storage Engine in MongoDB?***

0 commit comments

Comments
 (0)