Solved

oracle 11gr2  update,rollback,undo tablespace, logfile

Posted on 2013-05-23
5
817 Views
Last Modified: 2013-05-23
When I update a table that impact 10,000+ rows,
How the undo tbs  handle this?
0
Comment
Question by:taaz
  • 2
  • 2
5 Comments
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39190644
What information are you looking for?

The docs have just about everything you need on undo.

I suggest you start here:
http://docs.oracle.com/cd/E11882_01/server.112/e10897/storage.htm#ADMQS063
0
 
LVL 13

Assisted Solution

by:Alexander Eßer [Alex140181]
Alexander Eßer [Alex140181] earned 100 total points
ID: 39190748
0
 

Author Comment

by:taaz
ID: 39190855
Just to clarify the concept;
I run the update that impacted 1000's of rows and changed data.
Before change data image is recorded in the undo tbs.
Any data change is also recorded in the logfile.

I do not commit and run the rollback

how oracle will react to this?
if undo tbs was not able to record all the before change image.
what happen to the data that is recorded in the logfile?
0
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 400 total points
ID: 39190890
>>if undo tbs was not able to record all the before change image.

This cannot happen so don't worry about it.

For the rest of the information, again, the docs are your friend.

Active Transactions
http://docs.oracle.com/cd/E11882_01/server.112/e25789/transact.htm#autoId9

Rollback of Transactions
http://docs.oracle.com/cd/E11882_01/server.112/e25789/transact.htm#CNCPT1120
0
 

Author Closing Comment

by:taaz
ID: 39190904
Thanks
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now