Search code examples
sqlmongodbnosqlrelational-databaserdbms

How can NoSQL databases achieve much better write throughput than some relational databases?


How is this possible? What is it about NoSQL that gives it a higher write throughput than some RDBMS? Does it boil down to scalability?


Solution

  • In summary, NoSQL databases are built to easily scale across a large number of servers (by sharding/horizontal partitioning of data items), and to be fault tolerant (through replication, write-ahead logging, and data repair mechanisms). Furthermore, NoSQL supports achieving high write throughput (by employing memory caches and append-only storage semantics), low read latencies (through caching and smart storage data models), and flexibility (with schema-less design and denormalization).

    From:

    Open Journal of Databases (OJDB) Volume 1, Issue 2, 2014 www.ronpub.com/journals/ojdb ISSN 2199-3459

    https://estudogeral.sib.uc.pt/bitstream/10316/27748/1/Which%20NoSQL%20Database.pdf - page 19