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

前端 未结 9 1804
别那么骄傲
别那么骄傲 2020-12-22 16:02

I\'m used to using relational databases like MySQL or PostgreSQL, and combined with MVC frameworks such as Symfony, RoR or Django, and I think it works great.

But la

9条回答
  •  無奈伤痛
    2020-12-22 16:59

    The advantage of schema-free is that you can dump whatever your load is in it, and no one will ever have any ground for complaining about it, or for saying that it was wrong.

    It also means that whatever you dump in it, remains totally void of meaning after you have done so.

    Some would label that a gross disadvantage, some others won't.

    The fact that a relational database has a well-established schema, is a consequence of the fact that it has a well-established set of extensional predicates, which are what allows us to attach meaning to what is recorded in the database, and which are also a necessary prerequisite for us to do so.

    Without a well-established schema, no extensional predicates, and without extensional precicates, no way for the user to make any meaning out of what was stuffed in it.

提交回复
热议问题