~/talk

JSON data structure – the hidden gem inside your database engine

Talkat PHPConf.Asia 2018 · 2018-09-27..09-28· [databases]
slides:none on file

Demonstrates using JSONB columns in PostgreSQL to mix relational rows with flexible document fields, shows live SQL operators to extract keys, filter arrays, and index JSON paths with GIN indexing, and cites a 50 million records benchmark where Postgres wins ingestion, selection and storage over MongoDB by large margins. Describes a Trello-style card schema, production use at Telenor Health scaling toward 20 million users with millions of daily records, and notes per-key updates remain cheaper in MongoDB.

AI-written summary · about

  1. 0:00Introduction
  2. 0:39About the speaker
  3. 1:05Spaghetti analogy
  4. 1:44Database choice
  5. 2:34Spark example
  6. 3:00Jason
  7. 3:45Unstructured data
  8. 4:39Jason B
  9. 5:42Card structure
  10. 6:29Data structure
  11. 7:11Query data
  12. 7:58Filter data
  13. 8:11Check data
  14. 8:26Nested JSON objects
  15. 8:44Indexing
  16. 9:18Operators
  17. 10:02Postgres vs MongoDB
  18. 11:05Automatic sharding
~/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.