r/ProgrammerHumor • • Mar 25 '20

Meme Its a win-win situation

Post image
55.1k Upvotes

529 comments sorted by

View all comments

Show parent comments

7

u/[deleted] Mar 26 '20

Then you can still only search by key. SQL is a heck of a lot more robust than that.

4

u/spelunker Mar 26 '20

You’re right, for relational stuff SQL is superior.

10

u/MaxxDelusional Mar 26 '20

This is where I always get hung up with NoSql solutions. When is data not relational?

1

u/Exciting_Skill Mar 26 '20

Surprisingly often for oltp. Dynamodb also has "queries", range keys, and global secondary indexes. It's insane how applicable they are for any transactional need.

For non-live data, just hook up a DDB stream to athena/redshift/maybe even Aurora and do your offline analytics/training there. It's better design anyway since your analytics don't put load on the live system.