A Performance Comparison of SQLite and Firebase Databases from A Practical Perspective
Abstract
Android is currently the most used mobile operating system all over the world. The two database management systems that Android officially supports are SQLite and Firebase. Android SDK provides built-in packages to let developers implement applications which store its data on these databases. At this point, it is necessary to reveal the performance comparison of these databases. For this reason, an Android application that evaluates several experiments which cover the most used data operations on these databases is implemented within this study. The experimental result indicates that SQLite provides better performance compared to Firebase except deleting data. The performance differences between SQLite and Firebase vary through (1) the type of data operation, and (2) the size of data that is managed.
Keywords
References
- [1] B. Popper, “Google announces over 2 billion monthly active devices on Android,” The Verge, 2017. [Online]. Available: https://www.theverge.com/2017/5/17/15654454/android-reaches-2-billion-monthly-active-users. [Accessed: 07-Jul-2018].
- [2] D. Burke, “Android: celebrating a big milestone together with you,” Google, 2017. [Online]. Available: https://www.blog.google/products/android/2bn-milestone/. [Accessed: 07-Jul-2018].
- [3] “Smartphone OS global market share 2009-2017,” Statista, 2018. [Online]. Available: https://www.statista.com/statistics/266136/global-market-share-held-by-smartphone-operating-systems/. [Accessed: 07-Jul-2018].
- [4] Padmini, Android App Development: A Complete Tutorial For Beginners. Educreation Publishing, 2016.
- [5] P. K. Dixit, Android. Vikas, 2016. [6] S. Hashimi, S. Komatineni, and D. MacLean, Pro Android 3. Apress, 2011.
- [7] I. Krajci and D. Cummings, Android on x86 : an introduction to optimizing for Intel architecture, 1st ed. Apress, 2013.
- [8] “Save data using SQLite | Android Developers.” [Online]. Available: https://developer.android.com/training/data-storage/sqlite. [Accessed: 05-Jul-2018].
- [9] P. Mainkar, Expert Android Programming: Master skills to build enterprise grade Android applications, 1st ed. Birmingham, UK: Packt Publishing, 2017.
- [10] E. Obugyei and N. Raman, Learning Kotlin by building Android Applications: Explore the fundamentals of Kotlin while building real-world Android applications. Packt Publishing, 2018.
- [11] D. Bartholomew, “SQL vs. NoSQL,” Linux J., vol. 2010, no. 195, pp. 54–59, 2010.