Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Dubious Database Design

Andrew Godwin
September 07, 2015

Dubious Database Design

My talk from DjangoCon US 2015.

Andrew Godwin

September 07, 2015
Tweet

More Decks by Andrew Godwin

Other Decks in Programming

Transcript

  1. Andrew Godwin Hi, I'm Author of 1.7 Django & South

    migrations Senior Software Engineer at Only hates MySQL a little
  2. {"id": 11, "post": "abc", "author": 1} {"id": 12, "post": "def",

    "author": 2} {"id": 13, "post", "ghi", "author": 3} {"id": 1, "name": "Andrew"} {"id": 2, "name": "Brenda"} {"id": 3, "name": "Carol"}
  3. scan all posts build dict of author -> posts scan

    all authors and emit with posts
  4. Columns per language 300 - 400 language variants x A

    couple of translated cols per table x