{"author_url":"https://blog.hatena.ne.jp/hiroppon/","blog_title":"\u4e2d\u5e74engineer\u306e\u72ec\u308a\u8a00 - crumbjp","description":"MongoDB\u3067\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u3042\u308b\u304b\u7121\u3044\u304b\uff1f\u3092\u8abf\u3079\u305f\u3044\u6642 \u539f\u6587 Checking if a document exists -- MongoDB slow findOne vs find \u53c2\u8003\u306b\u306a\u3063\u305f\u306e\u3067\u548c\u8a33\u3057\u305f One of the biggest optimisations to make MongoDB writes faster is to avoid moving documents by doing updates in place to a preallocated document. You only want to preallocate if the document do\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcrumbjp.hateblo.jp%2Fentry%2F20130322%2F1363914971\" title=\" MongoDB \u3067 isExist - \u4e2d\u5e74engineer\u306e\u72ec\u308a\u8a00 - crumbjp\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","provider_url":"https://hatena.blog","type":"rich","image_url":"http://serverdensity.wpengine.netdna-cdn.com/wp-content/uploads/2013/03/findOne.png","published":"2013-03-22 10:16:11","categories":["mongodb"],"url":"https://crumbjp.hateblo.jp/entry/20130322/1363914971","title":" MongoDB \u3067 isExist","author_name":"hiroppon","width":"100%","blog_url":"https://crumbjp.hateblo.jp/","provider_name":"Hatena Blog","version":"1.0"}