For a database object for which you have set an optimistic lock, the database system keeps track of all changes that are made to the object.
Concepts of the Database System, SQL Locks
Database Administration, Analyzing Database Performance