~/talk

NoSQL doesn't mean No Schema

Talkat PyData DC 2016 · 2016-10-07..10-09· [databases]
links:none on file
slides:none on file

Claim: NoSQL still has a schema and it belongs in code. Uses Python plus the jsonschema validator and BSON (Pongo) to embed a JSON Schema dictionary in a model class, raise exceptions on invalid instances, and run migration by introducing versioned classes and converting documents. Generates millions of documents to test performance (one aggregation once takes 15 minutes, prompting index or model changes). Outcome: validation and migration strategy works and prevents silent chaos. schema still exists json schema in code versioned class migrations

AI-written summary · about

  1. 0:00Introduction
  2. 1:08What a schema really is
  3. 5:41SQL vs NoSQL schemas
  4. 8:11Schema in Python and NoSQL
  5. 13:36JSON Schema as metadata
  6. 16:47Use cases for schema design
  7. 21:44Data validation before insert
  8. 24:54CRUD with schema validation
  9. 27:45Schema migration strategies
  10. 33:01Schema must exist in code
  11. 37:08JSON validation limits
  12. 40:25Handling NoSQL updates
  13. 42:12Discipline in schema usage
  14. 43:20Sharing schema across apps
~/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.