If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Kill db2 restore ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-21-10, 08:24
vilius vilius is offline
Registered User
 
Join Date: Nov 2007
Posts: 55
Kill db2 restore ?

Hello,

db2 v9.5 AIX v6.1.
How do I terminate/kill running db2 restore ?
I don't care about db state which is beeing restored.

For backups I was able to kill them by using "force application" command because backup program is listed as db2 application. In case of restore I have doubts that restore application will be listed using "list applications".

thanks
Vilius
Reply With Quote
  #2 (permalink)  
Old 10-21-10, 10:35
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
how can it be listed if db2 is not up yet find a process that is running it and kill it on the os level if you do not care about it.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
Reply With Quote
  #3 (permalink)  
Old 10-21-10, 11:27
vilius vilius is offline
Registered User
 
Join Date: Nov 2007
Posts: 55
Maybe someone knows how to identify THAT process ?

V
Reply With Quote
  #4 (permalink)  
Old 10-21-10, 12:01
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by vilius View Post
Maybe someone knows how to identify THAT process ?
ps -ef | grep -i restore
Reply With Quote
  #5 (permalink)  
Old 10-21-10, 12:33
vilius vilius is offline
Registered User
 
Join Date: Nov 2007
Posts: 55
Well thanks never knew it's that simple
Reply With Quote
  #6 (permalink)  
Old 10-21-10, 18:52
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
I'd suggest to use the force application command to terminate a running restore (you'll see it in the list applications output). Do not use db2_kill or some other OS command to kill the process unless it's absolutely necessary. Killing it will crash the entire instance.


Cougar, Happy B-day!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On