~/talk

Sampling in Query Evaluation 1

links:none on file
slides:none on file

Shows that counting join answers is #P-complete and uniform random generation in general collapses complexity (polynomial-time uniform generation implies NP = RP), so focus shifts to acyclic queries where exact counting and join tree / Yannakakis counting give O(input)-time counts and provably uniform sampling. Adding projection ruins tractability (reduction from counting perfect matchings). Practical methods use local statistics and rejection sampling using MB(S) or AGM-style upper bounds W(t) that satisfy three monotonicity properties; experiments report low rejection in practice.

AI-written summary · about

  1. 0:00Sampling in query evaluation
  2. 1:54Motivation for database sampling
  3. 6:49Counting and uniform generation
  4. 23:49Projection challenges in acyclic queries
  5. 33:19Uniform generation with joins
  6. 58:52Q&A
~/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.