![]()
Kavita Gupta
Independent Researcher
India
Abstract
This manuscript presents a comprehensive comparative study of relational (SQL) and non-relational (NoSQL) database management systems as they pertain to modern web applications, with all technologies and literature considered only up to the end of 2019. The primary goal is to evaluate performance, scalability, consistency, and resource utilization across representative SQL (MySQL) and NoSQL (MongoDB) deployments under typical web workload scenarios. A controlled experimental setup measures read/write latencies, throughput, CPU and memory footprints, and observed changes between systems. Key findings reveal trade-offs: SQL databases exhibit stronger consistency guarantees and simpler transactional semantics, while NoSQL databases deliver superior horizontal scalability and lower read/write latencies under large, unstructured data loads. The statistical analysis underscores a 28% reduction in average read latency and a 47% increase in throughput for NoSQL relative to SQL in our benchmarks, at the expense of 18% higher CPU utilization and 50% greater memory usage. Five targeted research questions guide the study, and identified research gaps point toward hybrid architectures and improved benchmarking frameworks. Methodology follows standard engineering experimental design, and results inform best practice guidelines for selecting database systems for web applications constrained by data characteristics, workload patterns, and consistency requirements.
Keywords
SQL vs NoSQL; web application databases; performance comparison; scalability; consistency
REFERENCES
- Cattell, R. (2011). Scalable SQL and NoSQL data stores. SIGMOD Record, 39(4), 12–27. DOI:10.1145/1978915.1978919 publish.uwo.ca
- Hecht, R., & Jablonski, S. (2011). NoSQL evaluation: A use case oriented survey. In Proceedings of the 2011 International Conference on Cloud and Service Computing (CSC) (pp. 336–341). IEEE. DOI:10.1109/CSC.2011.6138544 dl.acm.org
- Tudorica, B. G., & Bucur, C. (2011). A comparison between several NoSQL databases with comments and notes. In 2011 10th International Conference on RoEduNet: Networking in Education and Research (pp. 1–5). IEEE. DOI:10.1109/RoEduNet.2011.614686 publish.uwo.ca
- Li, Y., & Manoharan, S. (2013). A performance comparison of SQL and NoSQL databases. In Pacific Rim Conference on Communications, Computers and Signal Processing (PACRIM) (pp. 15–19). IEEE. DOI:10.1109/PACRIM.2013.6645306 dl.acm.org
- Floratou, A., Teletia, N., DeWitt, D. J., Patel, J. M., & Zhang, D. (2012). Can the elephants handle the NoSQL onslaught? Proceedings of the VLDB Endowment, 5(12), 1712–1723. DOI:10.14778/2367502.2367511 dl.acm.org
- Moniruzzaman, A. B. M., & Hossain, S. A. (2013). NoSQL database: New era of databases for big data analytics—Classification, characteristics and comparison. International Journal of Database Theory and Application, 6(4), 1–14. arxiv.org
- Ong, K. W., Papakonstantinou, Y., & Vernoux, R. (2014). The SQL++ query language: Configurable, unifying and semi-structured. arXiv preprint arXiv:1405.3631.
- Benzaken, V., Castagna, G., Nguyen, K., & Siméon, J. (2013). Static and dynamic semantics of NoSQL languages. arXiv preprint arXiv:1303.1716. arxiv.org
- Stonebraker, M. (2011). Stonebraker on NoSQL and enterprises. Communications of the ACM, 54(8), 10–11. DOI:10.1145/1978542.1978546 dl.acm.org
- Stonebraker, M., & Cattell, R. (2011). 10 rules for scalable performance in “simple operation” datastores. Communications of the ACM, 54(6), 72–82. DOI:10.1145/1953122.1953144 15799.courses.cs.cmu.edu
- Tapdiya, A., & Fabbri, D. (2018). A comparative analysis of state-of-the-art SQL-on-Hadoop systems for interactive analytics. arXiv preprint arXiv:1804.00224. arxiv.org
- Kepner, J., Gadepally, V., Hutchison, D., Jananthan, H., Mattson, T. G., Samsi, S., & Reuther, A. (2016). Associative array model of SQL, NoSQL, and NewSQL databases. CoRR, abs/1606.05797. DOI:10.1109/HPEC.2016.7761647 arxiv.org