~/talk

PostgreSQL for Developers

Talkat PostgresOpen 2014 · 2014-09-17..09-19· [databases]
slides:none on file

Argument that SQL is a real programming language, demonstrated by concrete solutions: a nine‑line query using window functions and CTEs that computes monthly billing from a monotonically increasing counter with resets, range queries and partitions that reveal cycle behavior, and a single SQL geolocation pipeline that uses PG loader, ip4r and earthdistance to map IPs to locations and do k‑NN pub lookups. Benchmarks show sub 1–1.5 ms for indexed geolocation versus ~20 ms without, and the queries work end to end.

AI-written summary · about

  1. 0:00Introduction to PostgreSQL for developers
  2. 2:00SQL as data language
  3. 4:11Data model design example
  4. 8:27Window functions power
  5. 13:04Counter reset with SQL
  6. 17:59Counter reset with partitions
  7. 27:18SQL as iterative code
  8. 27:40Extending queries with types
  9. 32:58Geolocation with IP ranges
  10. 37:14Nearest neighbor search
  11. 40:52Conclusion
  12. 41:55Q&A on SQL programming
~/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.