~/talk

The Resurgence of SQL

Talkat droidcon NYC 2017 · 2017-09-25..09-26· [databases, android]
links:none on file
slides:none on file

SQL moves heavy filtering from Kotlin into the database, demonstrated with a Swarm-style check‑in example where doing filters in Kotlin takes ~30 seconds on 50,000 rows but the SQL version runs in milliseconds — about 100x faster. Practical tools: use explain query plan and add indexes (creates searches instead of scans), export DB with Stetho, and choose between Room (easier onboarding, DAOs, paging) and SQL Delight (pure SQL, stronger compile‑time checks, Kotlin improvements underway).

AI-written summary · about

  1. 0:00Introduction to SQL
  2. 1:29Non-SQL persistence options
  3. 10:58SQLite fundamentals
  4. 13:26SQL vs Kotlin filtering
  5. 18:40Query optimization with indexes
  6. 25:37Challenges of raw SQLite
  7. 32:03Room vs SQLDelight
  8. 39:02Future of SQL on Android
  9. 41:26Q&A and summary
~/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.