æ¦è¦ MongoDBã®ã¤ã³ããã¯ã¹ãã¤ããä¸ã§ è¤åã¤ã³ããã¯ã¹ã®æã¯ã¤ã³ããã¯ã¹ã®é çªã«æ°ãã¤ãã {a: 1, b: 1}ã®å対{a: -1, b: -1}ã¯ä½¿ãããã©{a: 1, b: -1}ã¯ä½¿ããªã ãªã©ããããæ°ãã¤ããç¹ãå¤ããä¸åº¦ãã£ããå¦ãã§ã¿ã¾ããã®ã§ãã®ã¡ã¢ã åºæ¬çã«ã¯ã¨ãªãexplain()ãã¦ã©ããªã£ããå®é¨ããçµæãã¾ã¨ãã¦ã¾ãã ç°å¢ Ubuntu 14.04 MongoDB 2.6.8 ã¤ã³ããã¯ã¹ã§ã®ãã¤ã³ã explain()ããæã®çµæãè¦ãä¸ã§ãã¤ã³ãã¨ãªãç¹ã以ä¸ã«ã¾ã¨ãã¾ãã explain()ããæã®ãµã³ãã« > db.restaurants.find({pref_id: 1}).explain() { "cursor" : "BtreeCursor pref_id_1", "isMultiKey" : false, "n" : 9165,
The more I use and learn about Docker and the more I feel like I canât live without it.This blog is about Docker amazing feature Volume Containers.I  wanted to write the Spring Boot app and deploy it to the Docker Container with MongoDB as my document store. I read through the Docker documentation and figured out it was very  easy to mount the volume and start MongoDB so the data could be persiste
> åæ(Why MongoDB is a bad choice for storing our scraped data) ç§èªèº«ã¯MongoDBãæ¨é²ããç«å ´ãªã®ã ãã確ãã«MongoDBã«é©ããªãã±ã¼ã¹ã¯ããã éé²ã«æ¨é²ãã¦ãçµå±ã¯å ¨å¡ãã¢ã³ãããã¼ã«ãªãã®ã§ããã®æ§ãªãã¿ãã©ãã©ãç´¹ä»ãã¦ãããã¨æãã ãã®è¨äºã¯MongoDBãå¾¹åºçã«ä½¿ãå°½ãããã¨ã³ã¸ãã¢ãæ¸ãã¦ããæ§ã§ç¶æ³ãè¯ã解ã£ãã ã¡ãã£ã¨é£ããæãããã®ã§è¦ç¹ãæ訳ãã¦ã軽ã解説ãæ¸ãã¦ã¿ãã ï¼ãã¡ããæ¯éåæã§èªãã®ããå§ãããï¼ ç¶æ³ æåã¯MongoDBã§ãã¾ãåãã¦ããããã ãã ãè¦å´ãå¢ãã¦ã㦠å ã ã®ã¢ã¼ããã¯ãã£ãå·æ°ããã¿ã¤ãã³ã°ã§MongoDBããå¥ã®ãããã¯ãã«ä¹ãæããäºã«ããã ã·ã¹ãã ã®è¦æ¨¡ 詳ããæ¸ããã¦ããªãããï¼ãã¼ã辺ãæ°TBã¨ããã®ã§Shardingç°å¢ã§ã¯ãªããã¨æãããã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}