Reputation: 77
Imagine the following:
Now my question is: Is there a possibility/risk, that the RID #19:2 could be assigned again to another newly created node or can I be sure, that it won't be assigned ever again?
Upvotes: 1
Views: 59
Reputation: 116750
Luca Garulli (Founder and CEO of OrientDB LTD) wrote here on SO:
the RID (Record ID) is never recycled.
But it would probably be wise in general to regard it as an internal "implementation detail" whenever possible, if only because @rid values might not survive export/import. (For this reason, I think it would be nice to have a shorthand for SELECT FROM <class> WHERE <id> = <value>
)
Upvotes: 2