{"id":72640,"date":"2024-11-01T15:00:00","date_gmt":"2024-11-01T06:00:00","guid":{"rendered":"https:\/\/www.creationline.com\/?p=72640"},"modified":"2024-12-18T14:30:57","modified_gmt":"2024-12-18T05:30:57","slug":"mongodb%e5%90%8c%e5%a3%ab%e3%81%ae%e3%83%87%e3%83%bc%e3%82%bf%e3%83%9e%e3%82%a4%e3%82%b0%e3%83%ac%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%81%ae%e3%83%99%e3%82%b9%e3%83%88%e3%83%97%e3%83%a9%e3%82%af","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/data-management\/72640","title":{"rendered":"MongoDB\u540c\u58eb\u306e\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u63a2\u308b ~mongodump\/mongorestore\u7de8\uff5e #mongodb  #datamigration"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p>IT\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u3068\u3063\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u79fb\u884c\u306f\u907f\u3051\u3089\u308c\u306a\u3044\u4f5c\u696d\u306e\u4e00\u3064\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u5229\u7528\u8005\u306b\u30b5\u30fc\u30d3\u30b9\u5f71\u97ff\u3092\u6975\u529b\u611f\u3058\u3055\u305b\u305a\u306b\u79fb\u884c\u3092\u7d42\u3048\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u304c\u3001\u30b7\u30b9\u30c6\u30e0\u69cb\u6210\u306b\u3088\u3063\u3066\u306f\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3078\u306e\u5f71\u97ff\u3084\u30b5\u30fc\u30d3\u30b9\u505c\u6b62\uff08\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6642\u9593\uff09\u304c\u4f34\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u30b5\u30fc\u30d3\u30b9\u505c\u6b62\u3092\u4f34\u3046\u539f\u56e0\u306e1\u3064\u304c\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002MongoDB\u3067\u3082\u4ed6\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u540c\u3058\u3088\u3046\u306b\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3084\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u306e\u66f4\u65b0\u306b\u4f34\u3044\u3001\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u304c\u5fc5\u8981\u306b\u306a\u308b\u5834\u9762\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>MongoDB\u306e\u30c6\u30af\u30cb\u30ab\u30eb\u30b5\u30dd\u30fc\u30c8\u3067\u3082\u3001\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306b\u95a2\u3059\u308b\u304a\u554f\u3044\u5408\u308f\u305b\u306f\u591a\u304f\u3044\u305f\u3060\u3044\u3066\u3044\u307e\u3059\u3002\u305d\u308c\u3060\u3051\u591a\u304f\u306e\u65b9\u304c\u982d\u3092\u60a9\u307e\u305b\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002\u305d\u3053\u3067\u3001\u4eca\u56de\u306fMongoDB\u540c\u58eb\u306e\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u63a2\u3063\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>MongoDB\u3067\u306f\u516c\u5f0f\u3067\u3044\u304f\u3064\u304b\u306e\u30c4\u30fc\u30eb\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002MongoDB\u540c\u58eb\u306e\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306b\u4f7f\u3048\u305d\u3046\u306a\u3082\u306e\u30923\u3064\u898b\u3064\u3051\u307e\u3057\u305f\u3002\u305d\u308c\u305e\u308c\u306b\u3069\u306e\u3088\u3046\u306a\u7279\u5fb4\u304c\u3042\u308b\u306e\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>mongodump\/mongorestore<\/li>\n\n\n\n<li>mongoimport\/mongoexport<\/li>\n\n\n\n<li>MongoDB Cluster-to-Cluster Sync(mongosync)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">mongodump \/ mongorestore \u3068\u306f<\/h2>\n\n\n\n<p><a href=\"https:\/\/www.mongodb.com\/docs\/database-tools\/mongodump\/\" target=\"_blank\" rel=\"noreferrer noopener\">mongodump<\/a>\u306fMongoDB\u304b\u3089BSON\u5f62\u5f0f\uff08Binary JSON\uff09\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4e2d\u8eab\u3092\u53d6\u308a\u51fa\u3059\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3067\u3059\u3002MongoDB\u306f\u5185\u90e8\u3067\u306fBSON\u3067\u30c7\u30fc\u30bf\u3092\u4fdd\u6301\u3057\u3066\u304a\u308a\u3001\u305d\u308c\u3092\u305d\u306e\u307e\u307e\u53d6\u308a\u51fa\u305b\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\uff08\u305d\u3082\u305d\u3082MongoDB\u304c\u826f\u304f\u77e5\u3089\u308c\u305fJSON\u3067\u306f\u306a\u304f\u3001\u3069\u3046\u3057\u3066BSON\u3067\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u6271\u3046\u306e\u304b\u306f\u3001<a href=\"https:\/\/www.mongodb.com\/resources\/basics\/json-and-bson\" target=\"_blank\" rel=\"noreferrer noopener\">\u3053\u3061\u3089\u306e\u30dd\u30b9\u30c8<\/a>\u3092\u8aad\u3093\u3067\u307f\u3066\u304f\u3060\u3055\u3044\uff09<\/p>\n\n\n\n<p>MySQL\u3084PostgreSQL\u306b\u3082\u30c0\u30f3\u30d7\u3059\u308b\u305f\u3081\u306e\u30b3\u30de\u30f3\u30c9\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u308c\u306eMongoDB\u30d0\u30fc\u30b8\u30e7\u30f3\u3060\u3068\u601d\u3063\u3066\u3044\u305f\u3060\u3051\u308c\u3070\u5927\u4e08\u592b\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u306f\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3068\u5fa9\u5143\u306e\u305f\u3081\u306b\u4f7f\u7528\u3059\u308b\u30c4\u30fc\u30eb\u3068\u3057\u3066\u7d39\u4ecb\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/www.mongodb.com\/ja-jp\/docs\/manual\/tutorial\/backup-and-restore-tools\/#std-label-manual-tutorial-backup-and-restore\" target=\"_blank\" rel=\"noreferrer noopener\">MongoDB \u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u305f\u81ea\u5df1\u7ba1\u7406\u578b\u914d\u7f6e\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3068\u5fa9\u5143<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.mongodb.com\/ja-jp\/docs\/database-tools\/mongoimport\/mongoimport-compatibility-and-installation\/#mongodb-server-compatibility\" target=\"_blank\" rel=\"noreferrer noopener\">MongoDB Server\u9593\u306e\u4e92\u63db\u6027<\/a>\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u7d39\u4ecb\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><code>mongodump<\/code>&nbsp;\u30d0\u30fc\u30b8\u30e7\u30f3&nbsp;<code>100.10.0<\/code>&nbsp;\u3067\u306f\u6b21\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e MongoDB Server \u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>MongoDB 7.0<\/li>\n\n\n\n<li>MongoDB 6.0<\/li>\n\n\n\n<li>MongoDB 5.0<\/li>\n\n\n\n<li>MongoDB 4.4<\/li>\n\n\n\n<li>MongoDB 4.2<\/li>\n<\/ul>\n\n\n\n<p><code>mongodump<\/code>&nbsp;\u306f\u3001\u4ee5\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e MongoDB \u30b5\u30fc\u30d0\u30fc\u3067\u3082\u52d5\u4f5c\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u4e92\u63db\u6027\u306f\u4fdd\u8a3c\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<\/blockquote>\n\n\n\n<p>\u4e92\u63db\u304c\u3042\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u540c\u58eb\u3067\u3042\u308c\u3070\u3001\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u7528\u9014\u3068\u3057\u3066\u3082\u4f7f\u3048\u305d\u3046\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">mongoexport \/ mongoimport \u3068\u306f<\/h2>\n\n\n\n<p>mongodump\u304cBSON\u5f62\u5f0f\u3067\u30c7\u30fc\u30bf\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u306e\u306b\u5bfe\u3057\u3066\u3001mongoexport\u306fJSON\u3084CSV,TSV\u5f62\u5f0f\u3067\u30c7\u30fc\u30bf\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3067\u3059\u3002<a href=\"https:\/\/www.mongodb.com\/ja-jp\/docs\/database-tools\/mongoimport\/mongoimport-compatibility-and-installation\/#mongodb-server-compatibility\" target=\"_blank\" rel=\"noreferrer noopener\">MongoDB Server\u9593\u306e\u4e92\u63db\u6027<\/a>\u306b\u95a2\u3057\u3066\u306fmongodump\u3068\u5168\u304f\u540c\u3058\u8a18\u8f09\u3067\u3059\u304c\u3001\u3069\u3061\u3089\u304b\u3068\u8a00\u3048\u3070MongoDB\u3068\u305d\u306e\u4ed6\u306e\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u9593\u3067\u4f7f\u3046\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001MongoDB\u540c\u58eb\u306e\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306b\u304a\u3044\u3066\u306f\uff08\u9593\u306b\u30c7\u30fc\u30bf\u52a0\u5de5\u3092\u306f\u3055\u307f\u305f\u3044\u306a\u3069\u306e\u8981\u4ef6\u304c\u306a\u3044\u9650\u308a\uff09mongodump\/mongorestore\u3088\u308a\u3082\u3053\u3061\u3089\u3092\u4f7f\u3046\u3079\u304d\u3001\u3068\u3044\u3046\u30b7\u30fc\u30f3\u306f\u307b\u307c\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">MongoDB Cluster-to-Cluster Sync(mongosync)\u3068\u306f<\/h2>\n\n\n\n<p><a href=\"https:\/\/www.mongodb.com\/ja-jp\/docs\/cluster-to-cluster-sync\/current\/about-mongosync\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u8aad\u3093\u3067\u307f\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><a href=\"https:\/\/www.mongodb.com\/ja-jp\/docs\/cluster-to-cluster-sync\/current\/reference\/mongosync\/#std-label-c2c-mongosync\" target=\"_blank\" rel=\"noreferrer noopener\">mongosync<\/a>\u30d0\u30a4\u30ca\u30ea\u30fc\u306f\u3001Cluster-to-Cluster Sync \u3067\u4f7f\u7528\u3055\u308c\u308b\u30d7\u30e9\u30a4\u30de\u30ea \u30d7\u30ed\u30bb\u30b9\u3067\u3059\u3002&nbsp;<code>mongosync<\/code>\u306f\u30bd\u30fc\u30b9\u30af\u30e9\u30b9\u30bf\u30fc\u304b\u3089\u5b9b\u5148\u30af\u30e9\u30b9\u30bf\u30fc\u306b\u30c7\u30fc\u30bf\u3092\u79fb\u884c\u3057\u3001\u540c\u671f\u304c<a href=\"https:\/\/www.mongodb.com\/ja-jp\/docs\/cluster-to-cluster-sync\/current\/about-mongosync\/#std-label-c2c-about-finalizing\" target=\"_blank\" rel=\"noreferrer noopener\">\u5b8c\u4e86<\/a>\u3059\u308b\u307e\u3067\u30af\u30e9\u30b9\u30bf\u30fc\u3092\u7d99\u7d9a\u7684\u306b\u540c\u671f\u3055\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<p><code>mongosync<\/code>&nbsp;\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u672c\u756a\u74b0\u5883\u3092\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u3057\u305f\u5206\u6790\u3001\u958b\u767a\u3001\u307e\u305f\u306f\u30c6\u30b9\u30c8\u5c02\u7528\u306e\u30af\u30e9\u30b9\u30bf\u30fc\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/blockquote>\n\n\n\n<p>\u7d30\u304b\u3044\u3053\u3068\u306f\u826f\u3044\u304b\u3089MongoDB Server\u9593\u306e\u30c7\u30fc\u30bf\u3092\u307e\u308b\u3063\u3068\u79fb\u884c\u3057\u305f\u3044\uff01\u3068\u3044\u3046\u3068\u304d\u306b\u4f7f\u3048\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p>mongodump\/mongorestore \u3068 mongosync\u306e2\u3064\u306b\u3064\u3044\u3066\u3001\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u6642\u306e\u4f7f\u3044\u5206\u3051\u3092\u63a2\u3063\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u672c\u5f53\u306f\u3001\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u3059\u3079\u3066\u66f8\u304d\u5207\u308a\u305f\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u30d6\u30ed\u30b0\u304c\u3042\u307e\u308a\u306b\u9577\u304f\u306a\u308a\u305d\u3046\u306a\u306e\u3067\u3001\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306fmongodump\/mongorestore\u3092\u4f7f\u3063\u3066\u691c\u8a3c\u3057\u305f\u7d50\u679c\u306e\u307f\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002mongosync\u306f\u6b21\u306e\u8a18\u4e8b\u3067\u3002\u306a\u308b\u3079\u304f\u65e9\u304f\u516c\u958b\u3057\u307e\u3059\uff01\u3059\u307f\u307e\u305b\u3093\uff01<\/p>\n\n\n\n<p>2024\/11\/27 \u8ffd\u8a18\uff1a\u7d9a\u7de8\u3067\u304d\u307e\u3057\u305f\u3002\u2192 <a href=\"https:\/\/www.creationline.com\/tech-blog\/author\/k-yamamori\/75841\">MongoDB\u540c\u58eb\u306e\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u63a2\u308b ~mongosync\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u7de8\uff5e<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u691c\u8a3c\u74b0\u5883<\/h2>\n\n\n\n<p>\u691c\u8a3c\u74b0\u5883\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u79fb\u884c\u5143\uff08\u30db\u30b9\u30c8\u540d\uff1afreelen-mongodb)<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>MongoDB Enterprise 6.0.18 (Standalone)<\/li>\n\n\n\n<li>IP Address: 192.168.50.194<\/li>\n\n\n\n<li>OS: Debian GNU\/Linux 11.11<\/li>\n\n\n\n<li>CPU: 1(11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz)<\/li>\n\n\n\n<li>RAM: 20GB<\/li>\n\n\n\n<li>DISK: 150GB<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u79fb\u884c\u5148\uff08\u30db\u30b9\u30c8\u540d\uff1ahimmel-mongodb\uff09<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>MongoDB Enterprise 7.0.0 (Standalone) <\/li>\n\n\n\n<li>IP Address: 192.168.50.30<\/li>\n\n\n\n<li>OS: Debian GNU\/Linux 12.7<\/li>\n\n\n\n<li>CPU:1(11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz)<\/li>\n\n\n\n<li>RAM: 20GB<\/li>\n\n\n\n<li>DISK: 150GB<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u79fb\u884c\u30c7\u30fc\u30bf\u8a73\u7d30<\/h3>\n\n\n\n<p>100GB\u524d\u5f8c\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u542b\u3080\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9<\/p>\n\n\n\n<p>\u3053\u308c\u306f10GB\u7a0b\u5ea6\u3067\u306f\u3042\u307e\u308a\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u304c\u767a\u751f\u3057\u306a\u3055\u305d\u3046\u3068\u3044\u3046\u306e\u3068\u3001\u79c1\u306e\u74b0\u5883\u3067\u30b5\u30c3\u3068\u7528\u610f\u3067\u304d\u308b\u3082\u306e\u304c\u6700\u5927100GB\u3060\u3063\u305f\u3068\u3044\u3046\u306e\u304c\u4e3b\u306a\u7406\u7531\u3067\u3059\u3002\u30b5\u30fc\u30d0\u306f2\u53f0\u3068\u3082\u540c\u30db\u30b9\u30c8\u306e\u5358\u4e00ESXi\u4e0a\u3067\u52d5\u3044\u3066\u3044\u3066\u3001\u540c\u3058\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u5c5e\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u524d\u6e96\u5099\uff1a\u691c\u8a3c\u7528\u30c7\u30fc\u30bf\u3092\u7528\u610f\u3059\u308b<\/h2>\n\n\n\n<p>100GB\u3042\u308b\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u7528\u610f\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u3053\u306e\u624b\u9806\u306f\u3001\u7686\u3055\u3093\u306e\u624b\u5143\u3067\u5b9f\u969b\u306b\u691c\u8a3c\u74b0\u5883\u3092\u7528\u610f\u3059\u308b\u3068\u304d\u306b\u3082\u5f79\u7acb\u3064\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u624b\u3063\u53d6\u308a\u65e9\u304fmongodump\/mongorestore\u3092\u4f7f\u3063\u305f\u691c\u8a3c\u7d50\u679c\u3092\u77e5\u308a\u305f\u3044\u65b9\u306f\u8aad\u307f\u98db\u3070\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u3001\u4ee5\u524d\u306e\u30d6\u30ed\u30b0\u3067\u3082\u7d39\u4ecb\u3057\u305fmgodatagen\u3068\u3001\u305d\u3053\u3067\u751f\u6210\u3057\u305f\u30c7\u30fc\u30bf\uff08\u30b3\u30b8\u30e3\u30b1\u306e\u500b\u4eba\u60c5\u5831\uff09\u3092\u4f7f\u3044\u307e\u3059\u3002\u4eca\u56de\u751f\u6210\u3059\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\u306fsalmon_employee\u3067\u3001\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u540d\u306fkojake\u3067\u3059\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/www.creationline.com\/tech-blog\/data-management\/mongodb\/75211\" target=\"_blank\" rel=\"noreferrer noopener\">MongoDB\u306b\u5927\u91cf\u306e\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\uff08\u6570\u767e\u4e07\u4ef6\uff09\u3092\u633f\u5165\u3059\u308b #mongodb #mgodatagen<\/a><\/p>\n\n\n\n<p>\u4ee5\u524d\u751f\u6210\u3057\u305f\u3082\u306e\u3060\u3068\u30011\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3042\u305f\u308a\u306e\u30b5\u30a4\u30ba\u304c\u5c0f\u3055\u3044\u306e\u3067\u3001100GB\u3092\u7a3c\u3050\u306e\u306f\u53b3\u3057\u305d\u3046\u3067\u3059\u3002\u305d\u3053\u3067\u3001\u9577\u6587\u3092\u8ffd\u52a0\u3057\u3066\u306a\u308b\u3079\u304f1\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3042\u305f\u308a\u306e\u30b5\u30a4\u30ba\u3092\u5927\u304d\u304f\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306fchatGPT\u306b\u300c\u3082\u3057\u3082\u30b3\u30b8\u30e3\u30b1\u304c\u30b5\u30fc\u30e2\u30f3\u30e9\u30f3\u306e\u9762\u63a5\u306b\u53c2\u52a0\u3057\u305f\u3089\u300d\u3068\u3044\u3046\u30c6\u30fc\u30de\u3067\u6587\u7ae0\u3092\u751f\u6210\u3057\u3066\u3082\u3089\u3044\u307e\u3057\u305f\u3002\u9577\u3044\u306e\u3067\u3053\u3061\u3089\u306b\u306f\u8a18\u8f09\u3057\u307e\u305b\u3093\u304c\u3001\u306a\u304b\u306a\u304b\u9762\u767d\u3044\u5185\u5bb9\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u6c17\u306b\u306a\u308b\u5947\u7279\u306a\u65b9\u306f\u3001\u5f8c\u307b\u3069\u51fa\u3066\u304f\u308bpersonalKOJAGEdata.json\u3067\u8aad\u3093\u3067\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u6700\u521d\u306f\u306a\u308b\u3079\u304f16MB\uff08MongoDB\u304c\u6271\u3048\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u6700\u5927\u30b5\u30a4\u30ba\uff09\u307e\u3067\u8fd1\u3065\u3051\u3066\u304f\u3060\u3055\u3044\u3001\u3068\u4f1d\u3048\u305f\u306e\u3067\u3059\u304c\u3001\u8003\u3048\u3066\u307f\u308b\u3068\u3001\u30c6\u30ad\u30b9\u30c8\u3060\u3051\u306716MB\u3063\u3066\u3068\u3093\u3067\u3082\u306a\u304f\u5927\u304d\u306a\u30b5\u30a4\u30ba\u306a\u3093\u3067\u3059\u3088\u306d\u3002\u7121\u7406\u3092\u8a00\u3063\u3066\u3057\u307e\u3063\u3066\u3059\u307e\u306a\u3044\u3002\uff08\u4ee5\u4e0bchatGPT\u3068\u306e\u4f1a\u8a71\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"832\" height=\"519\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/10\/image-8.png\" alt=\"\" class=\"wp-image-75606\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/10\/image-8.png 832w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/10\/image-8-360x225.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/10\/image-8-768x479.png 768w\" sizes=\"auto, (max-width: 832px) 100vw, 832px\" \/><\/figure>\n\n\n\n<p>\u751f\u6210\u3057\u3066\u3082\u3089\u3063\u305f\u6587\u7ae0\u306e\u90e8\u5206\u306f\u5927\u4f535KB\u524d\u5f8c\u3042\u308a\u307e\u3057\u305f\u3002\uff11\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3042\u305f\u308a5KB\u3068\u3057\u3066\u3001\u4f55\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3042\u308c\u3070100GB\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u304c\u3067\u304d\u308b\u3067\u3057\u3087\u3046\u304b\u3002chatGPT\u541b\u306b\u8a08\u7b97\u3057\u3066\u3082\u3089\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"807\" height=\"594\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/10\/image-9.png\" alt=\"\" class=\"wp-image-75607\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/10\/image-9.png 807w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/10\/image-9-360x265.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/10\/image-9-768x565.png 768w\" sizes=\"auto, (max-width: 807px) 100vw, 807px\" \/><\/figure>\n\n\n\n<p>\u3060\u3044\u305f\u30442000\u4e07\u4ef6\u3042\u308c\u3070\u3001100GB\u306b\u8fd1\u3065\u304d\u305d\u3046\u3067\u3059\u306d\uff01\u4ee5\u4e0a\u3092\u8e0f\u307e\u3048\u3066\u5b8c\u6210\u3057\u305fmgodatagen\u306e\u30b3\u30f3\u30d5\u30a3\u30b0\u306f\u3053\u3061\u3089\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$jq . personalKOJAGEdata.json\n[\n  {\n    \"database\": \"salmon_employee\",\n    \"collection\": \"kojake\",\n    \"count\": 20000000,\n    \"content\": {\n      \"_id\": {\n        \"type\": \"objectId\"\n      },\n      \"firstname\": {\n        \"type\": \"faker\",\n        \"method\": \"FirstName\"\n      },\n      \"lastname\": {\n        \"type\": \"faker\",\n        \"method\": \"LastName\"\n      },\n      \"phone\": {\n        \"type\": \"faker\",\n        \"method\": \"Phone\"\n      },\n      \"email\": {\n        \"type\": \"faker\",\n        \"method\": \"Email\"\n      },\n      \"workplace\": {\n        \"type\": \"enum\",\n        \"values\": [\n          \"\u30a2\u30e9\u30de\u30ad\u7826\",\n          \"\u30e0\u30cb\u30fb\u30a8\u30fc\u30eb\u6d77\u6d0b\u767a\u96fb\u6240\",\n          \"\u30b7\u30a7\u30b1\u30ca\u30c0\u30e0\",\n          \"\u96e3\u7834\u8239\u30c9\u30f3\u30fb\u30d6\u30e9\u30b3\",\n          \"\u3059\u3058\u3053\u30b8\u30e3\u30f3\u30af\u30b7\u30e7\u30f3\u8de1\",\n          \"\u30c8\u30ad\u30b7\u30e9\u30ba\u3044\u3076\u3057\u5de5\u623f\",\n          \"\u3069\u3093\u3074\u3053\u95d8\u6280\u5834\"\n        ],\n        \"randomOrder\": true\n      },\n      \"future course\": {\n        \"type\": \"enum\",\n        \"values\": [\n          \"\u30c9\u30b9\u30b3\u30a4\",\n          \"\u30bf\u30de\u30d2\u30ed\u30a4\",\n          \"\u30b7\u30e3\u30b1\u30b3\u30d7\u30bf\u30fc\",\n          \"\u30aa\u30aa\u30e2\u30ce\u30b7\u30e3\u30b1\",\n          \"\u30ab\u30bf\u30d1\u30c3\u30c9\",\n          \"\u30b3\u30a6\u30e2\u30ea\",\n          \"\u30bf\u30ef\u30fc\",\n          \"\u30c0\u30a4\u30d0\u30fc\",\n          \"\u30c6\u30c3\u30ad\u30e5\u30a6\",\n          \"\u30c6\u30c3\u30d1\u30f3\",\n          \"\u30ca\u30d9\u30d6\u30bf\",\n          \"\u30d0\u30af\u30c0\u30f3\",\n          \"\u30cf\u30b7\u30e9\",\n          \"\u30d8\u30d3\",\n          \"\u30e2\u30b0\u30e9\",\n          \"\u30ad\u30f3\u30b7\u30e3\u30b1\"\n        ],\n        \"randomOrder\": true\n      },\n      \"intro\": {\n        \"type\": \"constant\",\n        \"constVal\": {\n          \"intro\": \"\u3069\u3046\u3082\u3001\u3053\u3093\u306b\u3061\u306f\u30b7\u30e3\u30c3\uff01\u3048\u3063\u3068\u3001\u307e\u305a\u306f\u81ea\u5df1\u7d39\u4ecb\u304b\u3089\u3055\u305b\u3066\u3044\u305f\u3060\u304f\u30b7\u30e3\u30b1\u3002\u50d5\u306e\u540d\u524d\u306f\u30b7\u30e3\u30b1\u3001\u30b5\u30fc\u30e2\u30f3\u30e9\u30f3\u3067\u7686\u3055\u3093\u306b\u3068\u3063\u3066\u3061\u3087\u3063\u3068\u5384\u4ecb\u306a\u5b58\u5728\u3068\u3057\u3066\u767b\u5834\u3057\u3066\u3044\u308b\u3001\u3044\u308f\u3086\u308b\u300c\u6575\u30ad\u30e3\u30e9\u300d\u30b7\u30e3\u30b1\u3002\u3048\u3047\u3001\u50d5\u305f\u3061\u304c\u30df\u30c3\u30b7\u30e7\u30f3\u4e2d\u306b\u307f\u3093\u306a\u306e\u524d\u306b\u7acb\u3061\u306f\u3060\u304b\u308b\u3042\u306e\u9bad\u305f\u3061\u306e\u4e00\u54e1\u306a\u3093\u3067\u3059\u30b7\u30e3\u30b1\u3002\u4eca\u65e5\u306f\u300c\u3082\u3057\u50d5\u305f\u3061\u304c\u9762\u63a5\u306b\u6765\u305f\u3089\uff1f\u300d\u3063\u3066\u3044\u3046\u9762\u767d\u3044\u8a2d\u5b9a\u307f\u305f\u3044\u306a\u306e\u3067\u3001\u305c\u3072\u8a71\u3092\u805e\u3044\u3066\u307b\u3057\u3044\u30b7\u30e3\u30b1\u3002\u307e\u305a\u3001\u50d5\u306e\u7279\u6280\u3068\u3044\u3048\u3070\u3001\u306a\u3093\u3068\u3044\u3063\u3066\u3082\u300c\u30c1\u30fc\u30e0\u30d7\u30ec\u30a4\u300d\u30b7\u30e3\u30b1\u3002\u50d5\u305f\u3061\u9bad\u306f\u3001\u6c7a\u3057\u3066\u4e00\u5339\u3060\u3051\u3067\u6311\u3080\u3053\u3068\u306f\u3057\u306a\u3044\u30b7\u30e3\u30b1\u3002\u3044\u3064\u3082\u5927\u7fa4\u3067\u52d5\u304f\u3093\u3060\u30b7\u30e3\u30b1\u3002\u30b5\u30fc\u30e2\u30f3\u30e9\u30f3\u3067\u898b\u305f\u3053\u3068\u3042\u308b\u30b7\u30e3\u30b1\uff1f\u3042\u306e\u3046\u3058\u3083\u3046\u3058\u3083\u3068\u62bc\u3057\u5bc4\u305b\u308b\u9bad\u306e\u5927\u7fa4\u3002\u305d\u308c\u304c\u50d5\u305f\u3061\u306e\u5f37\u307f\u30b7\u30e3\u30b1\u3002\u76f8\u624b\u306b\u30d7\u30ec\u30c3\u30b7\u30e3\u30fc\u3092\u4e0e\u3048\u308b\u305f\u3081\u306b\u3082\u3001\u5e38\u306b\u6570\u3067\u52dd\u8ca0\u3059\u308b\u3063\u3066\u6c7a\u3081\u3066\u308b\u30b7\u30e3\u30b1\u3002\u305d\u3057\u3066\u3001\u50d5\u305f\u3061\u306f\u300c\u3057\u3076\u3068\u3055\u300d\u3082\u81ea\u6162\u306e\u4e00\u3064\u30b7\u30e3\u30b1\u3002\u666e\u901a\u306e\u30b2\u30fc\u30e0\u3060\u3068\u3001\u6575\u3092\u5012\u305b\u3070\u7d42\u308f\u308a\u3063\u3066\u611f\u3058\u30b7\u30e3\u30b1\u304c\u3001\u50d5\u305f\u3061\u306f\u305d\u3093\u306a\u306b\u7c21\u5358\u306b\u306f\u3084\u3089\u308c\u306a\u3044\u30b7\u30e3\u30b1\u3002\u3057\u3076\u3068\u304f\u4f55\u5ea6\u3067\u3082\u5ddd\u3092\u9061\u3063\u3066\u3001\u30d7\u30ec\u30a4\u30e4\u30fc\u306e\u307f\u306a\u3055\u3093\u3092\u5727\u5012\u3057\u3066\u3044\u304f\u30b7\u30e3\u30b1\u3002\u7279\u306b\u3001\u50d5\u305f\u3061\u306f\u672c\u80fd\u7684\u306b\u76ee\u7684\u5730\u306b\u305f\u3069\u308a\u7740\u304f\u3053\u3068\u3092\u5f37\u304f\u6c42\u3081\u3066\u3044\u308b\u30b7\u30e3\u30b1\u304b\u3089\u3001\u3069\u3093\u306a\u306b\u6483\u9000\u3055\u308c\u3066\u3082\u3001\u4f55\u5ea6\u3067\u3082\u6311\u6226\u3059\u308b\u3093\u3060\u30b7\u30e3\u30b1\u3002\u3053\u308c\u304c\u50d5\u305f\u3061\u306e\u3057\u3064\u3053\u3055\u306e\u79d8\u5bc6\u30b7\u30e3\u30b1\u3002\u3055\u3066\u3001\u6b21\u306b\u300c\u5f79\u5272\u5206\u62c5\u300d\u306b\u3064\u3044\u3066\u304a\u8a71\u3057\u3059\u308b\u30b7\u30e3\u30b1\u3002\u5b9f\u306f\u50d5\u305f\u3061\u9bad\u306b\u3082\u3001\u8272\u3005\u306a\u7a2e\u985e\u306e\u30e1\u30f3\u30d0\u30fc\u304c\u3044\u308b\u30b7\u30e3\u30b1\u3002\u305f\u3068\u3048\u3070\u3001\u4f53\u304c\u5927\u304d\u304f\u3066\u3001\u307f\u3093\u306a\u3092\u3076\u3064\u304b\u3063\u3066\u5439\u3063\u98db\u3070\u3059\u30bf\u30a4\u30d7\u306e\u300c\u30c7\u30ab\u30b7\u30e3\u30b1\u300d\u3068\u304b\u3001\u3082\u306e\u3059\u3054\u3044\u30b9\u30d4\u30fc\u30c9\u3067\u52d5\u3044\u3066\u3001\u30d7\u30ec\u30a4\u30e4\u30fc\u3092\u304b\u304d\u4e71\u3059\u300c\u30d0\u30af\u30c0\u30f3\u300d\u306a\u3093\u3066\u4ef2\u9593\u304c\u3044\u308b\u30b7\u30e3\u30b1\u3002\u50d5\u305f\u3061\u306b\u306f\u305d\u308c\u305e\u308c\u5f97\u610f\u5206\u91ce\u304c\u3042\u3063\u3066\u3001\u5f79\u5272\u3092\u5206\u62c5\u3057\u306a\u304c\u3089\u3001\u30c1\u30fc\u30e0\u5168\u4f53\u3067\u30d7\u30ec\u30a4\u30e4\u30fc\u3092\u7ffb\u5f04\u3059\u308b\u3053\u3068\u3092\u76ee\u6307\u3057\u3066\u308b\u30b7\u30e3\u30b1\u3002\u50d5\u306e\u5834\u5408\u306f\u3001\u6a19\u6e96\u7684\u306a\u30b7\u30e3\u30b1\u3068\u3057\u3066\u3001\u3069\u3093\u306a\u5834\u9762\u3067\u3082\u4e07\u80fd\u306b\u52d5\u3051\u308b\u306e\u304c\u5f37\u307f\u30b7\u30e3\u30b1\u3002\u30d7\u30ec\u30a4\u30e4\u30fc\u304c\u6cb9\u65ad\u3057\u3066\u3044\u308b\u9699\u306b\u3001\u3058\u308f\u3058\u308f\u3068\u8fd1\u3065\u3044\u3066\u3044\u304f\u306e\u304c\u5f97\u610f\u306a\u3093\u3060\u30b7\u30e3\u30b1\u3002\u305d\u308c\u306b\u3001\u50d5\u305f\u3061\u9bad\u306b\u306f\u300c\u30c1\u30fc\u30e0\u5168\u54e1\u3067\u306e\u5354\u529b\u300d\u3063\u3066\u3044\u3046\u6587\u5316\u304c\u6839\u4ed8\u3044\u3066\u308b\u30b7\u30e3\u30b1\u3002\u305f\u3068\u3048\u3070\u3001\u30dc\u30b9\u30b7\u30e3\u30b1\u304c\u6307\u63ee\u3092\u53d6\u308b\u3068\u3001\u50d5\u305f\u3061\u306f\u305d\u306e\u53f7\u4ee4\u306b\u5f93\u3063\u3066\u4e00\u6589\u306b\u52d5\u304f\u30b7\u30e3\u30b1\u3002\u30dc\u30b9\u304c\u300c\u4eca\u3060\uff01\u300d\u3063\u3066\u8a00\u3048\u3070\u3001\u307f\u3093\u306a\u3067\u4e00\u6c17\u306b\u8972\u3044\u304b\u304b\u308b\u30b7\u30e3\u30b1\u3002\u50d5\u305f\u3061\u306f\u30d7\u30ec\u30a4\u30e4\u30fc\u4e00\u4eba\u3092\u76f8\u624b\u306b\u3057\u3066\u308b\u3093\u3058\u3083\u306a\u304f\u3066\u3001\u3042\u304f\u307e\u3067\u5168\u4f53\u3092\u76ee\u6307\u3057\u3066\u653b\u6483\u3057\u3066\u3044\u308b\u30b7\u30e3\u30b1\u3002\u3060\u304b\u3089\u3001\u307f\u3093\u306a\u3067\u5354\u529b\u3057\u3066\u5927\u304d\u306a\u6ce2\u3092\u4f5c\u308a\u51fa\u3059\u306e\u304c\u3001\u50d5\u305f\u3061\u306e\u6226\u6cd5\u30b7\u30e3\u30b1\u3002\u6b21\u306b\u3001\u300c\u3057\u3076\u3068\u3055\u300d\u3068\u300c\u30bf\u30d5\u3055\u300d\u306b\u3064\u3044\u3066\u3082\u3046\u5c11\u3057\u8a71\u3055\u305b\u3066\u307b\u3057\u3044\u30b7\u30e3\u30b1\u3002\u50d5\u305f\u3061\u304c\u30b5\u30fc\u30e2\u30f3\u30e9\u30f3\u3067\u3084\u3089\u308c\u308b\u3068\u3001\u30d7\u30ec\u30a4\u30e4\u30fc\u306f\u4e00\u6642\u7684\u306b\u30db\u30c3\u3068\u3059\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u30b7\u30e3\u30b1\u304c\u3001\u305d\u308c\u3067\u7d42\u308f\u308a\u3058\u3083\u306a\u3044\u30b7\u30e3\u30b1\u3002\u50d5\u305f\u3061\u306f\u3059\u3050\u306b\u88dc\u5145\u3055\u308c\u3066\u3001\u6b21\u304b\u3089\u6b21\u3078\u3068\u62bc\u3057\u5bc4\u305b\u308b\u30b7\u30e3\u30b1\u3002\u30d7\u30ec\u30a4\u30e4\u30fc\u304c\u3069\u3093\u306a\u306b\u5f37\u304f\u3066\u3082\u3001\u50d5\u305f\u3061\u306e\u6570\u306b\u306f\u52dd\u3066\u306a\u3044\u30b7\u30e3\u30b1\u3002\u6570\u306e\u529b\u3092\u5229\u7528\u3057\u3066\u3001\u307f\u3093\u306a\u3092\u3058\u308f\u3058\u308f\u3068\u8ffd\u3044\u8a70\u3081\u3066\u3044\u304f\u306e\u304c\u50d5\u305f\u3061\u306e\u5f97\u610f\u6280\u30b7\u30e3\u30b1\u3002\u3055\u3066\u3001\u50d5\u305f\u3061\u304c\u306a\u305c\u3053\u3046\u3057\u3066\u300c\u6575\u30ad\u30e3\u30e9\u300d\u3068\u3057\u3066\u541b\u81e8\u3057\u3066\u3044\u308b\u306e\u304b\u3001\u305d\u306e\u7406\u7531\u306b\u3064\u3044\u3066\u3082\u5c11\u3057\u8a71\u3059\u30b7\u30e3\u30b1\u3002\u50d5\u305f\u3061\u306e\u76ee\u7684\u306f\u3001\u4f55\u3068\u3057\u3066\u3067\u3082\u30a4\u30af\u30e9\u3092\u5b88\u308a\u629c\u304f\u3053\u3068\u30b7\u30e3\u30b1\u3002\u3042\u306e\u300c\u91d1\u30a4\u30af\u30e9\u300d\u3001\u3042\u308c\u304c\u50d5\u305f\u3061\u306e\u547d\u3068\u3082\u8a00\u3048\u308b\u3093\u3060\u30b7\u30e3\u30b1\u3002\u3060\u304b\u3089\u3001\u30d7\u30ec\u30a4\u30e4\u30fc\u304c\u3042\u306e\u30a4\u30af\u30e9\u3092\u96c6\u3081\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u50d5\u305f\u3061\u306f\u4f55\u304c\u4f55\u3067\u3082\u6b62\u3081\u3088\u3046\u3068\u3059\u308b\u30b7\u30e3\u30b1\u3002\u3082\u3057\u596a\u308f\u308c\u305f\u3089\u3001\u305d\u308c\u306f\u50d5\u305f\u3061\u306b\u3068\u3063\u3066\u306e\u5927\u6557\u5317\u30b7\u30e3\u30b1\u3002\u3067\u3082\u3001\u305d\u306e\u4ee3\u308f\u308a\u306b\u3001\u91d1\u30a4\u30af\u30e9\u3092\u5b88\u308a\u304d\u308c\u305f\u3068\u304d\u306f\u3001\u6700\u9ad8\u306e\u52dd\u5229\u611f\u3092\u5473\u308f\u3048\u308b\u3093\u3060\u30b7\u30e3\u30b1\u3002\u50d5\u306e\u5fd7\u671b\u52d5\u6a5f\u30b7\u30e3\u30b1\uff1f\u305d\u308c\u306f\u3082\u3061\u308d\u3093\u3001\u300c\u30d7\u30ec\u30a4\u30e4\u30fc\u306e\u307f\u3093\u306a\u306b\u3082\u3063\u3068\u56f0\u3063\u3066\u3082\u3089\u3044\u305f\u3044\u300d\u304b\u3089\u30b7\u30e3\u30b1\uff01\u50d5\u305f\u3061\u304c\u767b\u5834\u3059\u308b\u3053\u3068\u3067\u3001\u30d7\u30ec\u30a4\u30e4\u30fc\u306e\u307f\u306a\u3055\u3093\u304c\u624b\u306b\u6c57\u63e1\u308b\u3088\u3046\u306a\u30b9\u30ea\u30eb\u3092\u611f\u3058\u3066\u3082\u3089\u3048\u308b\u306a\u3089\u3001\u305d\u308c\u304c\u50d5\u305f\u3061\u306e\u5b58\u5728\u4fa1\u5024\u30b7\u30e3\u30b1\u3002\u30b5\u30fc\u30e2\u30f3\u30e9\u30f3\u306e\u30b9\u30c6\u30fc\u30b8\u3067\u3001\u50d5\u305f\u3061\u304c\u51fa\u73fe\u3059\u308b\u305f\u3073\u306b\u300c\u3042\u3042\u3001\u307e\u305f\u6765\u305f\u304b\u2026\uff01\u300d\u3063\u3066\u601d\u3063\u3066\u3082\u3089\u3048\u308b\u304f\u3089\u3044\u3001\u5f37\u70c8\u306a\u5370\u8c61\u3092\u6b8b\u3057\u305f\u3044\u30b7\u30e3\u30b1\u3002\u5c06\u6765\u7684\u306a\u76ee\u6a19\u3068\u3057\u3066\u306f\u3001\u50d5\u81ea\u8eab\u3082\u3063\u3068\u5f37\u529b\u306a\u30b7\u30e3\u30b1\u306b\u306a\u308a\u305f\u3044\u3068\u601d\u3063\u3066\u308b\u30b7\u30e3\u30b1\u3002\u3044\u305a\u308c\u306f\u3001\u3042\u306e\u300c\u30b0\u30ea\u30eb\u300d\u3068\u304b\u300c\u30bf\u30c4\u30de\u30ad\u300d\u307f\u305f\u3044\u306a\u3001\u30d7\u30ec\u30a4\u30e4\u30fc\u306b\u3068\u3063\u3066\u306e\u8105\u5a01\u3068\u306a\u308b\u30dc\u30b9\u30ad\u30e3\u30e9\u3092\u76ee\u6307\u3057\u3066\u3044\u304d\u305f\u3044\u30b7\u30e3\u30b1\u3002\u305d\u3057\u3066\u3001\u6700\u7d42\u7684\u306b\u306f\u3001\u30d7\u30ec\u30a4\u30e4\u30fc\u306b\u300c\u3069\u3046\u3084\u3063\u305f\u3089\u3053\u3093\u306a\u30b7\u30e3\u30b1\u306b\u52dd\u3066\u308b\u3093\u3060\u2026\uff1f\u300d\u3063\u3066\u601d\u308f\u305b\u305f\u3044\u30b7\u30e3\u30b1\u3002\u305d\u308c\u304c\u50d5\u306e\u6700\u7d42\u7684\u306a\u5922\u30b7\u30e3\u30b1\u3002\"\n        }\n      }\n    }\n  }\n]<\/pre>\n\n\n\n<p>\u305d\u308c\u3067\u306f2000\u4e07\u4ef6\u751f\u6210\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002\u79fb\u884c\u5143\u30b5\u30fc\u30d0\u306e\u30b9\u30da\u30c3\u30af\u3067\u3001\u3060\u3044\u305f\u30445\u5206\u524d\u5f8c\u304b\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$.\/mgodatagen -f personalKOJAGEdata.json\nconnecting to mongodb:\/\/127.0.0.1:27017\nMongoDB server version 6.0.18\n\nUsing seed: 1729756121\n\ncollection kojake: done             [====================================================================] 100%\n\n+------------+----------+-----------------+-----------------+\n| COLLECTION |  COUNT   | AVG OBJECT SIZE |     INDEXES     |\n+------------+----------+-----------------+-----------------+\n| kojake     | 20000000 |            5333 | _id_  215648 kB |\n+------------+----------+-----------------+-----------------+\n\nrun finished in 5m35.7s<\/pre>\n\n\n\n<p>\u672c\u5f53\u306b100GB\u3042\u308b\u306e\u304b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002mongosh\u3067\u63a5\u7d9a\u3057\u3066\u3001db.\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u540d.stats\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u4eca\u56de\u306fscale\u30aa\u30d7\u30b7\u30e7\u30f3\u3067GB\u5358\u4f4d\u3067\u51fa\u529b\u3055\u305b\u3066\u3044\u307e\u3059\u3002size\u306e\u5024\u3092\u898b\u3066\u307f\u308b\u3068\u300199...\u3068\u306a\u3063\u3066\u304a\u308a\u3001\u307b\u307c100GB\u3068\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002\u6210\u529f\u3067\u3059\uff01<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Enterprise salmon_employee> db.kojake.stats({scale:1073741824})\n\uff08\u9014\u4e2d\u7701\u7565\uff09 \n  },\n  sharded: false,\n  size: 99.35197057016194,\n  count: 20000000,\n  numOrphanDocs: 0,\n  storageSize: 13.91046142578125,\n  totalIndexSize: 0.20580291748046875,\n  totalSize: 14.116264343261719,\n  indexSizes: { _id_: 0.20580291748046875 },\n  avgObjSize: 5333,\n  ns: 'salmon_employee.kojake',\n  nindexes: 1,\n  scaleFactor: 1073741824\n}<\/pre>\n\n\n\n<p>\u5c11\u3057\u8107\u9053\u306b\u305d\u308c\u308b\u3068\u3001\u3053\u308c\u306f\u5b9f\u969b\u306b\u30b5\u30fc\u30d0\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u3092100GB\u6d88\u8cbb\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u305f\u3081\u306b\u6d88\u8cbb\u3055\u308c\u3066\u3044\u308b\u30b9\u30c8\u30ec\u30fc\u30b8\u30b5\u30a4\u30ba\u306f\u3001storageSize\u306e\u5024\u3067\u3042\u308b\u7d0413.91GB \u3068\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u30c7\u30fc\u30bf\u3082\u52a0\u7b97\u3055\u308c\u305f\u5408\u8a08\u3067\u3042\u308btotalSize\u306e\u7d0414.11GB \u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u306fMongoDB\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u30a8\u30f3\u30b8\u30f3\u3067\u3042\u308bWiredTiger\u304c\u30c7\u30fc\u30bf\u4fdd\u5b58\u6642\u306b\u5727\u7e2e\u3057\u3066\u3044\u308b\u305f\u3081\u3067\u3059\u3002\u8a73\u3057\u304f\u306f\u4ee5\u4e0b\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3082\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/www.mongodb.com\/ja-jp\/docs\/manual\/core\/wiredtiger\/#compression\" target=\"_blank\" rel=\"noreferrer noopener\">WiredTiger - \u5727\u7e2e<\/a><\/p>\n\n\n\n<p>100GB\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u751f\u6210\u3067\u304d\u307e\u3057\u305f\u3002\u6b21\u304b\u3089\u306f\u5b9f\u969b\u306bmongodump\/mongorestore\u3092\u4f7f\u3063\u305f\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u65b9\u6cd5\u3092\u6a21\u7d22\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">mongodump\u3092\u4f7f\u3063\u3066\u30c0\u30f3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u5f97\u3059\u308b<\/h2>\n\n\n\n<p>mongodump\u3092\u4f7f\u3063\u3066\u3001\u30c0\u30f3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u308a\u51fa\u3057\u3066\u307f\u307e\u3059\u3002\u4eca\u56de\u306f\u79fb\u884c\u5143\u30b5\u30fc\u30d0\uff08\u30ed\u30fc\u30ab\u30eb\uff09\u3067\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002100GB\u3042\u308a\u307e\u3059\u304c\u30013\u520612\u79d2\u3067\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$mongodump --db=salmon_employee --collection=kojake\n2024-10-28T16:08:18.273+0900    writing salmon_employee.kojake to dump\/salmon_employee\/kojake.bson\n2024-10-28T16:08:21.269+0900    [........................]  salmon_employee.kojake  348831\/20000000  (1.7%)\n2024-10-28T16:08:24.270+0900    [........................]  salmon_employee.kojake  672427\/20000000  (3.4%)\n2024-10-28T16:08:27.269+0900    [#.......................]  salmon_employee.kojake  996030\/20000000  (5.0%)\n\uff08\u9014\u4e2d\u7701\u7565\uff09\n2024-10-28T16:11:24.269+0900    [#######################.]  salmon_employee.kojake  19321581\/20000000  (96.6%)\n2024-10-28T16:11:27.270+0900    [#######################.]  salmon_employee.kojake  19648318\/20000000  (98.2%)\n2024-10-28T16:11:30.268+0900    [#######################.]  salmon_employee.kojake  19962491\/20000000  (99.8%)\n2024-10-28T16:11:30.608+0900    [########################]  salmon_employee.kojake  20000000\/20000000  (100.0%)\n2024-10-28T16:11:30.609+0900    done dumping salmon_employee.kojake (20000000 documents)<\/pre>\n\n\n\n<p>\u30c0\u30f3\u30d7\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306f\u5b9f\u969b\u306b\u306f\u3069\u306e\u3088\u3046\u306a\u5f62\u3092\u3057\u3066\u3044\u308b\u306e\u304b\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>mongodump\u3092\u5b9f\u884c\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0b\u306bdump\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u51fa\u6765\u307e\u3059\u3002\u305d\u306e\u4e0b\u306b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u4eca\u56de\u306fsalmon_employee\uff09\u304c\u3042\u308a\u3001\u305d\u306e\u4e0b\u306bbson\u30d5\u30a1\u30a4\u30eb\u3068json\u30d5\u30a1\u30a4\u30eb\u304c\u51fa\u6765\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u304c\u30c0\u30f3\u30d7\u30d5\u30a1\u30a4\u30eb\u306e\u5b9f\u614b\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$ls -lh dump\/salmon_employee\/\ntotal 100G\n-rw-r--r-- 1 nika nika 100G Oct 28 16:11 kojake.bson\n-rw-r--r-- 1 nika nika  173 Oct 28 16:08 kojake.metadata.json<\/pre>\n\n\n\n<p>bson\u30d5\u30a1\u30a4\u30eb\u306f100G\u3042\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002\u3064\u307e\u308aWiredTiger\u304c\u5727\u7e2e\u3059\u308b\u524d\u306e\u5f62\u3067\u30c0\u30f3\u30d7\u3055\u308c\u308b\u308f\u3051\u3067\u3059\u3002\u305d\u306e\u305f\u3081\u3001mongodump\u5b9f\u884c\u6642\u306b\u30b5\u30fc\u30d0\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u5bb9\u91cf\u304c\u8db3\u308a\u306a\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u3001\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002\u30c0\u30f3\u30d7\u3059\u308b\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u30b5\u30a4\u30ba\u306f<a href=\"https:\/\/www.mongodb.com\/ja-jp\/docs\/manual\/reference\/method\/db.collection.stats\/\" target=\"_blank\" rel=\"noreferrer noopener\">db.collection.stats()<\/a>\u306a\u3069\u3067\u4e8b\u524d\u306b\u8abf\u3079\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5727\u7e2e\u30aa\u30d7\u30b7\u30e7\u30f3\uff08--gzip\uff09\u3092\u4f7f\u3046<\/h3>\n\n\n\n<p>mongodump\u306b\u306f<a href=\"https:\/\/www.mongodb.com\/ja-jp\/docs\/database-tools\/mongodump\/mongodump-examples\/#compress-the-output\" target=\"_blank\" rel=\"noreferrer noopener\">\u5727\u7e2e\u30aa\u30d7\u30b7\u30e7\u30f3(--gzip)<\/a>\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b5\u30fc\u30d0\u306e\u7a7a\u304d\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u4e0d\u5b89\u304c\u3042\u308b\u65b9\u306f\u3053\u3061\u3089\u3092\u4f7f\u3063\u305f\u307b\u3046\u304c\u3044\u3044\u3067\u3057\u3087\u3046\u3002\u4eca\u56de\u306f\u540c\u3058\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u5bfe\u3057\u3066--gzip\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u3068\u3069\u3046\u306a\u308b\u304b\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$mongodump --gzip --db=salmon_employee --collection=kojake\n2024-10-28T16:18:55.040+0900    writing salmon_employee.kojake to dump\/salmon_employee\/kojake.bson.gz\n2024-10-28T16:18:58.035+0900    [........................]  salmon_employee.kojake  124998\/20000000  (0.6%)\n2024-10-28T16:19:01.035+0900    [........................]  salmon_employee.kojake  250547\/20000000  (1.3%)\n2024-10-28T16:19:04.035+0900    [........................]  salmon_employee.kojake  369048\/20000000  (1.8%)\n\uff08\u9014\u4e2d\u7701\u7565\uff09\n2024-10-28T16:26:55.041+0900    [#######################.]  salmon_employee.kojake  19795978\/20000000  (99.0%)\n2024-10-28T16:26:58.035+0900    [#######################.]  salmon_employee.kojake  19920475\/20000000  (99.6%)\n2024-10-28T16:26:59.929+0900    [########################]  salmon_employee.kojake  20000000\/20000000  (100.0%)\n2024-10-28T16:26:59.929+0900    done dumping salmon_employee.kojake (20000000 documents)<\/pre>\n\n\n\n<p>\u975e\u5727\u7e2e\u306e\u6642\u306f3\u520612\u79d2\u3060\u3063\u305f\u306e\u306b\u5bfe\u3057\u3066\u3001\u4eca\u56de\u306f8\u52064\u79d2\u304b\u304b\u3063\u3066\u3044\u307e\u3059\u3002\u5727\u7e2e\u3057\u3066\u3044\u308b\u5206\u51e6\u7406\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u3088\u3046\u3067\u3059\u3002\u30b5\u30a4\u30ba\u306f\u3069\u306e\u3050\u3089\u3044\u5727\u7e2e\u3055\u308c\u305f\u306e\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$ls -lh dump\/salmon_employee\/\ntotal 2.1G\n-rw-r--r-- 1 nika nika 2.1G Oct 28 16:26 kojake.bson.gz\n-rw-r--r-- 1 nika nika  153 Oct 28 16:18 kojake.metadata.json.gz<\/pre>\n\n\n\n<p>100GB\u304c2.1GB\u307e\u3067\u5c0f\u3055\u304f\u306a\u308a\u307e\u3057\u305f\u3002\u304b\u306a\u308a\u5c0f\u3055\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u306d\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">mongorestore\u3092\u4f7f\u3063\u3066\u30ea\u30b9\u30c8\u30a2\u3059\u308b<\/h2>\n\n\n\n<p>\u79fb\u884c\u5148\u30b5\u30fc\u30d0\u306b\u30ea\u30b9\u30c8\u30a2\u3059\u308b\u306b\u306f\u3001mongorestore\u5b9f\u884c\u6642\u306b--uri\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b\u304b\u3001SCP\u306a\u3069\u3067\u79fb\u884c\u5148\u30b5\u30fc\u30d0\u306b\u30c0\u30f3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u8ee2\u9001\u3057\u3001mongorestore\u3092\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u3053\u306f\u3001\u79fb\u884c\u5143\u3068\u79fb\u884c\u5148\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u8ddd\u96e2\u306b\u5fdc\u3058\u3066\u5bfe\u5fdc\u304c\u5909\u308f\u308a\u305d\u3046\u3067\u3059\u3002\u79fb\u884c\u5143\u3068\u79fb\u884c\u5148\u306e\u30b5\u30fc\u30d0\u304c\u540c\u3058\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30bb\u30b0\u30e1\u30f3\u30c8\u5185\u306b\u3042\u308a\u3001\u5e2f\u57df\u306b\u5fc3\u914d\u304c\u306a\u3044\u5834\u5408\u306f--uri\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u3063\u3066\u79fb\u884c\u5143\u30b5\u30fc\u30d0\u304b\u3089\u79fb\u884c\u5148\u30b5\u30fc\u30d0\u306b\u76f4\u63a5\u30ea\u30b9\u30c8\u30a2\u3059\u308c\u3070\u826f\u3044\u3067\u3057\u3087\u3046\u3057\u30012\u30b5\u30fc\u30d0\u9593\u306b\u7269\u7406\u7684\u306b\u8ddd\u96e2\u304c\u3042\u308b\u306a\u3089\u3001dump\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092tar\u3067\u56fa\u3081\u3066USB\u30e1\u30e2\u30ea\u7b49\u3067\u904b\u642c\u3059\u308b\u307b\u3046\u304c\u826f\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f<a href=\"https:\/\/www.mongodb.com\/ja-jp\/docs\/database-tools\/mongorestore\/#std-option-mongorestore.--uri\" target=\"_blank\" rel=\"noreferrer noopener\">--uri\u30aa\u30d7\u30b7\u30e7\u30f3<\/a>\u3092\u4f7f\u7528\u3059\u308b\u30d1\u30bf\u30fc\u30f3\u3092\u3084\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">--uri\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3059\u308b<\/h3>\n\n\n\n<p>\u79fb\u884c\u5143\u30b5\u30fc\u30d0\u304b\u3089mongorestore\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3053\u306e\u6642\u6ce8\u610f\u3059\u3079\u304d\u3053\u3068\u306f\u3001\u4ee5\u4e0b\u306e2\u3064\u3067\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u79fb\u884c\u5143\u30b5\u30fc\u30d0\u304b\u3089\u79fb\u884c\u5148\u30b5\u30fc\u30d0\u3078\u306emongod\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u306f27017\u756a\u30dd\u30fc\u30c8\uff09\u3078\u306e\u30a2\u30af\u30bb\u30b9\u304c\u53ef\u80fd\u3067\u3042\u308b\u3053\u3068<\/li>\n\n\n\n<li>mongorestore\u3067\u4f7f\u7528\u3059\u308b\u30e6\u30fc\u30b6\u306b\u9069\u5207\u306a\u6a29\u9650\u304c\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308b\u3053\u3068<\/li>\n<\/ol>\n\n\n\n<p>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8d8a\u3057\u306e\u30ea\u30b9\u30c8\u30a2\u3068\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u79fb\u884c\u5148\u30b5\u30fc\u30d0\u306eMongoDB\u3067\u306f\u63a5\u7d9a\u3067\u304d\u308b\u30db\u30b9\u30c8\u3092\u5236\u9650\u3057\u3001\u8a8d\u8a3c\u5fc5\u9808\u306b\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002\u3053\u3061\u3089\u306f\u4e00\u822c\u7684\u306a\u30b5\u30fc\u30d0\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306b\u901a\u3058\u308b\u8a71\u3067\u3059\u3002\u8a73\u3057\u304f\u306f\u3001<a href=\"https:\/\/www.mongodb.com\/ja-jp\/docs\/manual\/administration\/production-notes\/#production-notes-for-self-managed-deployments\" target=\"_blank\" rel=\"noreferrer noopener\">\u81ea\u5df1\u7ba1\u7406\u578b\u914d\u7f6e\u306e\u30d7\u30ed\u30c0\u30af\u30b7\u30e7\u30f3\u30ce\u30fc\u30c8<\/a>\u306e<a href=\"https:\/\/www.mongodb.com\/ja-jp\/docs\/manual\/administration\/production-notes\/#networking\" target=\"_blank\" rel=\"noreferrer noopener\">\u30cd\u30c3\u30c8\u30ef\u30fc\u30ad\u30f3\u30b0<\/a>\u306e\u7ae0\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u3069\u306e\u3050\u3089\u3044\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ec\u30d9\u30eb\u304c\u5fc5\u8981\u304b\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u8981\u4ef6\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4eca\u56de\u306e\u74b0\u5883\u3067\u306f\u3001\u79fb\u884c\u5143\u3068\u79fb\u884c\u5148\u306e\u30b5\u30fc\u30d0\u306f\u3069\u3061\u3089\u3082\u540c\u30bb\u30b0\u30e1\u30f3\u30c8\u5185\u306b\u3044\u308b\u3082\u306e\u3068\u3057\u3001\u79fb\u884c\u5148\u30b5\u30fc\u30d0\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">nika@himmel-mongodb:~$ cat \/etc\/mongod.conf\n# mongod.conf\n\n# for documentation of all options, see:\n#   http:\/\/docs.mongodb.org\/manual\/reference\/configuration-options\/\n\n# Where and how to store data.\nstorage:\n  dbPath: \/var\/lib\/mongodb\n#  engine:\n#  wiredTiger:\n\n# where to write logging data.\nsystemLog:\n  destination: file\n  logAppend: true\n  path: \/var\/log\/mongodb\/mongod.log\n\n# network interfaces\nnet:\n  port: 27017\n  bindIp: 127.0.0.1,192.168.50.30\n\n\n# how the process runs\nprocessManagement:\n  timeZoneInfo: \/usr\/share\/zoneinfo\n\nsecurity:\n  authorization: enabled\n#operationProfiling:\n\n#replication:\n\n#sharding:\n\n## Enterprise-Only Options:\n\n#auditLog:<\/pre>\n\n\n\n<p>mongorestore\u3067\u306f\u4ee5\u4e0b\u306e\u30e6\u30fc\u30b6\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002db: 'admin'\u306b\u5bfe\u3057\u3066restore\u306e\u30ed\u30fc\u30eb\u3092\u4ed8\u4e0e\u3059\u308b\u3068\u3001\u79fb\u884c\u5148\u30b5\u30fc\u30d0\u306emongoDB\u5185\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u5bfe\u3057\u3066\u30ea\u30b9\u30c8\u30a2\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Enterprise admin> db.getUser(\"suletta\")\n{\n  _id: 'admin.suletta',\n  userId: UUID('2756664d-4269-429f-b24c-42403a187b1b'),\n  user: 'suletta',\n  db: 'admin',\n  roles: [ { role: 'restore', db: 'admin' } ],\n  mechanisms: [ 'SCRAM-SHA-1', 'SCRAM-SHA-256' ]\n}<\/pre>\n\n\n\n<p>\u3053\u306e\u30e6\u30fc\u30b6\u304c\u30ea\u30b9\u30c8\u30a2\u3067\u304d\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u7d5e\u308a\u305f\u3044\u5834\u5408\u306f\u3001db\u3092admin\u304b\u3089\u6307\u5b9a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\uff08\u4eca\u56de\u306e\u5834\u5408\u306fsalmon_employee\uff09\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u308c\u3067\u306f\u3001\u5b9f\u969b\u306b\u30ea\u30b9\u30c8\u30a2\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u79fb\u884c\u5143\u30b5\u30fc\u30d0\u3067\u3042\u308bfreelen-mongodb\u304b\u3089\u5b9f\u884c\u3057\u307e\u3059\u3002\u307e\u305a\u306f\u5727\u7e2e\u306a\u3057\u30d0\u30fc\u30b8\u30e7\u30f3\u304b\u3089\u3002<\/p>\n\n\n\n<p>\u203bmongorestore\u30b3\u30de\u30f3\u30c9\u5185\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u672c\u6765\u306f\u5e73\u6587\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u4eca\u56de\u610f\u56f3\u7684\u306b*******\u3067\u79d8\u533f\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">nika@freelen-mongodb ~ $mongorestore --uri=\"mongodb:\/\/suletta:******@192.168.50.30:27017\/?authSource=admin\" dump\/\n2024-10-31T14:49:37.083+0900    WARNING: On some systems, a password provided directly in a connection string or using --uri may be visible to system status programs such as `ps` that may be invoked by other users. Consider omitting the password to provide it via stdin, or using the --config option to specify a configuration file with the password.\n2024-10-31T14:49:37.094+0900    preparing collections to restore from\n2024-10-31T14:49:37.094+0900    reading metadata for salmon_employee.kojake from dump\/salmon_employee\/kojake.metadata.json\n2024-10-31T14:49:37.101+0900    restoring salmon_employee.kojake from dump\/salmon_employee\/kojake.bson\n2024-10-31T14:49:40.094+0900    [........................]  salmon_employee.kojake  744MB\/99.3GB  (0.7%)\n2024-10-31T14:49:43.094+0900    [........................]  salmon_employee.kojake  1.44GB\/99.3GB  (1.5%)\n2024-10-31T14:49:46.094+0900    [........................]  salmon_employee.kojake  2.18GB\/99.3GB  (2.2%)\n\uff08\u9014\u4e2d\u7701\u7565\uff09\n2024-10-31T14:56:19.095+0900    [#######################.]  salmon_employee.kojake  98.5GB\/99.3GB  (99.2%)\n2024-10-31T14:56:22.095+0900    [#######################.]  salmon_employee.kojake  99.3GB\/99.3GB  (99.9%)\n2024-10-31T14:56:22.388+0900    [########################]  salmon_employee.kojake  99.3GB\/99.3GB  (100.0%)\n2024-10-31T14:56:22.388+0900    finished restoring salmon_employee.kojake (20000000 documents, 0 failures)\n2024-10-31T14:56:22.388+0900    no indexes to restore for collection salmon_employee.kojake\n2024-10-31T14:56:22.389+0900    20000000 document(s) restored successfully. 0 document(s) failed to restore.<\/pre>\n\n\n\n<p>6\u520645\u79d2\u304b\u304b\u308a\u307e\u3057\u305f\u3002\u5727\u7e2e\u3042\u308a\uff08--gzip\uff09\u3060\u3068mongodump\u3057\u305f\u3068\u304d\u3068\u540c\u69d8\u306b\u30ea\u30b9\u30c8\u30a2\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f\u3084\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">nika@freelen-mongodb ~ $mongorestore --gzip --uri=\"mongodb:\/\/suletta:*******@192.168.50.30:27017\/?authSource=admin\" dump\/\n2024-10-31T14:37:21.051+0900    preparing collections to restore from\n2024-10-31T14:37:21.051+0900    reading metadata for salmon_employee.kojake from dump\/salmon_employee\/kojake.metadata.json.gz\n2024-10-31T14:37:21.055+0900    restoring salmon_employee.kojake from dump\/salmon_employee\/kojake.bson.gz\n2024-10-31T14:37:24.051+0900    [........................]  salmon_employee.kojake  16.8MB\/2.02GB  (0.8%)\n2024-10-31T14:37:27.051+0900    [........................]  salmon_employee.kojake  33.4MB\/2.02GB  (1.6%)\n2024-10-31T14:37:30.051+0900    [........................]  salmon_employee.kojake  49.8MB\/2.02GB  (2.4%)\n2024-10-31T14:37:33.052+0900    [........................]  salmon_employee.kojake  66.2MB\/2.02GB  (3.2%)\n\uff08\u9014\u4e2d\u7701\u7565\uff09\n2024-10-31T14:43:33.051+0900    [#######################.]  salmon_employee.kojake  2.00GB\/2.02GB  (98.6%)\n2024-10-31T14:43:36.052+0900    [#######################.]  salmon_employee.kojake  2.01GB\/2.02GB  (99.4%)\n2024-10-31T14:43:38.260+0900    [########################]  salmon_employee.kojake  2.02GB\/2.02GB  (100.0%)\n2024-10-31T14:43:38.260+0900    finished restoring salmon_employee.kojake (20000000 documents, 0 failures)\n2024-10-31T14:43:38.260+0900    no indexes to restore for collection salmon_employee.kojake\n2024-10-31T14:43:38.260+0900    20000000 document(s) restored successfully. 0 document(s) failed to restore.<\/pre>\n\n\n\n<p>6\u520617\u79d2\u304b\u304b\u308a\u307e\u3057\u305f\u3002mongodump\u306e\u6642\u3068\u9055\u3044\u3001mongorestore\u306e\u6642\u306f\u5727\u7e2e\u306e\u6709\u7121\u3067\u6642\u9593\u306e\u5dee\u306f\u3042\u307e\u308a\u7121\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081\uff1amongodump\/mongorestore\u306f\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306b\u4f7f\u3048\u308b\u306e\u304b\uff1f<\/h2>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u70b9\u306b\u6ce8\u610f\u3059\u308c\u3070\u3001MongoDB\u540c\u58eb\u306e\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u30c4\u30fc\u30eb\u3068\u3057\u3066\u3082\u4f7f\u3048\u305d\u3046\u3068\u3044\u3046\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>mongodump\uff0b\uff08\u30c7\u30fc\u30bf\u306e\u79fb\u52d5\uff09+mongorestore\u306b\u304b\u304b\u308b\u6642\u9593\u3092\u30b7\u30b9\u30c6\u30e0\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6642\u9593\u3068\u3057\u3066\u8a31\u5bb9\u3067\u304d\u308b<\/li>\n\n\n\n<li>\u79fb\u884c\u5143\u30b5\u30fc\u30d0\u306b\u30c0\u30f3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u6642\u7684\u306b\u914d\u7f6e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\uff08\u5727\u7e2e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3059\u308c\u3070\u304b\u306a\u308a\u5c0f\u3055\u304f\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\uff09<\/li>\n<\/ul>\n\n\n\n<p>\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3093\u3060\u65b9\u306e\u53c2\u8003\u306b\u306a\u308c\u3070\u5e78\u3044\u3067\u3059\u3002\u6b21\u56de\u306f\u3001mongosync\u3067\u306e\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u691c\u8a3c\u3068\u4f7f\u3044\u5206\u3051\u306b\u3064\u3044\u3066\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u8ffd\u8a18<\/h3>\n\n\n\n<p>2024\/11\/27 \u7d9a\u7de8\u51fa\u6765\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/www.creationline.com\/tech-blog\/author\/k-yamamori\/75841\">MongoDB\u540c\u58eb\u306e\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u63a2\u308b ~mongosync\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u7de8\uff5e<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b IT\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u3068\u3063\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u79fb\u884c\u306f\u907f\u3051\u3089\u308c\u306a\u3044\u4f5c\u696d\u306e\u4e00\u3064\u3067\u3059\u3002 \u5229\u7528\u8005\u306b\u30b5\u30fc\u30d3\u30b9\u5f71\u97ff\u3092\u6975\u529b\u611f\u3058\u3055\u305b\u305a\u306b\u79fb\u884c\u3092\u7d42\u3048\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u304c\u3001\u30b7\u30b9\u30c6\u30e0\u69cb\u6210\u306b\u3088\u3063\u3066\u306f\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3078\u306e\u5f71\u97ff\u3084\u30b5\u30fc\u30d3\u30b9\u505c\u6b62\uff08\u30e1\u30f3\u30c6\u30ca\u30f3 [&#8230;]<\/p>\n","protected":false},"author":66,"featured_media":75671,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[808,79,815],"tags":[105],"class_list":["post-72640","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-k-yamamori","category-mongodb","category-data-management","tag-mongodb"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>MongoDB\u540c\u58eb\u306e\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u63a2\u308b ~mongodump\/mongorestore\u7de8\uff5e #mongodb #datamigration - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"k-yamamori, MongoDB, \u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8 |\u306f\u3058\u3081\u306b IT\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u3068\u3063\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u79fb\u884c\u306f\u907f\u3051\u3089\u308c\u306a\u3044\u4f5c\u696d\u306e\u4e00\u3064\u3067\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.creationline.com\/tech-blog\/data-management\/72640\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MongoDB\u540c\u58eb\u306e\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u63a2\u308b ~mongodump\/mongorestore\u7de8\uff5e #mongodb #datamigration - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"k-yamamori, MongoDB, \u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8 |\u306f\u3058\u3081\u306b IT\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u3068\u3063\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u79fb\u884c\u306f\u907f\u3051\u3089\u308c\u306a\u3044\u4f5c\u696d\u306e\u4e00\u3064\u3067\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/data-management\/72640\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T06:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-18T05:30:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/10\/technology-8743123_1280.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"853\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"k-yamamori\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"k-yamamori\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/72640#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/72640\"},\"author\":{\"name\":\"k-yamamori\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/45365650dafa6b8aea08257d8f2eb9e4\"},\"headline\":\"MongoDB\u540c\u58eb\u306e\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u63a2\u308b ~mongodump\\\/mongorestore\u7de8\uff5e #mongodb #datamigration\",\"datePublished\":\"2024-11-01T06:00:00+00:00\",\"dateModified\":\"2024-12-18T05:30:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/72640\"},\"wordCount\":241,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/72640#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/technology-8743123_1280.jpg\",\"keywords\":[\"mongodb\"],\"articleSection\":[\"k-yamamori\",\"MongoDB\",\"\u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/72640\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/72640\",\"name\":\"MongoDB\u540c\u58eb\u306e\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u63a2\u308b ~mongodump\\\/mongorestore\u7de8\uff5e #mongodb #datamigration - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/72640#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/72640#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/technology-8743123_1280.jpg\",\"datePublished\":\"2024-11-01T06:00:00+00:00\",\"dateModified\":\"2024-12-18T05:30:57+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/45365650dafa6b8aea08257d8f2eb9e4\"},\"description\":\"k-yamamori, MongoDB, \u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8 |\u306f\u3058\u3081\u306b IT\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u3068\u3063\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u79fb\u884c\u306f\u907f\u3051\u3089\u308c\u306a\u3044\u4f5c\u696d\u306e\u4e00\u3064\u3067\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/72640#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/72640\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/72640#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/technology-8743123_1280.jpg\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/technology-8743123_1280.jpg\",\"width\":1280,\"height\":853},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\\\/72640#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/data-management\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"MongoDB\u540c\u58eb\u306e\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u63a2\u308b ~mongodump\\\/mongorestore\u7de8\uff5e #mongodb #datamigration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/45365650dafa6b8aea08257d8f2eb9e4\",\"name\":\"k-yamamori\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/Kayou-Yamamori_Profile-150x150.jpg\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/Kayou-Yamamori_Profile-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/Kayou-Yamamori_Profile-150x150.jpg\",\"caption\":\"k-yamamori\"},\"description\":\"MongoDB\u65e5\u672c\u8a9e\u30b5\u30dd\u30fc\u30c8\u62c5\u5f53\u3002IT\u30a4\u30f3\u30d5\u30e9\u3084\u904b\u7528\u30fb\u76e3\u8996\u30fb\u4fdd\u5b88\u304c\u597d\u304d\u3067\u3059\u3002 \u7121\u99c4\u306e\u306a\u3044\u69cb\u6210\u3084\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3092\u898b\u3066\u3046\u3063\u3068\u308a\u3057\u3066\u3044\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/k-yamamori\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MongoDB\u540c\u58eb\u306e\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u63a2\u308b ~mongodump\/mongorestore\u7de8\uff5e #mongodb #datamigration - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"k-yamamori, MongoDB, \u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8 |\u306f\u3058\u3081\u306b IT\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u3068\u3063\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u79fb\u884c\u306f\u907f\u3051\u3089\u308c\u306a\u3044\u4f5c\u696d\u306e\u4e00\u3064\u3067\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.creationline.com\/tech-blog\/data-management\/72640","og_locale":"ja_JP","og_type":"article","og_title":"MongoDB\u540c\u58eb\u306e\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u63a2\u308b ~mongodump\/mongorestore\u7de8\uff5e #mongodb #datamigration - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"k-yamamori, MongoDB, \u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8 |\u306f\u3058\u3081\u306b IT\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u3068\u3063\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u79fb\u884c\u306f\u907f\u3051\u3089\u308c\u306a\u3044\u4f5c\u696d\u306e\u4e00\u3064\u3067\u3059\u3002","og_url":"https:\/\/www.creationline.com\/tech-blog\/data-management\/72640","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2024-11-01T06:00:00+00:00","article_modified_time":"2024-12-18T05:30:57+00:00","og_image":[{"width":1280,"height":853,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/10\/technology-8743123_1280.jpg","type":"image\/jpeg"}],"author":"k-yamamori","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"k-yamamori","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/72640#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/72640"},"author":{"name":"k-yamamori","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/45365650dafa6b8aea08257d8f2eb9e4"},"headline":"MongoDB\u540c\u58eb\u306e\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u63a2\u308b ~mongodump\/mongorestore\u7de8\uff5e #mongodb #datamigration","datePublished":"2024-11-01T06:00:00+00:00","dateModified":"2024-12-18T05:30:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/72640"},"wordCount":241,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/72640#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/10\/technology-8743123_1280.jpg","keywords":["mongodb"],"articleSection":["k-yamamori","MongoDB","\u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/72640","url":"https:\/\/www.creationline.com\/tech-blog\/data-management\/72640","name":"MongoDB\u540c\u58eb\u306e\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u63a2\u308b ~mongodump\/mongorestore\u7de8\uff5e #mongodb #datamigration - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/72640#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/72640#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/10\/technology-8743123_1280.jpg","datePublished":"2024-11-01T06:00:00+00:00","dateModified":"2024-12-18T05:30:57+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/45365650dafa6b8aea08257d8f2eb9e4"},"description":"k-yamamori, MongoDB, \u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8 |\u306f\u3058\u3081\u306b IT\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u3068\u3063\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u79fb\u884c\u306f\u907f\u3051\u3089\u308c\u306a\u3044\u4f5c\u696d\u306e\u4e00\u3064\u3067\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/72640#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/data-management\/72640"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/72640#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/10\/technology-8743123_1280.jpg","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2024\/10\/technology-8743123_1280.jpg","width":1280,"height":853},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/72640#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"\u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8","item":"https:\/\/www.creationline.com\/tech-blog\/data-management"},{"@type":"ListItem","position":3,"name":"MongoDB\u540c\u58eb\u306e\u30c7\u30fc\u30bf\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u63a2\u308b ~mongodump\/mongorestore\u7de8\uff5e #mongodb #datamigration"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/45365650dafa6b8aea08257d8f2eb9e4","name":"k-yamamori","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/06\/Kayou-Yamamori_Profile-150x150.jpg","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/06\/Kayou-Yamamori_Profile-150x150.jpg","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/06\/Kayou-Yamamori_Profile-150x150.jpg","caption":"k-yamamori"},"description":"MongoDB\u65e5\u672c\u8a9e\u30b5\u30dd\u30fc\u30c8\u62c5\u5f53\u3002IT\u30a4\u30f3\u30d5\u30e9\u3084\u904b\u7528\u30fb\u76e3\u8996\u30fb\u4fdd\u5b88\u304c\u597d\u304d\u3067\u3059\u3002 \u7121\u99c4\u306e\u306a\u3044\u69cb\u6210\u3084\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3092\u898b\u3066\u3046\u3063\u3068\u308a\u3057\u3066\u3044\u307e\u3059\u3002","url":"https:\/\/www.creationline.com\/tech-blog\/author\/k-yamamori"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/72640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/66"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=72640"}],"version-history":[{"count":39,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/72640\/revisions"}],"predecessor-version":[{"id":76454,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/72640\/revisions\/76454"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/75671"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=72640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=72640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=72640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}