title: Why are my mongodb indexes so large
body: <p>I have 57M documents in my mongodb collection, which is 19G of data.
  My indexes are taking up 10G. Does this sound normal or could I be doing something very wrong! My primary key is 2G.    </p>
  
  <pre><code>{
          "ns" : "myDatabase.logs",
          "count" : 56795183,
          "size" : 19995518140,
          "avgObjSize" : 352.0636272974065,
          "storageSize" : 21217578928,
          "numExtents" : 39,
          "nindexes" : 4,
          "lastExtentSize" : 2146426864,
          "paddingFactor" : 1,
          "flags" : 1,
          "totalIndexSize" : 10753999088,
          "indexSizes" : {
              "_id_" : 2330814080,
              "type_1_playerId_1" : 2999537296,
              "type_1_time_-1" : 2344582464,
              "type_1_tableId_1" : 3079065248
          },
          "ok" : 1
      }
  </code></pre>