Articles
Vol. 10 No. 8 (2026): Kohesi: Jurnal Sains dan Teknologi, ISSN 3025-1311
MANEJEMEN BASIS DATA UNTUK APLIKASI INTERNET OF THINGS (IoT)
Universitas Teknologi Digital
Universitas Teknologi Digital
Universitas Teknologi Digital
Universitas Teknologi Digital
-
Submitted
-
January 13, 2026
-
Published
-
2026-01-13
Abstract
This research highlights the importance of maximizing the implementation of data integrity constraints in Relational Database Management Systems (RDBMS), particularly within the context of Internet of Things (IoT) applications. Data quality in information systems is often compromised because many systems rely solely on application-level validation, which allows non-compliant data to enter and causes issues such as duplication or inconsistency. Using a pure experimental design, this study compares two main conditions: a table without maximized constraints (Control Condition) and a table with full constraint implementation (Experimental Condition), encompassing Primary Key, Foreign Key, Unique, Not Null, and Check constraints. Simulated test data deliberately designed to violate each type of constraint was used to evaluate the database's rejection capabilities. The results prove that constraints serve as a highly effective primary data security layer. Each type of constraint such as the Primary Key preventing duplication and the Foreign Key maintaining relational consistency between tables successfully and automatically rejected invalid data without any application system intervention. This comprehensive use of constraints not only significantly reduces input errors and enhances the reliability of real-time data in IoT systems but also results in a more structured and efficient database design. This study confirms that data integrity must be guaranteed directly at the database layer to achieve higher and more consistent data quality.
References
- [1] R. Sulenggono dan S. C. Wibawa, "Penerapan Sistem Informasi Smart Classroom Berbasis Internet Of Things dengan Raspberry Pi di Jurusan Teknik Informatika Universitas Negeri Surabaya," Jurnal IT-EDU, pp. 256-262, 2017.
- [2] W. Al-Qorni, A. Azhar, dan E. Yuniarti, "Perancangan Sistem Kontrol Otomatis Berbasis Web Menggunakan Raspberry Pi 3 pada Smarthome," AL-FIZIYA, 2018.
- [3] S. Rautmare dan D. M. Bhalerao, "MySQL and NoSQL Database Comparison for IoT Application," dalam 2016 IEEE International Conference on Advances in Computer Applications (ICA CA), pp. 235-238, 2016.
- [4] B. P. N. D. F. F. G. A. H., "Integrity Constraints and Data Quality Management in Relational Database Systems: A Review," Int. J. Inf. Technol. Web Eng., vol. 15, no. 3, pp. 25-45, 2020.
- [5] A. M. H. F. I. P. R., "A comparison of data validation methods: Application-level vs. database-level constraints," J. Softw. Eng. Appl., vol. 14, no. 6, pp. 310-325, 2021.
- [6] Y. Z. J. W., "Ensuring Data Integrity for IoT Sensor Data using Relational Database Constraints," Proc. IEEE Int. Conf. IoT Innov., pp. 100-105, 2022.
- [7] J. W. K. S. W., "The role of empirical research in software engineering: a review," IEEE Trans. Softw. Eng., vol. 45, no. 12, pp. 1175-1198, 2019.
- [8] D. K. S. S., "Database integrity testing: a survey of techniques and tools," J. Inf. Syst. Eng., vol. 18, no. 4, pp. 315-330, 2017.