Earlier quoted context omitted.
> I often wondered why anyone would use MongoDB or similar, but I always keep forgetting that developers are usually inexperienced hipsters You can do a basic google search, and you will find out use cases where document-based data storages are advantageous compare to relational ones.
So what you're saying that if I find something on google, it's undoubtedly true and I should blindly believe it? For every one of those use cases, I can provide a counter-argument. And there are many more who can do the same.
MongoDB gets support for multi-document ACID transactions
241–245 of 245 posts
Re: MongoDB gets support for multi-document ACID transactions
#242Earlier quoted context omitted.
Triggers?? Where you add some application logic to the database, 10 years go by, and no one has any idea how the triggers work? Or even how to test them? I've never seen triggers used successfully in any production application (maybe they work at first, but give them time, and a few code changes).
> "I've never seen triggers used successfully in any production application" Triggers have one or two good use cases, and plenty of bad use cases. I would suggest the strongest use case is for data validation. Databases don't have very sophisticated type systems, and custom data types can cause headaches. Database triggers allow you to ensure that the data stored in fields matches a set of criteria. To give a basic e…
Re: MongoDB gets support for multi-document ACID transactions
#243Re: MongoDB gets support for multi-document ACID transactions
#244Re: MongoDB gets support for multi-document ACID transactions
#245I'm the Product Manager on the Core Server responsible for the multi-document transactions project. For those of you interested in learning more about how we're building transactions in MongoDB, I suggest checking out this video that discusses creating WiredTiger timestamps to enforce correctness in operation ordering across the storage layer. The description is presented by Dr. Michael Cahill, the co-founder of the…
Hi Alyson, Thanks for the link! It looks like the video covers using timestamps to implement replicated mvcc correctly from primary to other replicas. The interesting next step is how you go from there to multi-document across different primaries. Or is this limited to documents in a single shard?