_id - ObjectId consistency

Greetings,
i would like to ask if this field will be 100% consistent even if i restore from the backup and let reindex the whole DB.

Or if i need to make some relations without embedding i should use additional incremental id.

Thank you

Hi @Ukro_Ukrovic,

_id (and other field values) will not change as a result of indexing or mongodump and mongorestore.

Regards,
Stennie