~/talk

Advanced SQL with SQLAlchemy

Talkat PyGotham 2019 · 2019-10-04..10-05· [databases]
links:none on file
slides:none on file

Shows concrete SQLAlchemy+Postgres patterns: storing tags as arrays with a GIN index to filter down to single rows in milliseconds (author reports 500 million claims), calling any Postgres operator via .op and DB functions via func, using common table expressions as reusable table-like steps (example builds 1,000 fake sales), window functions like row_number/lead to pick each store’s latest sale, and grouping sets/rollup to produce multi-level aggregates in one pass for faster reporting.

AI-written summary · about

  1. 0:00Intro
  2. 0:15Capital Rx
  3. 0:34Topics
  4. 0:52Declarative language
  5. 1:51SQLAlchemy
  6. 6:41Filter
  7. 7:50Funk
  8. 10:21Common Table Expressions
  9. 12:24Fake Sales
  10. 12:39Sales by Region
  11. 12:50Store ID
  12. 14:01Sales by State
  13. 14:11Compose Queries
  14. 16:01Window Functions
  15. 19:29Latest Sale
  16. 21:07Partition
  17. 21:30Grouping
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.