Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Val av databas – En jämförelse i prestanda: Mysql och Mongodb
Blekinge Institute of Technology, Faculty of Computing, Department of Software Engineering.
2023 (Swedish)Independent thesis Basic level (university diploma), 10 credits / 15 HE creditsStudent thesis
Abstract [sv]

Val av databas kan vara ett svårt val då det finns en uppsjö av alternativ. Detta är ett val som alla har framför sig vid skapandet av ett nytt projekt. Denna undersökning av jämförelse med databaser kan underlätta valet av en databas.Genom ett eget experiment av två databashanterare (Mysql och Mongodb), så testades databaserna med läs, skriv och uppdateringsoperationer. En server skapades för att testa databaserna så att en jämförelse kunde ske med latenstider. Med hjälp av tidigare forskning i ämnet så gjordes en jämförelse också.Experimentet visade att Mysql var snabbare och hade lägre latenstider vid läsoperationer, men resultaten från litteraturstudien var oklara eftersom en studie visade på att Mysql var snabbare medan en annan studie visade att Mongodb var snabbare. Resultaten från både experimentet och litteraturstudien visade att vid skriv och uppdateringsoperationer så var Mongodb snabbare med lägre svarstider.Alla resultat i experimentet finns i appendix.

Abstract [en]

Choosing a database can be a difficult task as there are a plethora of options available. This is a decision that everyone faces when creating a new project. This comparison study of databases can facilitate the choice of a database. Through an own experiment of two database managers (MySQL and MongoDB), the databases were tested with read, write, and update operations. A server was created to test the databases so that a comparison could be made with latency times. Using previous research on the subject, a comparison is also made. The experiment showed that MySQL was faster and had lower latency times for read operations, but the results from the literature study were unclear as one study showed that MySQL was faster while another study showed that MongoDB was faster. The results from both the experiment and the literature study showed that for write and update operations, MongoDB was faster with lower response times. All results from the experiment are available in the appendix.

Place, publisher, year, edition, pages
2023.
Keywords [sv]
Mysql, Mongodb, svarstider, latenstider
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:bth-24265OAI: oai:DiVA.org:bth-24265DiVA, id: diva2:1734921
Subject / course
PA1438 Självständigt arbete Webbprogrammering
Educational program
PAGWG Webbprogrammering
Supervisors
Examiners
Available from: 2023-02-08 Created: 2023-02-07 Last updated: 2023-02-08Bibliographically approved

Open Access in DiVA

Val av databas – En jämförelse i prestanda(283 kB)136 downloads
File information
File name FULLTEXT01.pdfFile size 283 kBChecksum SHA-512
61a715f0875998d69d1e4c0e2332e37a131da1bd30f4bf0fb786237fde2bd65b6db283c26f15edca0a474808960b9136bdef0198c750c86edd81278f01084b66
Type fulltextMimetype application/pdf

By organisation
Department of Software Engineering
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 136 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 476 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf