~/talk

Django with PostgreSQL superpowers

Talkat Citus Con: An Event for Postgres 2022 · 2022-04-12..04-13· [databases]
slides:none on file

Shows how to wire PostgreSQL into Django using psycopg3, Django’s contrib.postgres and a few third‑party packages, demonstrates updating nearly one million UUIDs with the randomUUID function instead of Python loops, and imports almost one million CSV rows in about three seconds using Django Postgres Copy’s temp-table/COPY pipeline. Covers JSONField, ArrayField, GIN index backed full‑text search, ltree hierarchical queries and PostGIS usage, with concrete migration and index choices and SQL patterns that actually speed queries.

AI-written summary · about

  1. 0:00Introduction
  2. 1:52Django no code
  3. 2:39Psycopg
  4. 4:41Test queries
  5. 5:55PostgreSQL contrib
  6. 7:26Random UUID
  7. 9:47Full Text Search
  8. 11:52Array field
  9. 13:49Django Postgres copy
  10. 16:53Django ltree
  11. 18:51PostGIS
  12. 19:42What’s next
~/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.