~/talk

SEQUEL SQL for Android Developers

Talkat droidcon Berlin 2024 · 2024-07-03..07-05· [databases]
slides:none on file

SQL is 50 years old and Android uses embedded SQLite (available since the early 2000s) with limits like concurrent reads but sequential writes, slower disk I/O and small memory budgets on low-end devices. The page shows concrete SQL: CREATE TABLE with primary and foreign keys and cascade rules, warns to avoid SELECT on backend for performance, and demonstrates parameterized queries to prevent injection. Two Android options are compared: Room (ORM) vs SQLDelight, which generates type-safe Kotlin from SQL* so queries become compile-time APIs and reduce runtime surprises.

AI-written summary · about

  1. 0:00SQL for Android devs
  2. 1:52Speaker background and SQL relevance
  3. 6:49Understanding ORMs and their drawbacks
  4. 12:03Querying with SELECT
  5. 14:26Modifying data in SQL
  6. 17:12Tables keys and relationships
  7. 26:22Database normalization
  8. 28:10Performance with indexes
  9. 32:24SQLite limits on Android
  10. 34:29Bare metal vs ORM
  11. 36:58Transactions and consistency
  12. 38:01SQLite security
  13. 40:05Summary
~/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.