Performance issue loading data into MongoDB

I have to admit that you are stretching my knowledge. B-(

One thing that I am certain is that adding stamp will improve the

You probably asked that because you tried:

c.createIndex( { "name" : "hashed" , "team" : "hashed" } )

and got:

[MongoServerError:](#) A maximum of one index field is allowed to be hashed but found 2 for 'key' { name: "hashed", team: "hashed", stamp: 1 }

What is nice is that a field does not have to be a simple value it can be an object. So if your data looks like:

{ _id: 0,
  actor: { name: 'steevej', team: 'Elder' },
  stamp: 0 }

you could:

c.createIndex( { "actor" : "hashed" , stamp : 1 } )

which would effectively compute the hash of name+team. But I never used thanthat in a real application setup so I have no clue about the implications.

What I cannot confirm or infirm is