~/talk

Reorganizing Queries with Grouping

Talkat GPCE 2020 · 2020-11-16..11-17· [databases, developer-experience]
name:Rui Okura
links:none on file
slides:none on file

An implementation of Quelg produces SQL via an IR with select and gselect primitives and a new reorganization algorithm that rewrites nested grouping to reduce query depth by roughly twofold and cut correlated subqueries. On PostgreSQL with 10,000-row tables translation time is negligible, overall runs improve ~10%, and two worst cases drop from >1s to ≈15ms. Microsoft LINQ either crashes or emits avalanche (Av) queries for several benchmarks.

AI-written summary · about

  1. 0:00Intro
  2. 0:12Traditional Application with Database
  3. 1:27Implementing Language-integrated Query
  4. 2:21Grouping and Aggregation in SQL
  5. 4:46What's This Work?
  6. 6:48Reorganization (1/3)
  7. 8:48Example (1/2)
  8. 10:12Performance (2/2)
  9. 14:15Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.