RE: Killing a load process in DB2 9.1 LUW ?

RE: Killing a load process in DB2 9.1 LUW ?

 

  


Check the application which is doing load by

Db2 list applications | grep -I load

From this you should get the application agent ID,use it to force the
application with

Db2 fore application (appid)

And if you have not used the nonrecoverable option table space will go
in to backup pending state take a online backup of tablespace with

Db2 back db <db_name> table <tablespace_name> online to /dev/null

This should solve the issue :)




Thanks and Regards,
Vishnu Vardan G.
Project Engineer , Wipro Technologies
Bengaluru,India.
>*:vishnuvardan.[Email address protected]
>*: 9740149105
>P Please don't print this e-mail unless you really need to. Save a
Tree.
"It was love at first sight. Then I took a second look!!!!!"


-----Original Message-----
From: Saldana Jose G
[mailto:db2udbdba-ezmlmshield-x18777175.[Email address protected]
Sent: Thursday, March 13, 2008 8:22 PM
To: LazyDBA Discussion
Subject: Killing a load process in DB2 9.1 LUW ?

Hi,



Would anyone please help me how I could kill the process of the load
below? It's been running for hours, and I don't understand the "UNKNOWN"
phase. Is it something like?:



Ps -ef |grep XXXXXX

Kill -term pid



But what would be the grep??



db2admin:/db2/db2csit/data1>db2 "load query table CSI.t_invoice_header"

SQL3532I The Load utility is currently in the "UNKNOWN" phase.

Tablestate:

Load in Progress





Thanks-









---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY To post a
dba job: http://jobs.lazydba.com To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com


DB2 & UDB email list listserv db2-l LazyDBA home page