Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DB Aggregate Locking

910971Jul 17 2012 — edited Jul 17 2012
Could someone explain how the DB handles record locking when an aggregate function is called? For instance:
...
select count(*)
into   v_count
from   x;
...
Is there a lock maintained on table x for the duration of the transaction so no rows can be inserted or deleted?
This post has been answered by Frank Kulash on Jul 17 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 14 2012
Added on Jul 17 2012
4 comments
305 views