Comparison of SQL relational database document NoSQL database MongoDB and document NoSQL database MongoDB Yong Shao & Jun Feng
RDBMS: Store relations Fixed schema Good for small, medium data size MongoDB: Schemaless Big data High performance Not good for strong related data, transactional operation
Design Variable How to control Services Laptop I7-4770 CPU, 8GB RAM, 128 GBSSD Services Running two services at same time Data Resource www.data.gov (health) Data Size 1k, 50k, 160k Query Select, count, find
Application NoSQL SQL Database Editor Robomongo
Result MongoDB query 1k count count time 50k 160k total discharges 13 query 1k count count time 50k 160k total discharges 13 0.003 46 0.001 1893 0.04 0.004 6686 0.1 100 0.002 1 73 235 State IL 52 2444 7909 HI 0.02 141 442 Oracle 0.055 0.01 0.2 0.005 0.007 0.026 0.075 0.009 0.225 0.025 0.008 0.029
MongoDB Oracle Data size effect performance
Feature Work 1. Set more bins of data size to test which is the best boundary for choosing NoSQL database. 2. Run more times to get more reliable raw data. 3. Try some complex queries to test performances of MongoDB and Oracle.
Reference http://ieeexplore.ieee.org/document/7158433/ http://dl.acm.org/citation.cfm?id=1978919 http://ieeexplore.ieee.org/document/6013720/ http://dl.acm.org/citation.cfm?id=2500047 http://ieeexplore.ieee.org/document/7872887/
Thank You