UPCommons està en procés de migració del dia 10 fins al 14 Juliol. L’autentificació està deshabilitada per evitar canvis durant aquesta migració.
Comparación de rendimiento entre PostgreSQL y SQLite

View/Open
Cita com:
hdl:2117/394519
Document typeBachelor thesis
Date2023-06-27
Rights accessOpen Access
All rights reserved. This work is protected by the corresponding intellectual and industrial
property rights. Without prejudice to any existing legal exemptions, reproduction, distribution, public
communication or transformation of this work are prohibited without permission of the copyright holder
Abstract
Les bases de dades (BDs) constitueixen un element fonamental per qualsevol sistema avui en dia. A l'actualitat existeix una gran varietat de tipus de bases de dades. Entre ells destaca el model de base de dades relacional, que encara ser dels primers que va sorgir, actualment es segueix fent servir i la seva rellevància és notable. L'elecció d'una BD que compleixi amb els requisits d'un sistema (ja sigui empresarial o una aplicació d'escriptori) ha sigut i segueix sent objecte d'estudi, ja que sempre s'intenta obtenir el màxim rendiment o les millors prestacions possibles. Per a aquest projecte s'ha volgut comparar dues bases de dades relacionals molt populars: SQLite i PostgreSQL. La hipòtesi inicial del autor defensa que PostgreSQL és més eficient. Per a això, s'han analitzat les seves característiques generals a partir de la quals s'ha realitzat una comparativa teòrica i, posteriorment, han sigut sotmeses a una comparació de rendiment mitjançant l'eina comparativa "Benchmark TPC-H". Per la comparació de rendiment s'ha obtingut el temps d'execució d'una sèrie de consultes per diferents mides de bases de dades. Aquestes execucions s'han realitzat sota una configuració i unes directrius fixes amb l'objectiu d'obtenir resultats significatius. Amb aquests resultats s'han generat diverses gràfiques que, posteriorment, s'han analitzat per extreure conclusions sobre el rendiment de PostgreSQL respecte a PostgreSQL i comprovar si recolzen la hipòtesi inicialment plantejada. Databases (DBs) constitute a fundamental element of any system nowadays. Currently, there is a wide variety of database types. Among them, the relational database model stands out. Despite being one of the first to emerge, it is still widely used today, and its relevance is notable. The choice of a DB that meets the requirements of a system (whether it is an enterprise or a desktop application) has been and continues to be a subject of study, as the goal is always to achieve the best performance or the best possible features. For this project, the aim was to compare two very popular relational databases: SQLite and PostgreSQL. The author's initial hypothesis defends that PostgreSQL is more efficient. To do this, their general characteristics have been analyzed, after that a theoretical comparison has been made, and also they have been subjected to a performance comparison using the benchmarking tool "Benchmark TPC-H". For the performance comparison, the execution time of a series of queries has been obtained for different database sizes. These executions have been carried out under a fixed configuration and guidelines in order to obtain meaningful results. Based on these results, various graphs have been generated, which have subsequently been analyzed to draw conclusions about the performance of PostgreSQL compared to SQLite and to verify if the initially proposed hypothesis is true.
DegreeGRAU EN ENGINYERIA INFORMÀTICA (Pla 2010)
Collections
Files | Description | Size | Format | View |
---|---|---|---|---|
173679.pdf | 2,221Mb | View/Open |