I'm trying to include a field in Mongodb document called myId. I am using shortid. I am wondering, in case of big data, like millions of documents in a collections:
- What's the guarantee that the
shortid
will be always unique and never ever be repeated for any other document? - What keeps a track of the generated ids?
- What are the chances of the id been repeated?
via Somename
No comments:
Post a Comment