search query: @keyword SQL / total: 36
reference: 5 / 36
« previous | next »
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 Centre

In 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

  • Aalto University staff members log on to the customer computer using the Aalto username and password.
  • Other customers log on using a shared username and password.

Opening a thesis

  • On the desktop of the customer computers, you will find an icon titled:

    Aalto Thesis Database

  • Click on the icon to search for and open the thesis you are looking for from Aaltodoc database. You can find the thesis file by clicking the link on the OEV or OEVS field.

Reading the thesis

  • You can either print the thesis or read it on the customer computer screen.
  • You cannot save the thesis file on a flash drive or email it.
  • You cannot copy text or images from the file.
  • You cannot edit the file.

Printing the thesis

  • You can print the thesis for your personal study or research use.
  • Aalto University students and staff members may print black-and-white prints on the PrintingPoint devices when using the computer with personal Aalto username and password. Color printing is possible using the printer u90203-psc3, which is located near the customer service. Color printing is subject to a charge to Aalto University students and staff members.
  • Other customers can use the printer u90203-psc3. All printing is subject to a charge to non-University members.
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
« previous | next »
INSSI