Unnesting queries using algebraic equivalents in an Xquery engine

Detalhes bibliográficos
Autor(a) principal: Bernd, Augusto Barcellos
Data de Publicação: 2015
Tipo de documento: Trabalho de conclusão de curso
Idioma: eng
Título da fonte: Repositório Institucional da UFRGS
Texto Completo: http://hdl.handle.net/10183/126066
Resumo: Since the beginning of the 80’s, during the rise of relational databases, it has been developed many strategies to deal with problems of executing queries in a nested way. Most of these strategies are based on classification into generic query types, followed by an unnest technique for each type. The two main approaches to unnest are: source level and algebraic level. The latter has some advantages, as expressiveness. These publications were important to the success of relational database architectures. However, all this knowledge is not only useful for relational databases, but also for queries from non-relational databases, e.g. XML databases. Brackit is an open-source XQuery compilation engine, developed at Technische Universität Kaiserslautern. The compilation pipeline in this engine includes an optimization stage where we could develop unnesting algorithms. Aiming optimize the query evaluation in Brackit, we present how we applied algebraic equivalences to unnest queries. The contribution of this work is the implementation of an efficient and high level unnesting technique, easy to understand and to improve. This implementation reduces the heavy code legacy of the current optimizer version. The basis of these equivalences application was the good correspondence between the algebra and Brackit’s AST nodes. The optimization, thus, was based on AST manipulation. Here, we are going to call this manipulation as rewriting. For experimental analysis, it was performed simulations throw XQuery to prove the gain of the unnesting strategy.
id UFRGS-2_9be6602c0052f60c8ef7d2352901c195
oai_identifier_str oai:www.lume.ufrgs.br:10183/126066
network_acronym_str UFRGS-2
network_name_str Repositório Institucional da UFRGS
repository_id_str
spelling Bernd, Augusto BarcellosSauer, CaetanoGalante, Renata de Matos2015-08-29T02:40:11Z2015http://hdl.handle.net/10183/126066000972331Since the beginning of the 80’s, during the rise of relational databases, it has been developed many strategies to deal with problems of executing queries in a nested way. Most of these strategies are based on classification into generic query types, followed by an unnest technique for each type. The two main approaches to unnest are: source level and algebraic level. The latter has some advantages, as expressiveness. These publications were important to the success of relational database architectures. However, all this knowledge is not only useful for relational databases, but also for queries from non-relational databases, e.g. XML databases. Brackit is an open-source XQuery compilation engine, developed at Technische Universität Kaiserslautern. The compilation pipeline in this engine includes an optimization stage where we could develop unnesting algorithms. Aiming optimize the query evaluation in Brackit, we present how we applied algebraic equivalences to unnest queries. The contribution of this work is the implementation of an efficient and high level unnesting technique, easy to understand and to improve. This implementation reduces the heavy code legacy of the current optimizer version. The basis of these equivalences application was the good correspondence between the algebra and Brackit’s AST nodes. The optimization, thus, was based on AST manipulation. Here, we are going to call this manipulation as rewriting. For experimental analysis, it was performed simulations throw XQuery to prove the gain of the unnesting strategy.application/pdfengBanco : DadosÁlgebraXQueryUnnestingXMLDatabaseSubqueryOptimizationAlgebraicEquivalenceRewriteUnnesting queries using algebraic equivalents in an Xquery engineinfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/bachelorThesisUniversidade Federal do Rio Grande do SulInstituto de InformáticaPorto Alegre, BR-RS2015Ciência da Computação: Ênfase em Ciência da Computação: Bachareladograduaçãoinfo:eu-repo/semantics/openAccessreponame:Repositório Institucional da UFRGSinstname:Universidade Federal do Rio Grande do Sul (UFRGS)instacron:UFRGSORIGINAL000972331.pdf000972331.pdfTexto completo (inglês)application/pdf1294142http://www.lume.ufrgs.br/bitstream/10183/126066/1/000972331.pdf33d49d17e0fa6a94adf56bb463a7f422MD51TEXT000972331.pdf.txt000972331.pdf.txtExtracted Texttext/plain79694http://www.lume.ufrgs.br/bitstream/10183/126066/2/000972331.pdf.txt0f37c1baabeac479eee6947f7c3f681bMD52THUMBNAIL000972331.pdf.jpg000972331.pdf.jpgGenerated Thumbnailimage/jpeg1023http://www.lume.ufrgs.br/bitstream/10183/126066/3/000972331.pdf.jpg6c688626be1576c5c3a7fc221ac5d81dMD5310183/1260662021-05-07 04:40:12.04017oai:www.lume.ufrgs.br:10183/126066Repositório de PublicaçõesPUBhttps://lume.ufrgs.br/oai/requestopendoar:2021-05-07T07:40:12Repositório Institucional da UFRGS - Universidade Federal do Rio Grande do Sul (UFRGS)false
dc.title.pt_BR.fl_str_mv Unnesting queries using algebraic equivalents in an Xquery engine
title Unnesting queries using algebraic equivalents in an Xquery engine
spellingShingle Unnesting queries using algebraic equivalents in an Xquery engine
Bernd, Augusto Barcellos
Banco : Dados
Álgebra
XQuery
Unnesting
XML
Database
Subquery
Optimization
Algebraic
Equivalence
Rewrite
title_short Unnesting queries using algebraic equivalents in an Xquery engine
title_full Unnesting queries using algebraic equivalents in an Xquery engine
title_fullStr Unnesting queries using algebraic equivalents in an Xquery engine
title_full_unstemmed Unnesting queries using algebraic equivalents in an Xquery engine
title_sort Unnesting queries using algebraic equivalents in an Xquery engine
author Bernd, Augusto Barcellos
author_facet Bernd, Augusto Barcellos
author_role author
dc.contributor.author.fl_str_mv Bernd, Augusto Barcellos
dc.contributor.advisor1.fl_str_mv Sauer, Caetano
dc.contributor.advisor-co1.fl_str_mv Galante, Renata de Matos
contributor_str_mv Sauer, Caetano
Galante, Renata de Matos
dc.subject.por.fl_str_mv Banco : Dados
Álgebra
topic Banco : Dados
Álgebra
XQuery
Unnesting
XML
Database
Subquery
Optimization
Algebraic
Equivalence
Rewrite
dc.subject.eng.fl_str_mv XQuery
Unnesting
XML
Database
Subquery
Optimization
Algebraic
Equivalence
Rewrite
description Since the beginning of the 80’s, during the rise of relational databases, it has been developed many strategies to deal with problems of executing queries in a nested way. Most of these strategies are based on classification into generic query types, followed by an unnest technique for each type. The two main approaches to unnest are: source level and algebraic level. The latter has some advantages, as expressiveness. These publications were important to the success of relational database architectures. However, all this knowledge is not only useful for relational databases, but also for queries from non-relational databases, e.g. XML databases. Brackit is an open-source XQuery compilation engine, developed at Technische Universität Kaiserslautern. The compilation pipeline in this engine includes an optimization stage where we could develop unnesting algorithms. Aiming optimize the query evaluation in Brackit, we present how we applied algebraic equivalences to unnest queries. The contribution of this work is the implementation of an efficient and high level unnesting technique, easy to understand and to improve. This implementation reduces the heavy code legacy of the current optimizer version. The basis of these equivalences application was the good correspondence between the algebra and Brackit’s AST nodes. The optimization, thus, was based on AST manipulation. Here, we are going to call this manipulation as rewriting. For experimental analysis, it was performed simulations throw XQuery to prove the gain of the unnesting strategy.
publishDate 2015
dc.date.accessioned.fl_str_mv 2015-08-29T02:40:11Z
dc.date.issued.fl_str_mv 2015
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/bachelorThesis
format bachelorThesis
status_str publishedVersion
dc.identifier.uri.fl_str_mv http://hdl.handle.net/10183/126066
dc.identifier.nrb.pt_BR.fl_str_mv 000972331
url http://hdl.handle.net/10183/126066
identifier_str_mv 000972331
dc.language.iso.fl_str_mv eng
language eng
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.source.none.fl_str_mv reponame:Repositório Institucional da UFRGS
instname:Universidade Federal do Rio Grande do Sul (UFRGS)
instacron:UFRGS
instname_str Universidade Federal do Rio Grande do Sul (UFRGS)
instacron_str UFRGS
institution UFRGS
reponame_str Repositório Institucional da UFRGS
collection Repositório Institucional da UFRGS
bitstream.url.fl_str_mv http://www.lume.ufrgs.br/bitstream/10183/126066/1/000972331.pdf
http://www.lume.ufrgs.br/bitstream/10183/126066/2/000972331.pdf.txt
http://www.lume.ufrgs.br/bitstream/10183/126066/3/000972331.pdf.jpg
bitstream.checksum.fl_str_mv 33d49d17e0fa6a94adf56bb463a7f422
0f37c1baabeac479eee6947f7c3f681b
6c688626be1576c5c3a7fc221ac5d81d
bitstream.checksumAlgorithm.fl_str_mv MD5
MD5
MD5
repository.name.fl_str_mv Repositório Institucional da UFRGS - Universidade Federal do Rio Grande do Sul (UFRGS)
repository.mail.fl_str_mv
_version_ 1815447151756443648