~/talk

NoSQL to Distributed SQL: Best Practices and Lessons Learned by Helpshift

Talkat Distributed SQL Summit Asia 2022 · 2022-03-30..03-31· [databases]
links:none on file
links:none on file
slides:none on file

Helpshift migrates MongoDB to a distributed SQL (yoga by db) by normalizing core fields into three tables issue, issue_chatbot_state, issue_meta while keeping volatile attributes in a single JSON `extra` field to avoid exploding schema work. Migration uncovers practical pitfalls: null characters in text, bind-variable limits on bulk inserts, and large secondary-index hotspots. Resolution includes hashing tenant IDs with yb_hash_code and a mod value to spread shards, favoring index-only scans and parallelizing large IN or aggregate queries into per-shard ranges.

AI-written summary · about

  1. 0:00Migration journey intro
  2. 1:49Helpshift platform overview
  3. 3:34Switching from NoSQL to SQL
  4. 5:48NoSQL to SQL migration challenges
  5. 9:15Normalization in data modeling
  6. 15:33Data migration and schema changes
  7. 18:23Query patterns and indexing
  8. 24:29Anti-patterns in SQL queries
  9. 28:09Key takeaways
~/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.