ã¹ã¬ã¼ãã¨ã¬ããªã«ã®ã»ã«ã³ããªã¼ã¯ãããã¼ã¸ã§ã³(ææ°ãå«ã)ã§ã¯ãã¹ã¦ãã©ã¢ã°ã©ã¦ã³ãã§ã¤ã³ããã¯ã¹ã®ãã«ããè¡ãªãã¾ãããã®ããã background:true ããã©ã¤ããªã§å®è¡ããã¦ãã slave/secondary ã§ã¯ãã¤ã³ããã¯ã¹ããã«ãããã¦ããæä¸ã¯ã¯ã¨ãªãå®è¡ã§ãã¾ããã ããã©ã«ãã§ã¯ã ensureIndex() æä½ã¯ãããã¯ãè¡ãªããå®äºããã¾ã§åããã¼ã¿ãã¼ã¹ä¸ã§ã®æä½ãåæ¢ããã¾ãããããã ãã¼ã¸ã§ã³1.3.2以ä¸ã§ã¯ãããã¯ã°ã©ã¦ã³ãã§ã®ã¤ã³ããã¯ã¹ä½æã®ãªãã·ã§ã³ãããã¾ãã ããã¯ã°ã©ã¦ã³ãã§ã¤ã³ããã¯ã¹ããã«ãããã«ã¯ã background:true ãã¤ã³ããã¯ã¹ãªãã·ã§ã³ã«ä»ãã¦ãã ããã ä¾: > db.things.ensureIndex({x:1}, {background:true}); > db.things.ensureInd
{{#tags}}- {{label}}
{{/tags}}