MySQL and NoSQL database comparison for IoT application

Internet of Things (IoT) concept has been around in tech world for few years now. IoT focuses on connection of number of smart devices. In near future, IoT will have applications in various domains and these applications are going to produce tremendous amount of data. With the continuous generation of heterogeneous data, problem arises to store, transfer & manage the data efficiently. Traditional database systems used Structured Query Language (SQL) database which has supported all the user requirements along with simplicity, robustness, flexibility, scalability, performance. But the main limitation they are facing is their static schema which is making RDBMS not suitable for IoT applications. On the other hand, NoSQL databases emerging in market have claimed to perform better than SQL database. The NoSQL databases are non-relational, schema free, no joins, easy replication support, horizontally scalable, etc. Does NoSQL perform better than SQL in all application scenarios? An effort to answer the same has been made in this paper. This paper compares SQL and NoSQL databases for a small scale IoT application of water sprinkler system and investigates whether NoSQL performs better than SQL in different scenarios.

[1]  Iuliana Botha,et al.  Database Systems - Present and Future , 2009 .

[2]  Kyung-Sup Kwak,et al.  The Internet of Things for Health Care: A Comprehensive Survey , 2015, IEEE Access.

[3]  Sathiamoorthy Manoharan,et al.  A performance comparison of SQL and NoSQL databases , 2013, 2013 IEEE Pacific Rim Conference on Communications, Computers and Signal Processing (PACRIM).

[4]  Satyadhyan Chickerur,et al.  Comparison of Relational Database with Document-Oriented Database (MongoDB) for Big Data Applications , 2015, 2015 8th International Conference on Advanced Software Engineering & Its Applications (ASEA).

[5]  Yang Su,et al.  Investigating sensor data retrieval schemes for multi-sensor passive RFID tags , 2015, 2015 IEEE International Conference on RFID (RFID).

[6]  Hongming Cai,et al.  Ubiquitous Data Accessing Method in IoT-Based Information System for Emergency Medical Services , 2014, IEEE Transactions on Industrial Informatics.

[7]  Dayne Hammes,et al.  Comparison of NoSQL and SQL Databases in the Cloud , 2014 .