13
$\begingroup$

When a relational database, like MySQL, has better performance than a no relational, like MongoDB?

I saw a question on Quora other day, about why Quora still uses MySQL as their backend, and that their performance is still good.

$\endgroup$
2
  • 1
    $\begingroup$ This page mongodb.com/nosql-explained provides some details about it $\endgroup$
    – Michele
    May 17, 2014 at 8:29
  • $\begingroup$ It depends on what kind of performance you are interested in: being able to handle a very large number of concurrent requests, being able to retrieve a specific record among a very large amount of records, being able to compute complex summary values from the data, etc? $\endgroup$ May 18, 2014 at 13:43

1 Answer 1

10
$\begingroup$

It depends on your data and what you're doing with it. For example, if the processing you have to do requires transactions to synchronize across nodes, it will likely be faster to use transactions implemented in an RDBMS rather than implementing it yourself on top of NoSQL databases which don't support it natively.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.