Depending on your MongoDB configuration, --upsert may impact your mongod‘s performance.
Changed in version 3.0.0: --upsertFields now implies --upsert. As such, you may prefer to use --upsertFields instead of --upsert.
Specifies a list of fields for the query portion of the upsert. Use this option if the _id fields in the existing documents don’t match the field in the document, but another field or field combination can uniquely identify documents as a basis for performing upsert operations.
Changed in version 3.0.0: Modifies the import process to update existing objects in the database if they match based on the specified fields, while inserting all other objects. You do not need to use --upsert with--upsertFields.
If you do not specify a field, --upsertFields will upsert on the basis of the _id field.
To ensure adequate performance, indexes should exist for this field or fields.
Please refer http://docs.mongodb.org/manual/reference/program/mongoimport/ for more details.
Regards,
Rohit