Home » RDBMS Server » Server Administration » table changes and user activity
table changes and user activity [message #62430] Wed, 21 July 2004 13:24 Go to next message
Ritendra Srivastava
Messages: 4
Registered: February 2004
Junior Member
Guys

 

How can you make changes to a table being used by many users. 

I know there can be many scenarios one I am talking about is , when we dont kill a user.

regards

Ritendra
Re: table changes and user activity [message #62432 is a reply to message #62430] Wed, 21 July 2004 14:20 Go to previous message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
Oracle has row-level locking by default, so handles multi-user updates just fine. To minimize record locking times, you need to design the transactions to get in, make the change and get out as soon as possible. The old Oracle forms method was to lock the record on the form as soon as you start updating it, but a better way these days is to read the record together with it's version counter or last update datetime field on your table and check that it's still the same when you want to update the record - else "record changed by another user".
Previous Topic: Just a quicky question (SHARED_POOL_SIZE)
Next Topic: urgent: can i see rows_processed by pl/sql block
Goto Forum:
  


Current Time: Thu Jan 09 03:43:27 CST 2025