dbms_lock.allocate_unique writes (insert) or updates (update) the/a corresponding entry in dbms_lock_allocated and then commits the session. allocate_unique_autonomous is the same as allocate_unique except that it performs the modification in dbms_lock_allocated in an autonomous transaction. dbms_lock_allocated at every 100th attempt to to create an entry into that table.