转:别再用MongoDB了
发布于 9 年前 作者 pfcoder 7355 次浏览 最后一次编辑是 8 年前 来自 分享

别再用MongoDB了

1.我没遇到过数据写入丢失的情况,(或者说64位系统不存在这样的问题?谁的生产系统还在用32位??) 2.PostgreSQL 9.4 vs MongoDB, 各位怎么看?(这是一篇基于PG9.4和Mongo2.6的NoSQL性能比较: PGNoSQL vs Mongo2.6

10 回复
  1. 我也没遇到。。。
  2. 现在是3.0时代了。。。

永不明白就说人家不好,也是醉了,一起鄙视那货

笑死了,没说不支持存储过程,不支持触发器呢,最可笑的是不支持sql。。。。

抛开黑文不说,如果PG9.4确实在NoSQL上发展的不错的话,也是个好选择啊,毕竟NoSQL现阶段任然无法取代关系型 With the new JSONB data type for PostgreSQL, users no longer have to choose between relational and non-relational data stores: they can have both at the same time. JSONB supports fast lookups and simple expression search queries using Generalized Inverted Indexes (GIN). Multiple new support functions enable users to extract and manipulate JSON data, with a performance which matches or surpasses the most popular document databases. With JSONB, table data can be easily integrated with document data for a fully integrated database environment.

“JSONB brings PostgreSQL to the JavaScript development community by allowing JSON data to be stored and queried natively. Node.js and other server-side JavaScript frameworks can benefit from the safety and robustness of PostgreSQL, while still storing data in the schema-less format that they prefer,” said Matt Soldo, Product Manager, Heroku Postgres.

他或许遇到了很多mongodb的坑,所以才会有此感慨吧。 不过对我们而言,熟悉mongodb才能更好的了解它,只有了解它,哪天我们也可以去评价mongodb是否适合。目前我们还只是使用阶段。而且事物是发展的,抱着良好的心态,相信慢慢可以做好。

之前我有点喜欢黑 mongodb 的,自从 3.0 之后,它的数据压缩比、文档锁之类的特性,让我觉得在这上面投入时间学习还是值得的。

有没有哪个超大网站是用mongo的?

我觉得就挺好的

回到顶部