5 research outputs found
Query Optimization in ElasticSearch
In the graduation thesis, I present database, its history of origin, and where it is placed from the perspective of cases of use on the software market. I make a short overview of examples of use from the real world, and shortly research trends of its popularity compared to related products and market as a whole. Based on my own experience, literature, official documentation, and experience of other users, I examine the cases which caused problematic operation of the database. For each of the cases I examine the possibility and advisability of solving the problem with automatic optimisation of queries. I examine the case also historically, since Elasticsearch has in the last year significantly changed. I note that automation of queries is not advisable, since the developers in Elasticsearch solved most of the cases with architectural changes, internal optimisation, and a change of query language, which takes away from the user ambiguity in expressing the queries. I establish that the most important feature of well-functioning cluster is a proper size of shards, which cannot be easily changed. For that, an experimental planning of activities is necessary, which I also describe. In addition to optimum size of shard, there are some bad practices, which I also describe in the thesis; with them we can collapse cluster, and it is important that they are known by the user
Query Optimization in ElasticSearch
In the graduation thesis, I present database, its history of origin, and where it is placed from the perspective of cases of use on the software market. I make a short overview of examples of use from the real world, and shortly research trends of its popularity compared to related products and market as a whole. Based on my own experience, literature, official documentation, and experience of other users, I examine the cases which caused problematic operation of the database. For each of the cases I examine the possibility and advisability of solving the problem with automatic optimisation of queries. I examine the case also historically, since Elasticsearch has in the last year significantly changed. I note that automation of queries is not advisable, since the developers in Elasticsearch solved most of the cases with architectural changes, internal optimisation, and a change of query language, which takes away from the user ambiguity in expressing the queries. I establish that the most important feature of well-functioning cluster is a proper size of shards, which cannot be easily changed. For that, an experimental planning of activities is necessary, which I also describe. In addition to optimum size of shard, there are some bad practices, which I also describe in the thesis; with them we can collapse cluster, and it is important that they are known by the user
Oscillatory behaviour of the RBF-FD approximation accuracy under increasing stencil size
When solving partial differential equations on scattered nodes using the
Radial Basis Function generated Finite Difference (RBF-FD) method, one of the
parameters that must be chosen is the stencil size. Focusing on Polyharmonic
Spline RBFs with monomial augmentation, we observe that it affects the
approximation accuracy in a particularly interesting way - the solution error
oscillates under increasing stencil size. We find that we can connect this
behaviour with the spatial dependence of the signed approximation error. Based
on this observation we are then able to introduce a numerical quantity that
indicates whether a given stencil size is locally optimal.Comment: 8 pages, 6 figures, ICCS 2023 Conference Pape
Query Optimization in ElasticSearch
V diplomskem delu predstavim bazo, njeno zgodovino nastanka in kam se umeÅ”Äa s staliÅ”Äa primerov uporabe na trgu programske opreme. Naredim kratek pregled primerov uporabe iz realnega sveta in na kratko raziÅ”Äem trende njene popularnosti v primerjavi s sorodnimi produkti ter trgom kot celoto. Na podlagi lastnih izkuÅ”enj, literature, uradne dokumentacije in izkuÅ”enj drugih uporabnikov obravnavam primere, ki so povzroÄali problematiÄno delovanje baze. Za vsakega od primerov obravnavam možnost in smiselnost reÅ”itve problema z avtomatsko optimizacijo poizvedb. Primer obravnavam tudi zgodovinsko, saj je Elasticsearch v zadnjem letu z novimi verzijami bistveno spreminjal. Ugotavljam, da avtomatizacija poizvedb ni smiselna, saj so razvijalci pri Elastcisearchu veÄino primerov reÅ”ili z arhitekturnimi spremembami, z interno optimizacijo in s spremembo poizvedovalnega jezika, ki uporabniku odvzame dvoumnost pri izražanju poizvedb. Ugotavljam, da so najbolj pomembna lastnost dobro delujoÄe gruÄe, primerna velikost Ärepinje, ki pa je ni mogoÄe enostavno spreminjati. Za to je potrebno eksperimentalno naÄrtovanje zmogljivost, ki ga tudi opiÅ”em. Poleg optimalne velikosti Ärepinje obstaja nekaj slabih praks, ki jih v delu tudi opiÅ”em, z njimi lahko sesujemo gruÄo in zanje je pomembno, da jih uporabnik baze pozna.In the graduation thesis, I present database, its history of origin, and where it is placed from the perspective of cases of use on the software market. I make a short overview of examples of use from the real world, and shortly research trends of its popularity compared to related products and market as a whole. Based on my own experience, literature, official documentation, and experience of other users, I examine the cases which caused problematic operation of the database. For each of the cases I examine the possibility and advisability of solving the problem with automatic optimisation of queries. I examine the case also historically, since Elasticsearch has in the last year significantly changed. I note that automation of queries is not advisable, since the developers in Elasticsearch solved most of the cases with architectural changes, internal optimisation, and a change of query language, which takes away from the user ambiguity in expressing the queries. I establish that the most important feature of well-functioning cluster is a proper size of shards, which cannot be easily changed. For that, an experimental planning of activities is necessary, which I also describe. In addition to optimum size of shard, there are some bad practices, which I also describe in the thesiswith them we can collapse cluster, and it is important that they are known by the user