<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kamatama_41</author_name>
  <author_url>https://blog.hatena.ne.jp/kamatama_41/</author_url>
  <blog_title>かまたま日記3</blog_title>
  <blog_url>https://kamatama41.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>MongoDBの実行計画を見るときにRailsアプリとMongoMapper*1を使ってたらRailsコンソールで実行計画を見れたりします。ppを使わないと見づらいです。 ざっくりした見方 winningPlanが今回採用された実行計画、rejectedPlans が採用されなかった計画*2 executionStatsが実行ステータス、何件スキャンしたかとか実際ヒットしたのは何件かとか、実行時間とかが見れる 細かい見方とか勘所は以下を参照 mknkisk.github.io ?&gt; pp User.collection.find({email: &quot;kamatama41@example.com&quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkamatama41.hatenablog.com%2Fentry%2F2015%2F11%2F24%2F202854&quot; title=&quot;RailsコンソールでMongoDBのexplainをする via MongoMapper - かまたま日記3&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>2015-11-24 20:28:54</published>
  <title>RailsコンソールでMongoDBのexplainをする via MongoMapper</title>
  <type>rich</type>
  <url>https://kamatama41.hatenablog.com/entry/2015/11/24/202854</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
