SQL or MongoDB which is Best ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

SQL or MongoDB which is Best ?

20th Mar 2018, 2:54 PM
Meezan Shaikh
Meezan Shaikh - avatar
9 Answers
+ 12
this is not a question of "which is best" this is a question of "which is best for my needs from the app" here is some reading material for choosing between relational DB (SQL) and document based DB (NoSQL, MongoDB) https://www.sitepoint.com/sql-vs-nosql-choose/ https://medium.com/xplenty-blog/the-sql-vs-nosql-difference-mysql-vs-mongodb-32c9980e67b2 https://blog.jooq.org/2016/09/28/when-to-choose-sql-and-when-to-choose-nosql/ https://dzone.com/articles/when-use-mongodb-rather-mysql
20th Mar 2018, 6:50 PM
Burey
Burey - avatar
+ 7
SQL is great with php. Mongodb with django might be cool.
20th Mar 2018, 3:38 PM
Pravin Pandey
Pravin Pandey - avatar
+ 6
SQL is great I would say, with huge community support you can get help easily whereas monoDB is not that famous.
20th Mar 2018, 3:28 PM
Pravin Pandey
Pravin Pandey - avatar
+ 5
oh btw, mongodb university is running free 8 weeks online course that you can register , u ll get certified after the end exam , in May I guess course is pretty easy and fun I did the whole first one week course today morning itself, so it wouldnt be much of an issue. just pick ur platform i.e nodejs, .net , java , etc and start the course. you ll be able to tell the differences yourself
27th Mar 2018, 2:16 PM
Morpheus
Morpheus - avatar
+ 4
@just read the 4 article links by Burey they are awesome, heres few key takeaways. SQLs big player is MySql NoSqls big player is MongoDB SQL works good when you have a known and non changing schema, as in legacy applications. NoSQL is very easy to begin with hence everybody should start their first CRUD operations with mongoDB , learning curve is gentle. mongoDB is quite scalable , with on the fly schema design possibilities. SQL scales vertically i.e. you keep adding disks to same server, which is restrictive. NoSQL scales horizontally i.e you add servers which is much beneficially from many points of view. SQL perform better in most operations but NoSQL performs better in insert operations. So study SQL if you have to forcefully otherwise go download mongoDb & robomongo( GUI for mongoDB) or make your own free 500 mb remote mongoDB at mlabs for testing. 👍
27th Mar 2018, 2:06 PM
Morpheus
Morpheus - avatar
+ 2
i am working on web development by python using flask some say MongoDB in that case would be easier... confused
20th Mar 2018, 3:34 PM
Meezan Shaikh
Meezan Shaikh - avatar
+ 2
Thanks will see through see this ☺
20th Mar 2018, 3:39 PM
Meezan Shaikh
Meezan Shaikh - avatar
0
All of those use SQL. The only thing different might be a slight dialect. The real difference is the way the database operates.
20th Mar 2018, 9:25 PM
Private [GER]
Private [GER] - avatar
0
Thanks for that too ☺
27th Mar 2018, 5:32 PM
Meezan Shaikh
Meezan Shaikh - avatar