ã¤ã³ããã¯ã¹ã¯éé²ã«è²¼ãã°ããã¨ããç©ã§ã¯ãªããæ¢åã®ã·ã¹ãã ã«ã¤ã³ããã¯ã¹ãä½æããã®ã§ããã°èª¿æ»ããè¡ãã®ãå®ç³ã¨ãããã¨ã§ãã¾ãã¯ããã«ããã¯ã®èª¿æ»æ¹æ³ããç´¹ä»ãã¾ãã æ²æ» ã¹ãã¼ã¯ã¨ãª ã¹ãã¼ã¯ã¨ãª # ã¾ãã¯MongoShellã«ãã°ã¤ã³ãã¾ã $ mongo # DBãé¸æãã¾ã use sample # db.setProfilingLevel(level, slowms) # level:1 ã¹ãã¼ã¯ã¨ãªã®ã¿åºå # level:2 ãã¹ã¦ # slowms 以ä¸ã®ä¾ã ã¨20ms以ä¸ããã£ã¦ããã¯ã¨ãªãåºåãã db.setProfilingLevel(1,20) # ããã¤ãã¯ã¨ãªãå®è¡ãããã¨ã«å®è¡ãã¦ã¿ã¾ã # forEach(printjson) ã¯è¦ãããæ´å½¢ããã¡ã½ãã db.system.profile.find().forEach(printjson) >
{{#tags}}- {{label}}
{{/tags}}