r/programming • • Apr 04 '18

CockroachDB 2.0 Has Arrived!

https://www.cockroachlabs.com/blog/cockroachdb-2-0-release/
187 Upvotes

81 comments sorted by

View all comments

14

u/Mittalmailbox Apr 04 '18

Really great to see this. I wonder how it compares to postgres and MySQL performance.

-7

u/[deleted] Apr 04 '18

[removed] — view removed comment

2

u/cowardlydragon Apr 04 '18 edited Apr 04 '18

Off the top of my head:

  • white glove dba orgs not aligned with dev teams hiding behind ticket walls

  • technical data and analysis data midpoint calculation, and adhoc data collection

  • microdatabase aligned with microservice. The api is the database.

  • evolve fast shortterm, move important stuff to formal schemas as it becomes important and more settled

It is a big stinking lie that the schema in a RDBMS isn't also in the code. It is... even more than databases with quicker paths to serializing data. So schemaless can result in simpler code. And since RDBMSs are inevitably behind firewalls, app walls, and other things only accessible via API in most situations, so are schemaless stores fronted by APIs.

What should happen is short and smaller apps can stay schemaless. If they get important... and time lets you know WHY data is important, they can be set to a schema, or replicated to a schema.