Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
97 tokens/sec
GPT-4o
53 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Query shredding: Efficient relational evaluation of queries over nested multisets (extended version) (1404.7078v2)

Published 28 Apr 2014 in cs.DB and cs.PL

Abstract: Nested relational query languages have been explored extensively, and underlie industrial language-integrated query systems such as Microsoft's LINQ. However, relational databases do not natively support nested collections in query results. This can lead to major performance problems: if programmers write queries that yield nested results, then such systems typically either fail or generate a large number of queries. We present a new approach to query shredding, which converts a query returning nested data to a fixed number of SQL queries. Our approach, in contrast to prior work, handles multiset semantics, and generates an idiomatic SQL:1999 query directly from a normal form for nested queries. We provide a detailed description of our translation and present experiments showing that it offers comparable or better performance than a recent alternative approach on a range of examples.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (3)
  1. James Cheney (62 papers)
  2. Sam Lindley (25 papers)
  3. Philip Wadler (11 papers)
Citations (54)

Summary

We haven't generated a summary for this paper yet.