search query: @keyword SQL / total: 36
reference: 5 / 36
Author: | Kääriäinen, Anssi |
Title: | Versioned data in SQL databases - A performance analysis |
Versioitu tieto SQL-tietokannoissa - Tehokkuusanalyysi | |
Publication type: | Master's thesis |
Publication year: | 2014 |
Pages: | 74 s. + liitt. 15 Language: eng |
Department/School: | Perustieteiden korkeakoulu |
Main subject: | Ohjelmistotekniikka (T-106) |
Supervisor: | Saikkonen, Heikki |
Instructor: | |
Electronic version URL: | http://urn.fi/URN:NBN:fi:aalto-201507013727 |
OEVS: | Electronic archive copy is available via Aalto Thesis Database.
Instructions Reading digital theses in the closed network of the Aalto University Harald Herlin Learning CentreIn the closed network of Learning Centre you can read digital and digitized theses not available in the open network. The Learning Centre contact details and opening hours: https://learningcentre.aalto.fi/en/harald-herlin-learning-centre/ You can read theses on the Learning Centre customer computers, which are available on all floors.
Logging on to the customer computers
Opening a thesis
Reading the thesis
Printing the thesis
|
Location: | P1 Ark Aalto 1764 | Archive |
Keywords: | data versioning temporal database performance benchmark tiedon versiointi SQL aikaulottuvuudet tietokannoissa suorituskyky suorituskykytesti |
Abstract (eng): | In this thesis I investigated three different ways of storing versioned data· in SQL databases. The analysis concentrated on performance aspects, but I also inspected how the used approaches affected query complexity, ability to use database constraints and other similar non-performance considerations. The versioning approaches examined were storing the versioned data in the same table with currently valid data, storing the data in a separate table and an approach using entity-attribute-value (EAV) structure. I benchmarked the approaches using two different schemes. The first one is a simple one table schema which was used to compare read, insert, update and delete queries. The second benchmark compared various real-world queries against a schema designed for a time tracking software. Intable and audit table approaches exceled in different usage situations. Audit table approach had excellent characteristics for reading current row versions at the cost of data modification speed, while intable versioning had good update speed and historical version read capabilities at the cost of slower current version read speed. The EAV approach was slow for almost all queries. |
Abstract (fin): | Tutkin diplomityössäni kolmea erilaista tapaa tallentaa versioitua tietoa SQL tietokantaan. Tutkin lähestymistapoja erityisesti tehokkuusnäkökulmasta, mutta työssäni käsitellään myös lähestymistapojen vaikutusta kyselyiden monimutkaisuuteen, mahdollisuuteen käyttää rajoitteita tietokannassa ja muihin suorituskykyyn liittymättömiin ongelmiin. Tutkitut versiointitavat ovat taulun sisäinen versiointi, versiotietojen tallentaminen erilliseen tauluun ja entiteetti-attribuutti-arvo rakenne. Vertailin lähestymistapojen käyttäen kahta erilaista tietokantaskeemaa. Ensimmäisessä skeemassa vertailin yksinkertaisia muokkaus- ja lukukyselyjä. Toisessa skeemassa tutkin kyselyjä joita tarvitaan työajankohdennukseen käytetyssä järjestelmässä. Taulun sisäisen ja erilliseen tauluun tehdyn versioinnin paremmuusjärjestys vaihteli eri käyttötapauksissa. Erilliseen tauluun tehty versiointi parjasi erinomaisesti rivien nykyversioiden lukua vaativissa käyttötapauksissa, kun taas samaan taulun sisäinen versiointi oli tehokkaampi muokkausta ja historiatietoja vaativissa kyselyissä. Entiteetti-attribuutti-arvo lähestymistapa oli hitain lähes kaikissa käyttötapauksissa. |
ED: | 2014-07-01 |
INSSI record number: 49365
+ add basket
INSSI