{"@context":"https:\/\/schema.org\/","@type":"ScholarlyArticle","@id":"#article8395","name":"It's All a Matter of Degree: Using Degree Information to Optimize Multiway Joins","abstract":"We optimize multiway equijoins on relational tables using degree information. We give a new bound that uses degree information to more tightly bound the maximum output size of a query. On real data, our bound on the number of triangles in a social network can be up to 95 times tighter than existing worst case bounds. We show that using only a constant amount of degree information, we are able to obtain join algorithms with a running time that has a smaller exponent than existing algorithms - for any database instance. We also show that this degree information can be obtained in nearly linear time, which yields asymptotically faster algorithms in the serial setting and lower communication algorithms in the MapReduce setting.\r\n\r\nIn the serial setting, the data complexity of join processing can be expressed as a function O(IN^x + OUT) in terms of input size IN and output size OUT in which x depends on the query. An upper bound for x is given by fractional hypertreewidth. We are interested in situations in which we can get algorithms for which x is strictly smaller than the fractional hypertreewidth. We say that a join can be processed in subquadratic time if x < 2. Building on the AYZ algorithm for processing cycle joins in quadratic time, for a restricted class of joins which we call 1-series-parallel graphs, we obtain a complete decision procedure for identifying subquadratic solvability (subject to the 3-SUM problem requiring quadratic time). Our 3-SUM based quadratic lower bound is tight, making it the only known tight bound for joins that does not require any assumption about the matrix multiplication exponent omega. We also give a MapReduce algorithm that meets our improved communication bound and handles essentially optimal parallelism.","keywords":["Joins","Degree","MapReduce"],"author":[{"@type":"Person","name":"Joglekar, Manas R.","givenName":"Manas R.","familyName":"Joglekar"},{"@type":"Person","name":"R\u00e9, Christopher M.","givenName":"Christopher M.","familyName":"R\u00e9"}],"position":11,"pageStart":"11:1","pageEnd":"11:17","dateCreated":"2016-03-14","datePublished":"2016-03-14","isAccessibleForFree":true,"license":"https:\/\/creativecommons.org\/licenses\/by\/3.0\/legalcode","copyrightHolder":[{"@type":"Person","name":"Joglekar, Manas R.","givenName":"Manas R.","familyName":"Joglekar"},{"@type":"Person","name":"R\u00e9, Christopher M.","givenName":"Christopher M.","familyName":"R\u00e9"}],"copyrightYear":"2016","accessMode":"textual","accessModeSufficient":"textual","creativeWorkStatus":"Published","inLanguage":"en-US","sameAs":"https:\/\/doi.org\/10.4230\/LIPIcs.ICDT.2016.11","publisher":"Schloss Dagstuhl \u2013 Leibniz-Zentrum f\u00fcr Informatik","citation":["http:\/\/arxiv.org\/abs\/1410.4156","http:\/\/dl.acm.org\/citation.cfm?id=647904.739463","http:\/\/dx.doi.org\/10.1007\/11534273_36","http:\/\/arxiv.org\/abs\/1508.01239","http:\/\/dx.doi.org\/10.1145\/1989284.1989310","http:\/\/snap.stanford.edu\/data","http:\/\/dx.doi.org\/10.1145\/2213556.2213565","http:\/\/arxiv.org\/abs\/1210.0481"],"isPartOf":{"@type":"PublicationVolume","@id":"#volume6251","volumeNumber":48,"name":"19th International Conference on Database Theory (ICDT 2016)","dateCreated":"2016-03-14","datePublished":"2016-03-14","editor":[{"@type":"Person","name":"Martens, Wim","givenName":"Wim","familyName":"Martens"},{"@type":"Person","name":"Zeume, Thomas","givenName":"Thomas","familyName":"Zeume"}],"isAccessibleForFree":true,"publisher":"Schloss Dagstuhl \u2013 Leibniz-Zentrum f\u00fcr Informatik","hasPart":"#article8395","isPartOf":{"@type":"Periodical","@id":"#series116","name":"Leibniz International Proceedings in Informatics","issn":"1868-8969","isAccessibleForFree":true,"publisher":"Schloss Dagstuhl \u2013 Leibniz-Zentrum f\u00fcr Informatik","hasPart":"#volume6251"}}}