~/talk

NoSQL Best Practices for PostgreSQL

Talkat HighLoad++ 2017 · 2017-11-07..11-08· [databases]
links:none on file
slides:none on file

Compares Postgres jsonb vs Mongo/BSON with 1M rows benchmark on AWS (Postgres 9.6, Mongo 3.4, custom fork of rnb-mark); shows jsonb throughput matches document DBs in many read workloads and falls behind only in specific configs. Finds a performance peak at 20 concurrent clients on small instances, spinlock contention 4x increase under high concurrency for Mongo leading to degradation, and a TOAST threshold where storage/reads worsen — TOAST kicks in at ~2KB. Recommends indexing paths, tuning checkpoints for writes, using jsonb_each/populate_record or pulling hot fields into columns.

AI-written summary · about

  1. 0:00Introduction
  2. 3:14Benchmark context and goals
  3. 10:38Read document benchmarks
  4. 17:15JSON storage in PostgreSQL
  5. 27:10Reading complex documents
  6. 30:39Insert/update benchmarks
  7. 33:25Indexing and update issues
  8. 38:45Fetching document parts
  9. 41:35Complex query solutions
  10. 44:24Documents vs tables
  11. 47:33Summary and recommendations
  12. 48:59Q&A
~/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.