shreeram banne
shreeram banne

Reputation: 526

Difference between note id and universal id

I did search but I still don't have a clear idea. I used the "universal id" (UNID) many times but never "note id" so want to know the difference.

Upvotes: 5

Views: 2922

Answers (1)

Knut Herrmann
Knut Herrmann

Reputation: 30970

The universal ID uniquely identifies a document across all replicas of a database.
The universal ID is a 32-character combination of hexadecimal digits (0-9, A-F).

If two documents in replica databases share the same universal ID, the documents are replicas. If you modify the UNID of an existing document, it becomes a new document.

The note ID uniquely identifies a document within a particular database.
The note ID is an 8-character combination of letters and numbers.

A note ID represents the location of a document within a specific database file, so documents which are replicas of one another generally have different note IDs.

Upvotes: 4

Related Questions