Git Product home page Git Product logo

bac2_mysql's Introduction

BAC2_MySQL

About this Repo

  • This is the code used for the MySQL part in my second bachelor thesis.
  • There is also a MongoDB and a Couchbase part.
  • The thesis itself is written in German. You can find the abstract below.

Abstract of the Thesis

To satisfy the needs of massive scalability regarding to parallel read and write queries new database systems have evolved. This paper introduces document stores and compares them with traditional relational databases. It outlines the pros and cons of both system types and gives a comparison on the most common data models, which are the embedded and referenced document model for the document stores and normalized and denormalized table model for the relational databases. This paper also discusses transactions and how to implement them in the application layer in case the database does not have a support for transactions. A test environment is set up and a sample application is used in order to measure the response time of the systems. MongoDB and Couchbase are used as representatives for document stores and MySQL in combination with InnoDB, MyISAM and NDB as storage engines is used as a representative for relational databases. The sample application mimics a heavily used blogging platform with users writing and reading blog entries and comments and making use of a β€œLike” button. The results show that the embedded document data model as well as the denormalized table data model are much more responsive to read queries then the referenced document data model and the normalized table model, but with a serious performance bottleneck on write queries. The normalized table data model shows the worst performance. Furthermore the denormalized table model has to store the same information multiple times, which can lead to inconsistent data. Because the blogging platform does not have the requirement to use transactions, the best database solution for such a big data application is the document store with a combination of the embedded and referenced data model. Therefore the paper confirms the positive impact of document stores to the current database market.

bac2_mysql's People

Contributors

gehtmaguad avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.