{
  "id": "ab20af3bfec5",
  "url": "http://emptysqua.re/blog/optimizing-mongodb-compound-indexes/",
  "title": "Optimizing MongoDB Compound Indexes",
  "note": "How do you create the best index for a complex MongoDB query? I'll present a method specifically for queries that combine equality tests, sorts, and range filters, and demonstrate the best order for fields in a compound index. We'll look at the explain() output to see exactly how well it performs, and we'll see how the MongoDB query-optimizer selects an index.",
  "voice": "excerpt",
  "saved": "2012-10-08T20:08:13Z",
  "host": "emptysqua.re",
  "kind": "page",
  "tags": [],
  "record": "https://links.thingelstad.xyz/links/ab20af3bfec5/",
  "markdown": "https://links.thingelstad.xyz/links/ab20af3bfec5.md",
  "issues": [],
  "connections": {
    "same_host": {
      "count": 0,
      "page": "https://links.thingelstad.xyz/hosts/emptysqua.re/",
      "nearest": []
    },
    "same_week": {
      "count": 12,
      "nearest": [
        {
          "id": "2692f0e17969",
          "title": "The Blue Collar Coder",
          "url": "http://dashes.com/anil/2012/10/the-blue-collar-coder.html",
          "record": "https://links.thingelstad.xyz/links/2692f0e17969/"
        },
        {
          "id": "246836250e1d",
          "title": "Facebook tests Collections posts with Want and Collect buttons for retailers",
          "url": "http://www.insidefacebook.com/2012/10/08/facebook-tests-collections-with-want-and-collect-buttons-for-retailers-news-feed-posts/",
          "record": "https://links.thingelstad.xyz/links/246836250e1d/"
        },
        {
          "id": "a24a5959f948",
          "title": "Cycling Investigation - USADA",
          "url": "http://cyclinginvestigation.usada.org/",
          "record": "https://links.thingelstad.xyz/links/a24a5959f948/"
        },
        {
          "id": "dd3d2df8142d",
          "title": "Facebook Marketing Platform 8thBridge Graphite Gets New Features",
          "url": "http://allfacebook.com/8thbridge-graphite-new-features_b101773",
          "record": "https://links.thingelstad.xyz/links/dd3d2df8142d/"
        },
        {
          "id": "156cce5f628a",
          "title": "The Magazine Marco.org",
          "url": "http://www.marco.org/2012/10/11/the-magazine",
          "record": "https://links.thingelstad.xyz/links/156cce5f628a/"
        }
      ]
    },
    "mentions": [],
    "mentioned_by": [],
    "saved_twice": []
  },
  "elsewhere": {
    "wayback": "https://web.archive.org/web/*/http://emptysqua.re/blog/optimizing-mongodb-compound-indexes/"
  }
}
