Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between note id and universal id

Tags:

lotus-notes

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.

like image 850
shreeram banne Avatar asked Sep 28 '22 16:09

shreeram banne


1 Answers

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.

like image 114
Knut Herrmann Avatar answered Oct 06 '22 01:10

Knut Herrmann