473,403 Members | 2,284 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

URGENT :: kill rollng back process? or atleast the status to get the time estimated..

i have a process thats in roll back state..i ts going on forever..i
need to kill it and would like to restart it with some changes....

if not atleast i need to know the status of the rollback to estimate
how longer it migt take...no use with this..but just for my info....

killing roll back process would be ideall...if not recommended what are
the risks that might come up due to rollback...becuase i badly need to
kill this and start all over again..i dont ahve miuch time...

APPRECIATE A VERY QUICK RESPONSE..
THNKS..

Jun 18 '06 #1
6 5950
technocrat wrote:
i have a process thats in roll back state..i ts going on forever..i
need to kill it and would like to restart it with some changes....

if not atleast i need to know the status of the rollback to estimate
how longer it migt take...no use with this..but just for my info....

killing roll back process would be ideall...if not recommended what are
the risks that might come up due to rollback...becuase i badly need to
kill this and start all over again..i dont ahve miuch time...

If you rollback the rollback it may take longer than completing....
Depends on how far it got so far.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Jun 18 '06 #2
roll back a roll back in the sense? and how cani know how far it
wnt..? is there any tool that tells me that?//?

first of all is it poss to kill a process thats in roll back state??
Serge Rielau wrote:
technocrat wrote:
i have a process thats in roll back state..i ts going on forever..i
need to kill it and would like to restart it with some changes....

if not atleast i need to know the status of the rollback to estimate
how longer it migt take...no use with this..but just for my info....

killing roll back process would be ideall...if not recommended what are
the risks that might come up due to rollback...becuase i badly need to
kill this and start all over again..i dont ahve miuch time...

If you rollback the rollback it may take longer than completing....
Depends on how far it got so far.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/


Jun 18 '06 #3
technocrat wrote:
roll back a roll back in the sense? and how cani know how far it
wnt..? is there any tool that tells me that?//?

first of all is it poss to kill a process thats in roll back state??

I don't know. And quite frankly before I'd do that I'd have a chat with
support.

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Jun 18 '06 #4
Serge Rielau wrote:
technocrat wrote:
roll back a roll back in the sense? and how cani know how far it
wnt..? is there any tool that tells me that?//?

first of all is it poss to kill a process thats in roll back state??

I don't know. And quite frankly before I'd do that I'd have a chat with
support.


I'm pretty sure that you can kill the process. My guess at what will/should
be happening is this:
(1) DB2 notices that the process is gone and shuts down the complete engine.
(2) Once the instance is restarted, Crash Recovery kicks in, finds the log
records for the rollback and continues with the rollback until it is done.
(3) If no log records are found, we still have an in-flight transaction,
which is rolled back as well after the restart.

At least that is how recovery works.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Jun 19 '06 #5
In article <e7**********@lc03.rz.uni-jena.de>, st****@de.ibm.com says...
Serge Rielau wrote:
technocrat wrote:
roll back a roll back in the sense? and how cani know how far it
wnt..? is there any tool that tells me that?//?

first of all is it poss to kill a process thats in roll back state??

I don't know. And quite frankly before I'd do that I'd have a chat with
support.


I'm pretty sure that you can kill the process. My guess at what will/should
be happening is this:
(1) DB2 notices that the process is gone and shuts down the complete engine.
(2) Once the instance is restarted, Crash Recovery kicks in, finds the log
records for the rollback and continues with the rollback until it is done.
(3) If no log records are found, we still have an in-flight transaction,
which is rolled back as well after the restart.

At least that is how recovery works.


I do remember from the early days (DB2 2.1.2) that the Crash Recovery
could last for 'ages' compared to the 'normal' recovery process because
it did use a small default buffer pool. I guess this proces has been
optimized since then.

But I won't expect the Crash Recovery to be faster then the normal
rollback process so why would the OP cancel the rollback and use the
Crash Recovery to rollback all updates?
Jun 19 '06 #6
some how things worked.....aftrer a marathon 48 hr no sleep
weekend....the DBA bounced the machine when the roll back is going
on....it stukc there for sometime and then when it came up after an
hour it started some recovery phase which eventually lasted for another
1.5 hrs..so a total of 5 hrs of rollback and 2.5 hrs of recovery...-
7.5 hrs...that was 8 am in the morning it was up again

Same thing happened again at 1030 am (transaction logs were fiull again
)but we somehow managed to avoid the rollback by bouncing it befdore it
goes into rollback state and it came up and recovery stage started
again and ended at around 4 hrs from 1030 ie 2 pm....so finally DB was
up at 2PM to run the transactions with some changes that would avoid
the logs to be fullagin and at 430 finally things were
done....fortunately 1 hrs before the UAT begain....and that saved my
job..:D

It was literally a nightmare...
Thanks all of you for the support!
Gert van der Kooij wrote:
In article <e7**********@lc03.rz.uni-jena.de>, st****@de.ibm.com says...
Serge Rielau wrote:
technocrat wrote:
> roll back a roll back in the sense? and how cani know how far it
> wnt..? is there any tool that tells me that?//?
>
> first of all is it poss to kill a process thats in roll back state??
I don't know. And quite frankly before I'd do that I'd have a chat with
support.


I'm pretty sure that you can kill the process. My guess at what will/should
be happening is this:
(1) DB2 notices that the process is gone and shuts down the complete engine.
(2) Once the instance is restarted, Crash Recovery kicks in, finds the log
records for the rollback and continues with the rollback until it is done.
(3) If no log records are found, we still have an in-flight transaction,
which is rolled back as well after the restart.

At least that is how recovery works.


I do remember from the early days (DB2 2.1.2) that the Crash Recovery
could last for 'ages' compared to the 'normal' recovery process because
it did use a small default buffer pool. I guess this proces has been
optimized since then.

But I won't expect the Crash Recovery to be faster then the normal
rollback process so why would the OP cancel the rollback and use the
Crash Recovery to rollback all updates?


Jun 29 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Bob Swerdlow | last post by:
My application starts up a number of processes for various purposes using: self.popen = popen2.Popen3("/usr/local/bin/python -O "myscript.py") and then shuts them down when appropriate with...
10
by: Fred | last post by:
There is a setting in INIT.ORA that has the unintended side-effect of making sure the ALTER SYSTEM KILL SESSION command has immediate affect. Without this setting, I've seen some instances where...
1
by: Alexander N. Spitzer | last post by:
I am trying to write a program that will fork a process, and execute the given task... the catch is that if it runs too long, I want to clean it up. this seemed pretty straight forward with a...
0
by: WATYF | last post by:
This is my problem... I have some code that starts a Process and returns it to a variable... (prcBat) At any time while that process is running... I want to be able to Kill it by pressing a...
1
by: karizmatrix22 | last post by:
Hi, I need a programmer who can write 3 programs for following questions below.Programs need to be ready before nextweek.thank you. Person who help me these 3 questions will be get paid.. I am...
2
by: alexia.bee | last post by:
Hi All, I need to get all the IDs of specific process and kill all the instances of that process. Something like: // theArray get all the Excel proc IDs in the Task manager string theArray...
1
by: AE_Cory | last post by:
I'm a n00b to Visual C++ and OOP, but not to programming in general. Here's the problem: Not knowing what I'm doing, I've made my VC++ application as a CLR Window Forms project. Now, I have a...
7
by: tim | last post by:
Hi all, I want to execute a VB application from a ASP page (not .Net). Want I want to do is that I write some parameters to a database and then start the external application that will pickup...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.