Database Insert Mechanism
问题 I have a question in mind about the insert mechanism in different databases. Supposing a table with a single column primary key that is automatically generated (like identity columns), will the entire table become locked when inserting a new record? and if the insert takes too much time, will the other transactions have to wait more? 回答1: By default Oracle uses row level locks. These locks are blocking only for writers(update, delete, insert etc). That means select will works all the time