2. name: Yuji Isobe attributes: [ engineer consultant security specialist startup member of ]
ã¬ããªã«ã»ããéã¬ããªã±ã¼ã·ã§ã³ MongoDBã§ã¯ã¬ããªã«ã»ãããè·¨ãã§ãã¼ã¿ãåæããæ段ãç¡ãã ããããã¬ããªã«ã»ããèªä½ãåé·æ§æãç®çã¨ãã¦ããã®ã§è¨è¨ã«çµã¿è¾¼ã¾ãã¦ããªãã®ã ããã ãããç¾å®ã¯ Stagingç°å¢ããPVç³»ï¼éè¨ç³»ã®åé¢ãªã©ãç¨éã¯ããã ä»ã¯ãã¬ããªã«ã»ããã®slaveãï¼å°åãé¢ãã¦ããã§ä½ããããããªãã ãã¬ãã·ã¥ãã¼ã¿ãããªããéç¨ãé¢åã monmo-repl https://github.com/monmo/monmo-repl ãªããã°ä½ãã°è¯ãã®ã§ä½ã£ãã oplogãã¼ã¹ã®åæãè¡ãã-s ã§æå®ããã¬ããªã«ã»ããã®PRIMARYã®oplogãèªã¿ã-d ã§æå®ããã¬ããªã«ã»ããã«åæ ãã¦ããã PRIMARYãã¦ã³æã®æåãªã©ãã¾ã æªãã¹ãã®é¨åã¯å¤ãã ãã¨ããããåãã ç¨åº¦ã®å®æ度ã ä¾ ReplicaSet1 =sync=> R
2. ã¢ã¸ã§ã³ã nï® Amebaã®ãµã¼ãã¹ nï® ãµã¼ãã¹ç°å¢ã®å¤é· nï® ãµã¼ãã¹ãæ¯ããMongoDB nï® å°ã£ããã¨ãªã© nï® éç¨ã«ã¤ã㦠nï® ã¾ã¨ã 13å¹´12æ12æ¥æ¨ææ¥ 3. èªå·±ç´¹ä» nï® æ¡éç« å¼ lï¬ ãµã¤ãã¼ã¨ã¼ã¸ã§ã³ã lï¬ Ameba ãéå¶ãã¦ãã¾ãã lï¬ ãã°ã½ã¼ã·ã£ã«ã²ã¼ã ã®éç¨ï¼æ§ç¯ãæ å½ lï¬ Twitter lï¬ @kuwa_tw lï¬ Blog lï¬ http://d.hatena.ne.jp/akuwano/ 13å¹´12æ12æ¥æ¨ææ¥
19. MongoDBã®Index ååå ãã¼ã«ãã³ ã¿ã° å¤æ®µ æ¥ç¨å, çè¨ç¨å · 198 å ä¸ æ¥ç¨å, åç©, ãããã³ 2980 ããã é£æå, æç© 348 ã»ãããè é£æå, éè 98 çä¹³ é£æå, 148 é£æåã§200以ä¸ã®ååãåå¾ 20. MongoDBã®Index ååå ã¿ã° å¤æ®µ ãã¼ã«ãã³ æ¥ç¨å, çè¨ç¨å · 198 å ä¸ æ¥ç¨å, åç©, ãããã³ 2980 ããã é£æå, æç© 348 ã»ãããè é£æå, éè 98 çä¹³ é£æå, 148 ååã»ãã¼ãã« CREATE TABLE åå ( id INT PRIMARY, ååå VARCHAR(100) ); ã¿ã°ã»ãã¼ãã« CREATE TABLE ã¿ã° ( ååid INT, ã¿ã°å VARCHAR(100), å¤æ®µ INT, KEY(ã¿ã°å,å¤æ®µ) ); é£æåã§200以ä¸ã®åå åå
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}