5 ms·
Nobody seems to like my opinion, but MongoDB kept eating my data regularly and silently. My writeups are here: http://www.korokithakis.net/node/116 http://www.
by StavrosK 16y ago
Nobody seems to like my opinion, but MongoDB kept eating my data regularly and silently. My writeups are here:
http://www.korokithakis.net/node/116 http://www.korokithakis.net/node/116
http://www.korokithakis.net/node/119 http://www.korokithakis.net/node/119
I would love to answer questions if I could figure out how to easily see my replies on HN :/
- _pius 16y agoAre you using the stable MongoDB?
- StavrosK 16y agoI started with the unstable version and then switched to the stable one, but the problems continued. If I remember correctly, the problems with 1.3 were not significantly more than 1.4.
- thibaut_barrere 16y agoMy understanding is that you used v1.3.3 then switched to v1.4.0, is that right ? Are you experiencing data loss with 1.4.0 ?
- StavrosK 16y agoYes, I mark the point where I switched to 1.4 in my posts (and the same about the 64-bit version). In one case (recently, with 1.4.1 64-bit) I had lost half my data in a crash, and restored from week-old backups only to discover that they were missing back then too. Turns out it was a silent corruption days ago...
- masomenos 16y ago1.3.3 was a development version, as is every odd numbered: http://www.mongodb.org/display/DOCS/Version+Numbers http://www.mongodb.org/display/DOCS/Version+Numbers
- StavrosK 16y agoI know that now :P Regardless, the problems continued with 1.4.
- steveklabnik 16y agoYou can see replies by hitting the "threads" link at the top of the page. Reasons (from my understanding) that you had a bad experience: 1. You used a development, unstable version of software in production. 2. 32 bit Mongo cannot store more than 2GB of data, this is a very public, known admission. The reason that 'nobody seems to like your opinion' is that your post got real famous, and while mistakes happen, the internet was in a bit of a frenzy at the time over the whole NoSQL thing, and so you became sort of a poster child for various sides that people had chosen. Sucks, but it happens. I had a similar experience with my first blog post ever, so I feel your pain...
- StavrosK 16y agoThanks for the "threads" tip, it's really handy. About your points: 1. This is true (there was no warning that I saw when I was downloading it, although one was added later, or maybe I didn't notice it). However, I upgraded to the stable version when it came out to give MongoDB a second chance, because it sounds very good in theory, and I had the same (if not bigger) problems. 2. I hadn't known about it, and, no matter how pubilc it is, the server could just refuse to store more data. Silently corrupting two documents for every document inserted is inexcusable, even if your database was forged in the pits of hell. I think your point about the poster child thing is true. While I meant my post as a sort of "MongoDB didn't look too production-ready to me, but I hope it gets there eventually", people became really polarized and took it either as "this guy is right, MongoDB sucks" or "this guy is an idiot, silently corrupting data is perfectly acceptable if there's a notice on the website"...
- StavrosK 16y agoIn retrospect, I have these observations: * The corruption of data might be excused in the development branch. * The silent corruption of the data when the server goes past its limit for a 32-bit DB cannot be excused, since the server could die, at the very least. * The corruption of data due to the process being killed because the connection dropped wasn't MongoDB's fault. * Requiring 9 GB of RAM for 5 indexes doesn't sit very well with me... * Silently corrupting data for me to find out days later is not something a stable, unstable or toy database should do...
- patrickaljord 16y agoI and many people are using mongodb just fine with no data-loss and way more data and way more queries per second than you. If you are going to make big accusations like this you need to back them up with a test-case to reproduce your error. Otherwise it's just yet another useless rant/bug report. I too could write a "cassandra lost my data" blog post with no proof whatsoever, wouldn't help. Also the 32bits argument is ridiculous, it is not supposed to store more than 2geebees anyway, so don't use it for that.
- StavrosK 16y agoSee if you can make SQLite lose your data, I'd like to see that...