Solved

oracle 11gr2  update,rollback,undo tablespace, logfile

Posted on 2013-05-23
5
832 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 77

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 77

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

728 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