A Lightweight SQL-Native Framework for Detecting and Preventing Exact Data Redundancy in Relational Databases

Authors

Noor Azilah Muda

Department of Applied Data Engineering, Faculty of Information and Communication Technology, Universiti Teknikal Malaysia Melaka, Durian Tunggal, Melaka, Malaysia (Malaysia)

Azah Kamilah Muda

Department of Applied Data Engineering, Faculty of Information and Communication Technology, Universiti Teknikal Malaysia Melaka, Durian Tunggal, Melaka, Malaysia (Malaysia)

Nunik Destria Arianti

Department of Information System, Nusa Putra University, Sukabumi, Indonesia (Indonesia)

Article Information

DOI: 10.47772/IJRISS.2026.101000076

Subject Category: Management

Volume/Issue: 10/10 | Page No: 1011-1025

Publication Timeline

Submitted: 2026-10-08

Accepted: 2026-10-13

Published: 2026-10-29

Abstract

Although relational databases are a crucial element of an organization's data storage, the occurrence of precise data duplication diminishes data integrity when primary keys are absent, uniqueness constraints are not upheld, or records are redundantly inserted during routine operations and migrations. Unnecessary rows occupy store capacity, distort aggregate reports, and if present in parent tables, they disseminate to related tables, resulting in cascading anomalies during insertion, updates, and deletions. Despite their efficacy, modern solutions such as entity resolution, machine-learning matchers, probabilistic filters, and secure cloud deduplication frequently necessitate external tools, specialized knowledge, or computational capabilities that exceed the requirements for schema auditing in educational and administrative environments. This research intends to create and assess a streamlined, transparent framework that identifies, mitigates, and prevents exact duplicate records with solely standard SQL constructs. The framework was organized into three phases: data preparation, SQL-driven detection and reduction, and evaluation with prevention, and it was applied to a Course Attendance System (CAS) database developed in MySQL. The reduction was accomplished through the use of SELECT DISTINCT and window functions, while single-table duplicates were detected via GROUP BY combined with HAVING COUNT (*), and duplicate relationships were established by multi-table JOIN aggregation. The framework identified redundant email addresses, repetitive staff records resulting from absent uniqueness constraints, duplicate agent entities within test tables, and cross-table redundancy chains in staff-equipment and attendance mappings. Every detection query took less than 0.01 seconds, in contrast to the 7.27 seconds required for a query-application hybrid method documented in previous studies, however the variation in datasets renders this comparison suggestive rather than rigorous. The findings indicate that normalization by itself fails to avert repeated insertions, but native SQL auditing, along with enforced constraints, serves as an effective initial safeguard for institutional data governance practices.

Keywords

Data redundancy, Duplicate record detection, SQL

Downloads

References

1. Adil, S. H., Ali, S. S. A., Raza, K., & Ebrahim, M. (2019). Performance analysis of duplicate record detection techniques. Engineering, Technology & Applied Science Research, 9(5), 4755–4758. [Google Scholar] [Crossref]

2. Binette, O., & Steorts, R. C. (2022). (Almost) all of entity resolution. Science Advances, 8(12), eabi8021. https://doi.org/10.1126/sciadv.abi8021 [Google Scholar] [Crossref]

3. Christophides, V., Efthymiou, V., Palpanas, T., Papadakis, G., & Stefanidis, K. (2020). An overview of end-to-end entity resolution for big data. ACM Computing Surveys, 53(6), Article 127. https://doi.org/10.1145/3418896 [Google Scholar] [Crossref]

4. Dearmer, A. (2021). Data redundancy in organizations. Xplenty. [Google Scholar] [Crossref]

5. Eessaar, E. (2016). The database normalization theory and the theory of normalized systems: Finding a common ground. Baltic Journal of Modern Computing, 4(1), 5–33. [Google Scholar] [Crossref]

6. Ehrlinger, L., & Wöß, W. (2022). A survey of data quality measurement and monitoring tools. Frontiers in Big Data, 5, 850611. https://doi.org/10.3389/fdata.2022.850611 [Google Scholar] [Crossref]

7. IBM Research. (2022). Storage optimization using RDBMS deduplication. IBM. [Google Scholar] [Crossref]

8. Li, B.-H., Liu, Y., Zhang, A.-M., Wang, W.-H., & Wan, S. (2020). A survey on blocking technology of entity resolution. Journal of Computer Science and Technology, 35, 769–793. [Google Scholar] [Crossref]

9. Li, Y., Li, J., Suhara, Y., Doan, A., & Tan, W.-C. (2020). Deep entity matching with pre-trained language models. Proceedings of the VLDB Endowment, 14(1), 50–60. https://doi.org/10.14778/3421424.3421431 [Google Scholar] [Crossref]

10. Lin, D. (2015). Efficient data quality and redundancy elimination strategies for large scale relational databases. IEEE Data Engineering Bulletin. [Google Scholar] [Crossref]

11. Lithmee, B. (2018). Difference between data corruption and data redundancy. Pediaa.com. [Google Scholar] [Crossref]

12. Mahdavi, M., & Abedjan, Z. (2020). Baran: Effective error correction via a unified context representation and transfer learning. Proceedings of the VLDB Endowment, 13(11), 1948–1961. https://doi.org/10.14778/3407790.3407801 [Google Scholar] [Crossref]

13. Miedema, D., Aivaloglou, E., & Fletcher, G. (2021). Identifying SQL misconceptions of novices: Findings from a think-aloud study. In Proceedings of the 17th ACM Conference on International Computing Education Research (pp. 355–367). Association for Computing Machinery. https://doi.org/10.1145/3446871.3469759 [Google Scholar] [Crossref]

14. Mueller, J. P., & Massaron, L. (2017). Algorithms for dummies. John Wiley & Sons. [Google Scholar] [Crossref]

15. Naeem, T. (2021). Database design techniques. Astera Software. [Google Scholar] [Crossref]

16. Narayan, A., Chami, I., Orr, L., & Ré, C. (2022). Can foundation models wrangle your data? Proceedings of the VLDB Endowment, 16(4), 738–746. https://doi.org/10.14778/3574245.3574258 [Google Scholar] [Crossref]

17. Oracle Corporation. (2024). MySQL 8.0 reference manual. https://dev.mysql.com/doc/refman/8.0/en/ [Google Scholar] [Crossref]

18. Palani, S., Reddy, P., & Roja, K. (2018). Secure cloud deduplication. International Journal of Scientific Research in Computer Science, Engineering and Information Technology. [Google Scholar] [Crossref]

19. Papadakis, G., Efthymiou, V., Thanos, E., Hassanzadeh, O., & Christen, P. (2023). An analysis of one-to-one matching algorithms for entity resolution. The VLDB Journal, 32(6), 1369–1400. [Google Scholar] [Crossref]

20. Papadakis, G., Skoutas, D., Thanos, E., & Palpanas, T. (2020). Blocking and filtering techniques for entity resolution: A survey. ACM Computing Surveys, 53(2), Article 31. https://doi.org/10.1145/3377455 [Google Scholar] [Crossref]

21. Peeters, R., & Bizer, C. (2021). Dual-objective fine-tuning of BERT for entity matching. Proceedings of the VLDB Endowment, 14(10), 1913–1921. [Google Scholar] [Crossref]

22. Prajapati, P., & Shah, P. (2022). A review on secure data deduplication: Cloud storage security issue. Journal of King Saud University – Computer and Information Sciences, 34(7), 3996–4007. [Google Scholar] [Crossref]

23. Selvi, P., & Shanmuga Priyaa, D. (2019). Fuzzy-EM clustering deduplication. International Journal of Recent Technology and Engineering. [Google Scholar] [Crossref]

24. Sharma, O. (2019). Database fundamentals. C# Corner. [Google Scholar] [Crossref]

25. Silberschatz, A., Korth, H. F., & Sudarshan, S. (2020). Database system concepts (7th ed.). McGraw-Hill Education. [Google Scholar] [Crossref]

26. Talend. (2021). Drawbacks of data redundancy. Talend Resources. [Google Scholar] [Crossref]

27. Thirumuruganathan, S., Li, H., Tang, N., Ouzzani, M., Govind, Y., Paulsen, D., Fung, G., & Doan, A. (2021). Deep learning for blocking in entity matching: A design space exploration. Proceedings of the VLDB Endowment, 14(11), 2459–2472. [Google Scholar] [Crossref]

28. Thor, A., & Rahm, E. (2018). Duplicate detection in relational databases: A survey. Datenbank-Spektrum. [Google Scholar] [Crossref]

29. Vighio, M., Khanzada, T., & Kumar, M. (2018). Query normalization and redundancy elimination tool. Sindh University Research Journal. [Google Scholar] [Crossref]

30. Mohammadi Koushki, N., El-Shekeil, I., & Kant, K. (2025). ConfExp: Root-Cause Analysis of Service Misconfigurations in Enterprise Systems. Journal of Network and Systems Management, 33(1). [Google Scholar] [Crossref]

Metrics

Views & Downloads

Similar Articles