Archives of the TeradataForum 
 
 
Message Posted: Thu, 19 Aug 2004 @ 19:25:52 GMT 
 
  
 
 
 
 
  
|  Subj:  |   |  Re: Cancel a RollBack in V2R.05.00.03.02  |   
|     |   
|  From:  |   |  Dieter Noeth  |   
  
 
 
  
Anomy Anom wrote: 
|     | I got a problem with a rollback that has been running for several days in a large table. |     |  
 
  
|     | I don't know the reason of this problem since the original transaction took 1 day and then we aborted it and TD started to
rollback. |     |  
 
  
You shouldn't do that ;-)) 
 |     | According to the rules a rollback  usually runs about 1 1/2 to 2 times longer than the original transaction. |     |  
 
  
In worst case much longer than that... 
If it was an Insert or Delete and you know the original row count you can submit a count(*) using an access lock to find out how many rows
still have to be processed. 
If it was an Update with delete/merge steps (check explain) this may also work. 
|     | As i mentioned in the subject we are running on V2R.05.00.03.02. |     |  
 
  
|     | I was thinking if maybe we need a patch or a tuning. |     |  
 
  
In V2R5.1 there's a "Cancel Rollback" command, before that only the Global Support Center can do that, but be aware: the table will be in an
inconsistent state... 
 Dieter 
 
 
 
 
   
 
 |