What are the advantages of MongoDB over MySQL
The original title is “Is MongoDB the next big thing?”, please allow me to put big thing is equivalent to MySQL, the most widely used open source database. As one of the most popular NoSQL at the moment, let’s take a look at its specific advantages and disadvantages. Features of MongoDB Simple query statement, no Join operation Document-type storage, its data is stored in the binary Json format Bson. Its data is like Ruby hashes, or Python dictionaries, or PHP arrays Sharding, MongoDB provides auto-sharding to achieve data scalability GridFS, the file storage API provided by MongoDB Array index, you can index an array property in the document MapReduce, which can be used for complex statistics and parallel computing High performance, by using mmap and timing fsync, frequent IO is avoided, making it more performant Advantages of MongoDB High performance, very fast (if you have enough RAM) There is no fixed table structure, and there is no need for data migration to modify the table structure The query language is simple and easy to use Use Sharding to achieve horizontal expansion Easy to deploy When using MongoDB, you have to remember the following points: MongoDB assumes you have large disk…