<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>swfz</author_name>
  <author_url>https://blog.hatena.ne.jp/swfz/</author_url>
  <blog_title>notebook</blog_title>
  <blog_url>https://swfz.hatenablog.com/</blog_url>
  <categories>
    <anon>MongoDB</anon>
  </categories>
  <description>mongoDB起動時 下記をつけて起動させればOK /urr/bin/mongod --profile=2 --slowms=1 --profile プロファイルのレベル 1: 閾値以上の時間のかかったクエリを残す 2: 全てのクエリを残す --slowms 閾値(ms) コンソールから $ mongo db.setProfilingLevel(2,1) { &quot;was&quot; : 0, &quot;slowms&quot; : 20, &quot;ok&quot; : 1 } &gt; db.system.profile.find() ..... ..... 第一引数がプロファイルのレベル 第二引数が閾値 どちらで行っても出力先はmongoDB…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fswfz.hatenablog.com%2Fentry%2F2016%2F09%2F15%2F041918&quot; title=&quot;mongoDBでクエリログを流す - notebook&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-09-15 04:19:18</published>
  <title>mongoDBでクエリログを流す</title>
  <type>rich</type>
  <url>https://swfz.hatenablog.com/entry/2016/09/15/041918</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
