MOON: An approach to data management on relational database and blockchain

Detalhes bibliográficos
Ano de defesa: 2020
Autor(a) principal: Marinho, Carlos Sérgio da Silva
Orientador(a): Machado, Javam de Castro
Banca de defesa: Não Informado pela instituição
Tipo de documento: Dissertação
Tipo de acesso: Acesso aberto
Idioma: eng
Instituição de defesa: Não Informado pela instituição
Programa de Pós-Graduação: Não Informado pela instituição
Departamento: Não Informado pela instituição
País: Não Informado pela instituição
Palavras-chave em Português:
Link de acesso: http://www.repositorio.ufc.br/handle/riufc/57042
Resumo: The Relational model has been used widely for decades and was valuable for the popularization of the use of Databases. Nowadays, many applications of several domains continue to be data-oriented, but alternatives to the Relational model have been solidifying. One of them is Blockchain, which is considered a disruptive technology and has relevant properties, such as immutability and no need for centralized third parties. Therefore, applications that use Relational Databases (BDR) can benefit from these properties by migrating part of their data to Blockchains. This research presents the approach to data Management on relatiOnal database and blOckchaiN (MOON), which its client applications use SQL DML to communicate with the MOON. Then, clients send inserts, updates, selects, and deletes queries to the MOON, which execute them regardless of whether the data is in a Blockchain or RDB. Furthermore, the MOON performs mapping between relational and Blockchain model, integrating the two technologies, and Blockchain’s data indexing. There were two experiments to validate this study. The first generated workload from real data from a Portuguese hospital and the second used two validated benchmarks: Voter and Twitter. In all experiments, there was an execution on three scenarios: i) data stored only in the BDR; ii) partitioned data using MOON; and iii) data stored only on the Blockchain. The metrics used in the evaluations were response time and correctness. The conclusion is that the MOON responds to requests correctly and provides RDB and Blockchain features to the data, such as supporting complex queries and data immutability. Moreover, their response time was intermediate between BDR and Blockchains.
id UFC-7_adfc0c348a754e1be1891f967acf2af3
oai_identifier_str oai:repositorio.ufc.br:riufc/57042
network_acronym_str UFC-7
network_name_str Repositório Institucional da Universidade Federal do Ceará (UFC)
repository_id_str
spelling Marinho, Carlos Sérgio da SilvaMoreira, Leonardo OliveiraMachado, Javam de Castro2021-03-09T18:38:44Z2021-03-09T18:38:44Z2020MARINHO, Carlos Sérgio da Silva. MOON: An approach to data management on relational database and blockchain. 2020. 82 f. Dissertação (Mestrado em Ciência da Computação) - Universidade Federal do Ceará, Fortaleza, 2020.http://www.repositorio.ufc.br/handle/riufc/57042The Relational model has been used widely for decades and was valuable for the popularization of the use of Databases. Nowadays, many applications of several domains continue to be data-oriented, but alternatives to the Relational model have been solidifying. One of them is Blockchain, which is considered a disruptive technology and has relevant properties, such as immutability and no need for centralized third parties. Therefore, applications that use Relational Databases (BDR) can benefit from these properties by migrating part of their data to Blockchains. This research presents the approach to data Management on relatiOnal database and blOckchaiN (MOON), which its client applications use SQL DML to communicate with the MOON. Then, clients send inserts, updates, selects, and deletes queries to the MOON, which execute them regardless of whether the data is in a Blockchain or RDB. Furthermore, the MOON performs mapping between relational and Blockchain model, integrating the two technologies, and Blockchain’s data indexing. There were two experiments to validate this study. The first generated workload from real data from a Portuguese hospital and the second used two validated benchmarks: Voter and Twitter. In all experiments, there was an execution on three scenarios: i) data stored only in the BDR; ii) partitioned data using MOON; and iii) data stored only on the Blockchain. The metrics used in the evaluations were response time and correctness. The conclusion is that the MOON responds to requests correctly and provides RDB and Blockchain features to the data, such as supporting complex queries and data immutability. Moreover, their response time was intermediate between BDR and Blockchains.O modelo relacional tem sido amplamente utilizado por décadas e foi importante para a popularização do uso de bancos de dados. Atualmente, várias aplicações de diferentes domínios continuam orientadas a dados, entretanto alternativas ao modelo relacional vêm se solidificando. Uma delas é a tecnologia Blockchain, que é considerada disruptiva e possui propriedades relevantes, como imutabilidade e ausência da necessidade de terceira parte confiável. Portanto, algumas aplicações que usam Bancos de Dados Relacionais (BDR) podem se beneficiar dessas propriedades migrando parte de seus dados para Blockchains. Esta pesquisa apresenta a abordagem the approach to data Management on relatiOnal database and blOckchaiN (MOON). Nesta abordagem, aplicações clientes usam a linguagem SQL DML para se comunicar com o MOON. Consequentemente, o cliente envia operações de insert, update, select e delete para o MOON, que trata a requisição independentemente de os dados estarem armazenados em Blockchain ou BDR. Além disso, o MOON realiza mapeamento entre o modelo relacional e a Blockchain, integrando as duas tecnologias, além de indexar dados de Blockchain. Experimentos foram realizados para validar este estudo. O primeiro gerou carga de trabalho a partir de dados reais de um hospital português. A segunda parte foi realizada usando dois benchmarks validados: Voter e Twitter. Em todos os experimentos, três cenários foram utilizados: i) dados armazenados apenas no BDR; ii) dados particionados usando MOON; e iii) dados armazenados apenas na Blockchain. As métricas utilizadas nas avaliações foram tempo de resposta e corretude. A conclusão é que o MOON responde a solicitações corretamente e fornece características BDR e Blockchain aos dados, como suporte a consultas complexas e imutabilidade de dados. Além disso, seu tempo de resposta foi intermediário entre BDR e Blockchains.BlockchainBanco de Dados RelacionalArquitetura distribuídaGerenciamento de dadosMOON: An approach to data management on relational database and blockchainMOON: An approach to data management on relational database and blockchaininfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/masterThesisengreponame:Repositório Institucional da Universidade Federal do Ceará (UFC)instname:Universidade Federal do Ceará (UFC)instacron:UFCinfo:eu-repo/semantics/openAccessLICENSElicense.txtlicense.txttext/plain; charset=utf-81748http://repositorio.ufc.br/bitstream/riufc/57042/4/license.txt8a4605be74aa9ea9d79846c1fba20a33MD54ORIGINAL2020_dis_cssmarinho.pdf2020_dis_cssmarinho.pdfapplication/pdf1978805http://repositorio.ufc.br/bitstream/riufc/57042/3/2020_dis_cssmarinho.pdfc69630b6cf8bced597d62aa64d519a0aMD53riufc/570422021-03-09 15:38:44.448oai:repositorio.ufc.br:riufc/57042Tk9URTogUExBQ0UgWU9VUiBPV04gTElDRU5TRSBIRVJFClRoaXMgc2FtcGxlIGxpY2Vuc2UgaXMgcHJvdmlkZWQgZm9yIGluZm9ybWF0aW9uYWwgcHVycG9zZXMgb25seS4KCk5PTi1FWENMVVNJVkUgRElTVFJJQlVUSU9OIExJQ0VOU0UKCkJ5IHNpZ25pbmcgYW5kIHN1Ym1pdHRpbmcgdGhpcyBsaWNlbnNlLCB5b3UgKHRoZSBhdXRob3Iocykgb3IgY29weXJpZ2h0Cm93bmVyKSBncmFudHMgdG8gRFNwYWNlIFVuaXZlcnNp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aGljaCB5b3UgZG8gbm90IGhvbGQgY29weXJpZ2h0LAp5b3UgcmVwcmVzZW50IHRoYXQgeW91IGhhdmUgb2J0YWluZWQgdGhlIHVucmVzdHJpY3RlZCBwZXJtaXNzaW9uIG9mIHRoZQpjb3B5cmlnaHQgb3duZXIgdG8gZ3JhbnQgRFNVIHRoZSByaWdodHMgcmVxdWlyZWQgYnkgdGhpcyBsaWNlbnNlLCBhbmQgdGhhdApzdWNoIHRoaXJkLXBhcnR5IG93bmVkIG1hdGVyaWFsIGlzIGNsZWFybHkgaWRlbnRpZmllZCBhbmQgYWNrbm93bGVkZ2VkCndpdGhpbiB0aGUgdGV4dCBvciBjb250ZW50IG9mIHRoZSBzdWJtaXNzaW9uLgoKSUYgVEhFIFNVQk1JU1NJT04gSVMgQkFTRUQgVVBPTiBXT1JLIFRIQVQgSEFTIEJFRU4gU1BPTlNPUkVEIE9SIFNVUFBPUlRFRApCWSBBTiBBR0VOQ1kgT1IgT1JHQU5JWkFUSU9OIE9USEVSIFRIQU4gRFNVLCBZT1UgUkVQUkVTRU5UIFRIQVQgWU9VIEhBVkUKRlVMRklMTEVEIEFOWSBSSUdIVCBPRiBSRVZJRVcgT1IgT1RIRVIgT0JMSUdBVElPTlMgUkVRVUlSRUQgQlkgU1VDSApDT05UUkFDVCBPUiBBR1JFRU1FTlQuCgpEU1Ugd2lsbCBjbGVhcmx5IGlkZW50aWZ5IHlvdXIgbmFtZShzKSBhcyB0aGUgYXV0aG9yKHMpIG9yIG93bmVyKHMpIG9mIHRoZQpzdWJtaXNzaW9uLCBhbmQgd2lsbCBub3QgbWFrZSBhbnkgYWx0ZXJhdGlvbiwgb3RoZXIgdGhhbiBhcyBhbGxvd2VkIGJ5IHRoaXMKbGljZW5zZSwgdG8geW91ciBzdWJtaXNzaW9uLgo=Repositório InstitucionalPUBhttp://www.repositorio.ufc.br/ri-oai/requestbu@ufc.br || repositorio@ufc.bropendoar:2021-03-09T18:38:44Repositório Institucional da Universidade Federal do Ceará (UFC) - Universidade Federal do Ceará (UFC)false
dc.title.pt_BR.fl_str_mv MOON: An approach to data management on relational database and blockchain
dc.title.en.pt_BR.fl_str_mv MOON: An approach to data management on relational database and blockchain
title MOON: An approach to data management on relational database and blockchain
spellingShingle MOON: An approach to data management on relational database and blockchain
Marinho, Carlos Sérgio da Silva
Blockchain
Banco de Dados Relacional
Arquitetura distribuída
Gerenciamento de dados
title_short MOON: An approach to data management on relational database and blockchain
title_full MOON: An approach to data management on relational database and blockchain
title_fullStr MOON: An approach to data management on relational database and blockchain
title_full_unstemmed MOON: An approach to data management on relational database and blockchain
title_sort MOON: An approach to data management on relational database and blockchain
author Marinho, Carlos Sérgio da Silva
author_facet Marinho, Carlos Sérgio da Silva
author_role author
dc.contributor.co-advisor.none.fl_str_mv Moreira, Leonardo Oliveira
dc.contributor.author.fl_str_mv Marinho, Carlos Sérgio da Silva
dc.contributor.advisor1.fl_str_mv Machado, Javam de Castro
contributor_str_mv Machado, Javam de Castro
dc.subject.por.fl_str_mv Blockchain
Banco de Dados Relacional
Arquitetura distribuída
Gerenciamento de dados
topic Blockchain
Banco de Dados Relacional
Arquitetura distribuída
Gerenciamento de dados
description The Relational model has been used widely for decades and was valuable for the popularization of the use of Databases. Nowadays, many applications of several domains continue to be data-oriented, but alternatives to the Relational model have been solidifying. One of them is Blockchain, which is considered a disruptive technology and has relevant properties, such as immutability and no need for centralized third parties. Therefore, applications that use Relational Databases (BDR) can benefit from these properties by migrating part of their data to Blockchains. This research presents the approach to data Management on relatiOnal database and blOckchaiN (MOON), which its client applications use SQL DML to communicate with the MOON. Then, clients send inserts, updates, selects, and deletes queries to the MOON, which execute them regardless of whether the data is in a Blockchain or RDB. Furthermore, the MOON performs mapping between relational and Blockchain model, integrating the two technologies, and Blockchain’s data indexing. There were two experiments to validate this study. The first generated workload from real data from a Portuguese hospital and the second used two validated benchmarks: Voter and Twitter. In all experiments, there was an execution on three scenarios: i) data stored only in the BDR; ii) partitioned data using MOON; and iii) data stored only on the Blockchain. The metrics used in the evaluations were response time and correctness. The conclusion is that the MOON responds to requests correctly and provides RDB and Blockchain features to the data, such as supporting complex queries and data immutability. Moreover, their response time was intermediate between BDR and Blockchains.
publishDate 2020
dc.date.issued.fl_str_mv 2020
dc.date.accessioned.fl_str_mv 2021-03-09T18:38:44Z
dc.date.available.fl_str_mv 2021-03-09T18:38:44Z
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/masterThesis
format masterThesis
status_str publishedVersion
dc.identifier.citation.fl_str_mv MARINHO, Carlos Sérgio da Silva. MOON: An approach to data management on relational database and blockchain. 2020. 82 f. Dissertação (Mestrado em Ciência da Computação) - Universidade Federal do Ceará, Fortaleza, 2020.
dc.identifier.uri.fl_str_mv http://www.repositorio.ufc.br/handle/riufc/57042
identifier_str_mv MARINHO, Carlos Sérgio da Silva. MOON: An approach to data management on relational database and blockchain. 2020. 82 f. Dissertação (Mestrado em Ciência da Computação) - Universidade Federal do Ceará, Fortaleza, 2020.
url http://www.repositorio.ufc.br/handle/riufc/57042
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.source.none.fl_str_mv reponame:Repositório Institucional da Universidade Federal do Ceará (UFC)
instname:Universidade Federal do Ceará (UFC)
instacron:UFC
instname_str Universidade Federal do Ceará (UFC)
instacron_str UFC
institution UFC
reponame_str Repositório Institucional da Universidade Federal do Ceará (UFC)
collection Repositório Institucional da Universidade Federal do Ceará (UFC)
bitstream.url.fl_str_mv http://repositorio.ufc.br/bitstream/riufc/57042/4/license.txt
http://repositorio.ufc.br/bitstream/riufc/57042/3/2020_dis_cssmarinho.pdf
bitstream.checksum.fl_str_mv 8a4605be74aa9ea9d79846c1fba20a33
c69630b6cf8bced597d62aa64d519a0a
bitstream.checksumAlgorithm.fl_str_mv MD5
MD5
repository.name.fl_str_mv Repositório Institucional da Universidade Federal do Ceará (UFC) - Universidade Federal do Ceará (UFC)
repository.mail.fl_str_mv bu@ufc.br || repositorio@ufc.br
_version_ 1847793306990280704