Evaluation of Replication Mechanisms on Selected Database Systems
2020, ISPRS International Journal of Geo-Information
https://doi.org/10.3390/IJGI9040249Abstract
This paper is focused on comparing database replication over spatial data in PostgreSQL and MySQL. Database replication means solving various problems with overloading a single database server with writing and reading queries. There are many replication mechanisms that are able to handle data differently. Criteria for objective comparisons were set for testing and determining the bottleneck of the replication process. The tests were done over the real national vector spatial datasets, namely, ArcCR500, Data200, Natural Earth and Estimated Pedologic-Ecological Unit. HWMonitor Pro was used to monitor the PostgreSQL database, network and system load. Monyog was used to monitor the MySQL activity (data and SQL queries) in real-time. Both database servers were run on computers with the Microsoft Windows operating system. The results from the provided tests of both replication mechanisms led to a better understanding of these mechanisms and allowed informed decisions for future deployment. Graphs and tables include the statistical data and describe the replication mechanisms in specific situations. PostgreSQL with the Slony extension with asynchronous replication synchronized a batch of changes with a high transfer speed and high server load. MySQL with synchronous replication synchronized every change record with low impact on server performance and network bandwidth.
References (30)
- Urbano, R.; Arora, N.; Chan, Y.; Downing, A.; Elsbernd, C.; Feng, Y.; Galagali, J.; Klein, J.; Liu, J.; Lu, E.; et al. Oracle Database Advanced Replication 11g; Oracle: Redwood City, CA, USA, 2013; Volume 2.
- Samtani, G. B2B Integration: A Practical Guide to Collaborative E-Commerce; World Scientific: Singapore, 2002; ISBN 1-86094-326-8.
- Inmon, W.; Hackathorn, H.; Richard, D. Using the Data Warehouse, 2nd ed.; John Wiley & Sons: New York, NY, USA, 1996; ISBN 0471059668.
- Özsu, M.T.; Valduriez, P. Principles of Distributed Database Systems; Springer: New York, NY, USA, 2011; ISBN 9781441988331.
- Pohanka, T.; Pechanec, V.; Solanská, M. Synchronization and Replication of Geodata in the Esri Platform. In Proceedings of the 15th International Multidisciplinary Scientific GeoConference SGEM 2015, Albena, Bulgaria, 18-24 June 2015; Volume 1, pp. 837-844.
- Pohanka, T.; Pechanec, V.; Hejlová, V. Python Web Server for Sensor Data Visualization. In Proceedings of the 16th International Multidisciplinary Scientific GeoConference (SGEM 2016), Albena, Bulgaria, 30 June-6 July 2016; Volume 1, pp. 803-810.
- Mistry, R.; Misner, S. Introducing Microsoft SQL Server 2014 Technical Overview; Microsoft Press: Redmond, WA, USA, 2014; ISBN 9780735684751.
- Takada, M. Distributed Systems: For Fun and Profit. Available online: http://book.mixu.net/distsys/ (accessed on 29 January 2019).
- Mazilu, M.C. Database Replication. Database Syst. J. 2010, I, 33-38.
- Makris, A.; Tserpes, K.; Spiliopoulos, G.; Anagnostopoulos, D. Performance evaluation of MongoDB and PostgreSQL for spatio-temporal data. In Proceedings of the CEUR Workshop, Lisbon, Portugal, 26 March 2019; Volume 2322.
- Kabakus, A.T.; Kara, R. A performance evaluation of in-memory databases. J. King Saud Univ. Comput. Inf. Sci. 2017, 29, 520-525. [CrossRef]
- Aitchison, R. An Introduction to DNS. In Pro DNS and BIND; Apress: Berkeley, CA, USA, 2005; pp. 3-19. ISBN 1590594940.
- Bell, C.; Kindahl, M.; Thalmann, L. MySQL High Availability; O'Reilly Media, Inc.: Sebastopol, CA, USA, 2014; ISBN 9780596807306.
- Schönig, H.-J. PostgreSQL Replication, 2nd ed.; Packt Publishing: Birmingham, UK, 2015; ISBN 978-1-78355-060-9.
- Guyer, C.; Hubbard, J.; Byham, R. SQL Server Replication. Available online: https://docs.microsoft.com/en- us/sql/relational-databases/replication/sql-server-replication (accessed on 29 January 2019).
- MySQL Replication. Available online: https://dev.mysql.com/doc/refman/5.7/en/replication.html (accessed on 29 January 2019).
- Anon. Solid IT: DB-Engines. Available online: http://db-engines.com/en/ranking (accessed on 29 March 2020).
- Singer, S. Slony-I. Available online: http://www.slony.info/ (accessed on 26 February 2020).
- Schneller, D.; Schwedl, U. MySQL Admin Cookbook: Replication and Indexing; Packt Publishing: Birmingham, UK, 2011; ISBN 1849516146.
- Anon. MySQL :: MySQL 5.7 Reference Manual :: 16.2.2 Replication Implementation Details. Available online: https://dev.mysql.com/doc/refman/5.7/en/replication-implementation-details.html (accessed on 2 April 2020).
- Tiwari, S. Professional NoSQL, 1st ed.; John Wiley & Sons, Inc.: New York, NY, USA, 2011; ISBN 978-0-470-94224-6.
- Boicea, A.; Radulescu, F.; Agapin, L.I. MongoDB vs Oracle-Database comparison. In Proceedings of the 2012 3rd International Conference on Emerging Intelligent Data and Web Technologies, Bucharest, Romania, 19-21 September 2012; pp. 330-335.
- Abramova, V.; Bernardino, J.; Furtado, P. Which NoSQL Database? Open J. Databases 2014, 1, 8.
- Dolgikh, M. Vysoká Dostupnost v Relačních Databázových Systémech; Masaryk University: Brno, Czech Republic, 2014. 25. Panduit. The Future of Copper: Category 8 Cabling; Panduit: Tinley Park, IL, USA, 2016.
- Hill, S. How Fast Is 5G. Available online: https://www.digitaltrends.com/mobile/how-fast-is-5g/ (accessed on 29 January 2019).
- IEEE. 802.11b-1999IEEE Standard for Information Technology-Telecommunications and Information Exchange between Systems-Local and Metropolitan Networks-Specific Requirements-Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Sp; IEEE: Piscataway, NJ, USA, 2000.
- Codd, F.E. Further Normalization of the Data Base Relational Model. Data Base Syst. 1972, 6, 33-64.
- Filippovová, J.; Pohanka, T. Environmental Assessment of Central European Floodplain Forests: A Case Study from the Morava River Alluvium. Polish J. Environ. Stud. 2019, 28, 4511-4517. [CrossRef]
- Pechanec, V.; Machar, I.; Pohanka, T.; Opršal, Z.; Petrovič, F.; Švajda, J.; Šálek, L.; Chobot, K.; Filippovová, J.; Cudlín, P.; et al. Effectiveness of Natura 2000 system for habitat types protection: A case study from the Czech Republic. Nat. Conserv. 2018, 24, 21-41. [CrossRef]
- Vrublova, K.; Pohanka, T. Is Environmental Conservation of European Beech-Dominated Forests Efficient? Fresenius Environ. Bull. 2019, 28, 1218-1223.