ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Cleanup Runtime DB

Post new topic  Reply to topic
 Cleanup Runtime DB « View previous topic :: View next topic » 
Author Message
kwcwong
PostPosted: Wed Feb 19, 2003 10:58 pm    Post subject: Cleanup Runtime DB Reply with quote

Newbie

Joined: 18 Feb 2003
Posts: 3

Hi all,

Do there any utility/method that I can use to cleanup the runtime database? I don't want to drop the runtime database and rebuild a new one.

Thanks and regards,
Chris.
Back to top
View user's profile Send private message
yaakovd
PostPosted: Thu Feb 20, 2003 12:02 am    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

1. connect to DB
2. run LIST TABLES and receive all names (more than 60):
ACT_NOT_TEMPL
ACT_TEMPL_RES_ASG
ACTIVITY_TEMPL
ACTIVITY_WORK_ITEM
AUDIT_TRAIL
BLOCK_ACT_INST
BLOCK_INST
BLOCK_TEMPL
CATEGORY
CONTAINER...
3. create script for all wanted tables: DELETE FROM TABLE [name]

Make sure if you want cleanup tables like:
PROCESS_TEMPL, PERSON, ROLE, SERVER, etc.
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
fbaril3
PostPosted: Thu Feb 20, 2003 1:20 am    Post subject: Reply with quote

Acolyte

Joined: 14 Jun 2002
Posts: 53

In the case you use the audit to DB option, you can clean the audit records (which can be quite important if you have not cleared the DB for long) with the "fmcsclad" command.

Hope this Help.
Back to top
View user's profile Send private message
jet
PostPosted: Fri Feb 21, 2003 11:14 am    Post subject: Reply with quote

Apprentice

Joined: 04 Dec 2002
Posts: 49
Location: New York

can you explain more about what information you want to clean up? work iem? or process instances? or audit trail DB?
Back to top
View user's profile Send private message
kwcwong
PostPosted: Tue Feb 25, 2003 8:18 am    Post subject: Reply with quote

Newbie

Joined: 18 Feb 2003
Posts: 3

Thanks all for help.

My problem is to remove a user from the runtime db, together with the workitem(s) assigned to him/her. I find that I can't remove a user if there have already been some workitem(s) assigned to that user.

Any suggestion?

Thx in advance.
Back to top
View user's profile Send private message
yaakovd
PostPosted: Tue Feb 25, 2003 8:31 am    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

You just need unlock all WorkItems in state (CHECKED_OUT).
Administrator or user itself can do it.

Then you can delete user from DB. Removing of WorkItem is not must, becouse it will be removed after processing of activity by another user.
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Cleanup Runtime DB
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.