Skip to main content

Showing 1–6 of 6 results for author: Tziavelis, N

Searching in archive cs. Search in all archives.
.
  1. Efficient Computation of Quantiles over Joins

    Authors: Nikolaos Tziavelis, Nofar Carmeli, Wolfgang Gatterbauer, Benny Kimelfeld, Mirek Riedewald

    Abstract: We present efficient algorithms for Quantile Join Queries, abbreviated as %JQ. A %JQ asks for the answer at a specified relative position (e.g., 50% for the median) under some ordering over the answers to a Join Query (JQ). Our goal is to avoid materializing the set of all join answers, and to achieve quasilinear time in the size of the database, regardless of the total number of answers. A recent… ▽ More

    Submitted 25 May, 2023; originally announced May 2023.

  2. arXiv:2205.05649  [pdf, other

    cs.DB cs.DS cs.LO

    Any-k Algorithms for Enumerating Ranked Answers to Conjunctive Queries

    Authors: Nikolaos Tziavelis, Wolfgang Gatterbauer, Mirek Riedewald

    Abstract: We study ranked enumeration for Conjunctive Queries (CQs) where the answers are ordered by a given ranking function (e.g., an ORDER BY clause in SQL). We develop "any-k" algorithms, which, without knowing the number k of desired answers, push down the ranking into joins by carefully ordering the computation of intermediate tuples and avoiding materialization of join answers until they are needed.… ▽ More

    Submitted 12 October, 2023; v1 submitted 11 May, 2022; originally announced May 2022.

  3. Beyond Equi-joins: Ranking, Enumeration and Factorization

    Authors: Nikolaos Tziavelis, Wolfgang Gatterbauer, Mirek Riedewald

    Abstract: We study theta-joins in general and join predicates with conjunctions and disjunctions of inequalities in particular, focusing on ranked enumeration where the answers are returned incrementally in an order dictated by a given ranking function. Our approach achieves strong time and space complexity properties: with $n$ denoting the number of tuples in the database, we guarantee for acyclic full joi… ▽ More

    Submitted 30 August, 2021; v1 submitted 28 January, 2021; originally announced January 2021.

    Comments: 21 pages

    Journal ref: PVLDB, 14(11):2599-2612, 2021

  4. arXiv:2012.11965  [pdf, other

    cs.DB cs.DS

    Tractable Orders for Direct Access to Ranked Answers of Conjunctive Queries

    Authors: Nofar Carmeli, Nikolaos Tziavelis, Wolfgang Gatterbauer, Benny Kimelfeld, Mirek Riedewald

    Abstract: We study the question of when we can provide direct access to the k-th answer to a Conjunctive Query (CQ) according to a specified order over the answers in time logarithmic in the size of the database, following a preprocessing step that constructs a data structure in time quasilinear in database size. Specifically, we embark on the challenge of identifying the tractable answer orderings, that is… ▽ More

    Submitted 28 November, 2022; v1 submitted 22 December, 2020; originally announced December 2020.

    Comments: 44 pages

  5. Optimal Join Algorithms Meet Top-k

    Authors: Nikolaos Tziavelis, Wolfgang Gatterbauer, Mirek Riedewald

    Abstract: Top-k queries have been studied intensively in the database community and they are an important means to reduce query cost when only the "best" or "most interesting" results are needed instead of the full output. While some optimality results exist, e.g., the famous Threshold Algorithm, they hold only in a fairly limited model of computation that does not account for the cost incurred by large int… ▽ More

    Submitted 1 May, 2020; originally announced May 2020.

    Comments: To be published in Proceedings ofthe 2020 ACM SIGMOD International Conference on Management of Data (SIGMOD'20), June 14-19, 2020, Portland, OR, USA, 7 pages

  6. arXiv:1911.05582  [pdf, other

    cs.DB cs.DS

    Optimal Algorithms for Ranked Enumeration of Answers to Full Conjunctive Queries

    Authors: Nikolaos Tziavelis, Deepak Ajwani, Wolfgang Gatterbauer, Mirek Riedewald, Xiaofeng Yang

    Abstract: We study ranked enumeration of join-query results according to very general orders defined by selective dioids. Our main contribution is a framework for ranked enumeration over a class of dynamic programming problems that generalizes seemingly different problems that had been studied in isolation. To this end, we extend classic algorithms that find the k-shortest paths in a weighted graph. For ful… ▽ More

    Submitted 11 September, 2020; v1 submitted 13 November, 2019; originally announced November 2019.

    Comments: 50 pages, 19 figures