{"id":392,"date":"2024-12-21T01:02:11","date_gmt":"2024-12-20T16:02:11","guid":{"rendered":"https:\/\/0x0c.info\/?p=392"},"modified":"2024-12-21T01:02:11","modified_gmt":"2024-12-20T16:02:11","slug":"%e3%80%90mongodb%e3%80%91-%e8%a4%87%e6%95%b0%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b3%e3%82%92%e3%82%b9%e3%82%ad%e3%83%83%e3%83%97%e3%81%97%e3%81%a6%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b3","status":"publish","type":"post","link":"https:\/\/0x0c.info\/?p=392","title":{"rendered":"\u3010MongoDB\u3011 \u8907\u6570\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u3066\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3092\u3057\u305f\u3044"},"content":{"rendered":"\n\t\t\t\t\nMongoDB\u3092\u305d\u308d\u305d\u308d\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u306a\u3044\u3068\u306a\u30fc\u3001\u3068\u601d\u3063\u3066\u3044\u305f\u3089\u5e7e\u661f\u971c\u3001\u3068\u3046\u3068\u3046\u3084\u308b\u6c17\u306b\u306a\u3063\u305f\u3089\u306a\u3093\u30683.4\u304b\u30897.0\u307e\u3067\u4e0a\u3052\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3001\u3068\u304b\u3044\u3046\u72b6\u6cc1\u306b\u906d\u9047\u3057\u305f\u5834\u5408\u3001<br>\n<br>\n\n\u901a\u5e38\u306f \u30ed\u30fc\u30ea\u30f3\u30b0\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8 \u3067\u3084\u308b\u3093\u3060\u308d\u3046\u3051\u308c\u3069\u3082\u3001\u305d\u3046\u3059\u308b\u3068\u3048\u30fc\u3068\u3001\n\n<br>\n<br>\n\n3.4 \u2192 3.6 \u2192 4.0 \u2192 4.2 \u2192 4.4 \u2192 5.0 \u2192 6.0 \u2192 7.0\n\n<br>\n<br>\n\n\u3068\u3001\u306a\u3093\u3068\u307e\u3042\u3001\u4e03\u56de\u3082\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3092\u7e70\u308a\u8fd4\u3055\u306a\u304d\u3083\u3044\u3051\u306a\u304f\u306a\u308a\u307e\u3059\u3002\n\n<br>\n<br>\n\n\u3067\u3001\u3075\u3064\u3046\u306f\u3001\u3058\u3083\u3042\u30c0\u30a6\u30f3\u30bf\u30a4\u30e0\u306f\u8a31\u5bb9\u3059\u308b\u3068\u3057\u3066\u30c0\u30f3\u30d7&amp;\u30ea\u30b9\u30c8\u30a2\u3067\u4f55\u3068\u304b\u306a\u3089\u306a\u3044\u306e\u304b\u3001\u3068\u601d\u3044\u307e\u3059\u3088\u306d\u3002\n\n<br>\n<br>\n\n\u3067\u3082\u3069\u3053\u3092\u3055\u304c\u3057\u3066\u3082\u306a\u3093\u304b&#8221;\u30c0\u30f3\u30d7&amp;\u30ea\u30b9\u30c8\u30a2\u3067\u4f55\u3068\u304b&#8221;\u306a\u308b\u306e\u304b\u3069\u3046\u304b\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3060\u3068\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u3002\n\n<br>\n<br>\n\n<a href=\"https:\/\/www.mongodb.com\/community\/forums\/t\/dump-and-restore-between-version-3-6-and-5-0\/168933\">https:\/\/www.mongodb.com\/community\/forums\/t\/dump-and-restore-between-version-3-6-and-5-0\/168933<\/a>\n<br><br>\n\u306b\u306f\n\n<br>\n<br>\n\nIf downtime is acceptable and you have a large number of major releases to upgrade through, you can also consider a migration using mongodump and mongorestore.\n\n<br>\n<br>\n\n\u3068\u3042\u308b\u3082\u306e\u306e\u3001\n\n<br>\n<br>\n\nwill encounter different issues depending on the provenance of your data\n<br><br>\n\u3068\u304b\u3042\u308b\u3057\u3001\u3061\u3087\u3063\u3068\u5fc3\u914d\u3067\u3059\u304c\u3001\u307e\u3042\u304d\u3061\u3093\u3068\u30c6\u30b9\u30c8\u3059\u308c\u3070\u3001\u3068\u3044\u3046\u304b\u30ed\u30fc\u30ea\u30f3\u30b0\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u305f\u304b\u3089\u3068\u3044\u3063\u3066\u30c6\u30b9\u30c8\u3057\u306a\u3044\u308f\u3051\u3067\u3082\u306a\u3044\u3057\u3001\u3053\u3063\u3061\u306e\u65b9\u304c\u697d\u304b\u306a\u30fc\u3068\u601d\u3044\u307e\u3059\u3002\n<br><br>\n\u3061\u306a\u307f\u306b\u3053\u3061\u3089\u3067\u306f docker \u4f7f\u3063\u3066\u8907\u6570\u30d0\u30fc\u30b8\u30e7\u30f3\u9593\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3092\u81ea\u52d5\u5316\u3059\u308b\u3068\u3044\u3046\u529b\u696d\u304c\u7d39\u4ecb\u3055\u308c\u3066\u3066\u3001\u306a\u308b\u307b\u3069\u3059\u3054\u3044\u306a\u30fc\u3068\u3044\u3046\u611f\u3058\u3067\u3059\u3002\n<br><br>\n<a href=\"https:\/\/stackoverflow.com\/questions\/37833561\/restoring-the-database-dump-of-an-older-version-of-mongo-to-a-new-version-of-mon\">https:\/\/stackoverflow.com\/questions\/37833561\/restoring-the-database-dump-of-an-older-version-of-mongo-to-a-new-version-of-mon<\/a>\n\n\n\n\n\t\t","protected":false},"excerpt":{"rendered":"<p>MongoDB\u3092\u305d\u308d\u305d\u308d\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u306a\u3044\u3068\u306a\u30fc\u3001\u3068\u601d\u3063\u3066\u3044\u305f\u3089\u5e7e\u661f\u971c\u3001\u3068\u3046\u3068\u3046\u3084\u308b\u6c17\u306b\u306a\u3063\u305f\u3089\u306a\u3093\u30683.4\u304b\u30897.0\u307e\u3067\u4e0a\u3052\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3001\u3068\u304b\u3044\u3046\u72b6\u6cc1\u306b\u906d\u9047\u3057\u305f\u5834\u5408\u3001 \u901a\u5e38\u306f \u30ed\u30fc\u30ea\u30f3\u30b0\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8 \u3067\u3084\u308b\u3093\u3060\u308d\u3046\u3051\u308c\u3069\u3082\u3001\u305d\u3046\u3059\u308b\u3068\u3048\u30fc\u3068\u3001 3.4 \u2192 3.6 \u2192 4.0 \u2192 4.2 \u2192 4.4 \u2192 5.0 \u2192 6.0 \u2192 7.0 \u3068\u3001\u306a\u3093\u3068\u307e\u3042\u3001\u4e03\u56de\u3082\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3092\u7e70\u308a\u8fd4\u3055\u306a\u304d\u3083\u3044\u3051\u306a\u304f\u306a\u308a\u307e\u3059\u3002 \u3067\u3001\u3075\u3064\u3046\u306f\u3001\u3058\u3083\u3042\u30c0\u30a6\u30f3\u30bf\u30a4\u30e0\u306f\u8a31\u5bb9\u3059\u308b\u3068\u3057\u3066\u30c0\u30f3\u30d7&amp;\u30ea\u30b9\u30c8\u30a2\u3067\u4f55\u3068\u304b\u306a\u3089\u306a\u3044\u306e\u304b\u3001\u3068\u601d\u3044\u307e\u3059\u3088\u306d\u3002 \u3067\u3082\u3069\u3053\u3092\u3055\u304c\u3057\u3066\u3082\u306a\u3093\u304b&#8221;\u30c0\u30f3\u30d7&amp;\u30ea\u30b9\u30c8\u30a2\u3067\u4f55\u3068\u304b&#8221;\u306a\u308b\u306e\u304b\u3069\u3046\u304b\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3060\u3068\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u3002 https:\/\/www.mongodb.com\/community\/forums\/t\/dump-and-restore-between-version-3-6-and-5-0\/168933 \u306b\u306f If downtime is acceptable and you have a large number of major releases to upgrade through, you can also consider a migration using mongodump and mongorestore. \u3068\u3042\u308b\u3082\u306e\u306e\u3001 will encounter different issues &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/0x0c.info\/?p=392\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;\u3010MongoDB\u3011 \u8907\u6570\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u3066\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3092\u3057\u305f\u3044&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[47,52],"class_list":["post-392","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux","tag-mongodb"],"_links":{"self":[{"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/posts\/392","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/0x0c.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=392"}],"version-history":[{"count":0,"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/posts\/392\/revisions"}],"wp:attachment":[{"href":"https:\/\/0x0c.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/0x0c.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/0x0c.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}