5 research outputs found

    Query Optimization in ElasticSearch

    Get PDF
    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

    Get PDF
    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

    Full text link
    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

    Full text link
    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
    corecore