Good news, at the very least:
db.statuseshistory.find({model-uuid: ..., globalkey: yyyy}).limit(1).explain() shows that it will use the model-uuid,globalkey,updated index. Which means that we could just delete on that, and have it use the index.
Good news, at the very least:
db.statuseshist ory.find( {model- uuid: ..., globalkey: yyyy}). limit(1) .explain( ) globalkey, updated index.
shows that it will use the model-uuid,
Which means that we could just delete on that, and have it use the index.