Thank you John! that is all i wanted to know

On Dec 16, 2011 7:36 PM, "John Snelson" <[email protected]> wrote:

The method you have devised will work as you expect it to. It will also
perform badly as it will lock out concurrent updates.

You should consider using xdmp:random() to generate a 64 bit random
number for your unique identifier.

John


On 16/12/11 13:55, Raghu wrote:
> Hi All,
> I need to auto increment an id (long int) base...
--
John Snelson, Senior Engineer                  http://twitter.com/jpcs
MarkLogic Corporation                         http://www.marklogic.com
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to