When the first user is making changes to emp a rollback segment is written(the before image of the data) for the second user. So when the second user is accessing the same table that the first user is modifying, he will not see the changes made until the query is commited by the first user. After the commit, the second user is still reading from the rollback segment, in order for the second user to see the new data he will have to requery the table to see the new data and not read from the rollback segment, but from the new modified data on disk.
Main Topics
Browse All Topics





by: taiskPosted on 2003-01-11 at 04:29:33ID: 7707393
A requery, be it manual or automatic, is necessary to retrieve the changes that the other user made. You should really lock the record that as the first user retrieves it so that the second user cannot modify it. The lock is released when the first user finished with it.