~/talk

Get Your Ducks in a Row with Databases

Talkat posit::conf(2025) · 2025-09-16..09-18· [databases, web-performance]
links:none on file
slides:none on file

Small team replaces repeated live SQL Server queries with a local DuckDB cache layer written from R (DBI + duckdb) via a script named create_duckdb_database.R, precomputing aggregations and storing raw and result tables on each user PC. Performance improves from 8s per query → near-instant with a ~+2s app boot cost (net ~6s gain); spatial functions appear and work; risks are dataset drift between users and local-permissions exposure of row‑level data.

AI-written summary · about

  1. 0:00DuckDB and Shiny apps
  2. 1:45Excel to R tools
  3. 3:32Shiny app bottlenecks
  4. 5:41DuckDB performance fix
  5. 8:14DuckDB in Shiny workflow
  6. 10:02Local DuckDB caveats
  7. 11:28About the speaker and resources
~/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.