Ohcu

Database replication : an overview of replication techniques in common database systems

QR-koda

Database replication : an overview of replication techniques in common database systems

This thesis was requested by the HAAGA-HELIA thesis group on databases and the DBTech EXT project for a workshop where one of the topics is database replication. Its purpose was to test and document database replication techniques in most common database systems.

The thesis was done in two parts. The first part was a literature research. It was constructed from vendor manuals, handbooks, studies and white papers. Additionally, re-grouping by functionality was done to help out differentiate replication features of vendor database systems. The second part, the empirical part consistsed of series of tests, where database replication was tested in practice using gathered information from the first part. Furthermore, a setup of replication environment using SQL server 2008 was documented.

The literature review showed that all database vendors have exclusive replication products. All vendors have their own concepts and terms, which made comparison of features challenging. In the recap of the first part, replication systems were compared by type and functionality rather than per vendor basis. Furthermore, groups were renamed. According to the empirical tests, database replication can be done in various ways and it proved to be effective system to distribute data where it’s needed. Moreover, the tests showed the importance of planning.

The study concludes that, due to the subject complexity and differences in vendor concepts, sufficient theoretical and empirical background is required to plan, implement and maintain replication systems.

Tämä opinnäytetyö on tehty HAAGA-HELIA:n tietokantateemaryhmän ja DBTech EXT projektin tilauksesta syksyllä 2010 HAAGA-HELIAssa järjestettävää workshopia varten. Opinnäytetyössä tutkittiin, mitä tietokantareplikointi on ja kuinka se toteutetaan.

Tutkimustyö on jaettu kahteen osaan, jonka ensimmäinen osa on toteutettu kirjallisuustutkimuksena. Materiaali kirjallisuustutkimukseen on haettu eri tietokantatoimittajien manuaaleista, tutkimuksista ja oppaista. Näistä esitellään kolmen yleisimmän tietokantajärjestelmän replikointitekniikat ja niiden ominaisuudet. Vertailu on tehty ryhmittelemällä järjestelmät uudelleen toiminnallisuuksien mukaan. Toinen, empiirinen osa tutkii tietokantareplikointia käytännössä, ensimmäisestä osasta saatujen tietojen pohjalta. Lisäksi replikointiympäristön pystytys SQL Server 2008 ympäristöön on dokumentoitu.

Kirjallinen osa osoitti, että eri toimittajilla on omanlaisensa toteutus replikoinnista. Näitä ovat erilaiset termit ja käsitteet, joiden vertailu oli hankalaa. Osan yhteenvedossa vertailu on tehty ryhmittelemällä ne uudelleen replikointityyppien ja ominaisuuksien mukaan. Ryhmät on myös uudelleen nimetty. Toisen osan testeistä saadun tiedon mukaan replikointi voidaan toteuttaa monella tavalla, ja se on tehokas tapa hajauttaa tietoa sinne, missä sitä tarvitaan. Lisäksi testit osoittivat suunnittelun tärkeyden.

Opinnäytetyön johtopäätöksenä voidaan todeta tietokantareplikoinnin olevan monimutkainen järjestelmä, joka vaatii riittävää teoreettista ja käytännön osaamista niin suunnittelu, - toteutus- kuin ylläpitovaiheessakin.

Furkejuvvon: