~/talk

How De-normalizing Your Data with JSON Can Boost Query Performance

Talkat PHP UK Conference 2019 · 2019-02-20..02-22· [databases]
slides:none on file

Argues that denormalizing into JSON columns and using MySQL Document Store plus the X Dev API cuts the number of costly joins, keeps frequently changing or rare fields mutable, and still allows indexable JSON fields via generated columns. Demonstrates a bulk loader ingesting 25,000 records in ~2s, shows JSON_TABLE for analytics, and reports typical query overhead of only three to four percent versus fully normalized schemas while preserving the ability to normalize hot fields later.

AI-written summary · about

  1. 0:00Introduction
  2. 0:27History Lesson
  3. 0:59The Problem
  4. 1:40The Solution
  5. 1:58Tape Drives
  6. 2:28Single Key
  7. 2:49Edgar Codd
  8. 3:10Structured Query Language
  9. 3:38Better Performance
  10. 3:58Normalizing Data
  11. 4:34Cost Model
  12. 5:15Package Your Data
  13. 5:54No SQL
  14. 7:25SQL Vendors
  15. 8:12JSON Data Type
  16. 8:54Creating a Springless Fantasy Business
  17. 9:20Guitars
  18. 9:58Custom Guitars
  19. 10:15Classic Guitars
  20. 11:01Getting Started
  21. 11:11Serial Number
  22. 12:39Electric Guitar
  23. 12:58Wiring Options
  24. 13:24Variable Options
  25. 13:38Finite Element Analysis
  26. 13:59ManytoMany Join
  27. 14:29JSON Data Types
  28. 14:49JSON mutable
  29. 15:28Production data
  30. 15:50Schema list JSON
  31. 16:22Architecture
  32. 17:46New Shell
  33. 19:05New API
  34. 19:26Search Conditions
  35. 19:45New JSON API
  36. 20:15New JSON API with Tables
  37. 20:41JSON Table
  38. 22:01SQL Operator
  39. 22:39JSON Bulk Loader
  40. 22:55Hybrid Databases
  41. 23:10NonHybrid Databases
  42. 23:48Data Structure Changes
  43. 24:52Buy my book
  44. 25:11Questions
~/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.