What are the advantages of using a schema-free database like MongoDB compared to a relational database? -


I used to use relational databases like MySQL or PostgreSQL, and MVM frameworks such as Symphony, ROR or Django , And I think it works great.

But recently I've heard a lot about Mongodebi, which is a non-relational database, or, for quotation,

is a scalable, high performance, Open source, schema-free, document-oriented database.

I'm really interested in staying on the shore and I must know all the options and choose the best techniques for a next project.

In which cases is the use of MongoDB (or similar database) better than using "classic" relational database? And what are the advantages of mangodibi versus mysql generally? Or at least, why is it so different?

If you have documentation and / or example signs, then it will be very helpful.

Some advantages of mangodibi for creating web applications:

  1. A document-based data model is the basic unit of storage compatible with JSON, Python dictionaries, ruby ​​hash, etc. This is a rich data structure that is capable of keeping the array and other documents. This means that you can often represent in a unit which requires several tables to properly represent in a relational db. This is particularly useful if your data is immutable.
  2. Deep Query-Capability MongoDB supports dynamic queries on documents by using a document-based query language which is almost as powerful as SQL.
  3. No schema migration because the mangodibi schema is free, your code defines your schema.
  4. A clear path for horizontal scalability.

You have to read more about it and play together. Here's an online demo to get a better idea:


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -