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 IndexWorkflow Engines - IBM MQ Workflow & Business Process ChoreographerHow do I reduce the Worklfow rt_db Size

Post new topicReply to topic
How do I reduce the Worklfow rt_db Size View previous topic :: View next topic
Author Message
uppugandla
PostPosted: Sun Jan 18, 2009 10:28 pm Post subject: How do I reduce the Worklfow rt_db Size Reply with quote

Newbie

Joined: 09 Dec 2008
Posts: 8

Hi,

I am using MQ Worklfow 3.5, now the problem is run time database has become 35 GB, We did not enable the Audit_trail also. we are running cleanup server weekly once. Is there any way to reduce the Database size. There are few folders in rt_db\db2\FMCDB\ in that "containr" is taking 19.1GB of space, "progact" folder is taking 9.71GB space.

1)Is there any way to reduce the size for these folders?
2)Is it safe to delete old data from the tables?
3)why is that "containr" folder is occupying 19 GB?



Thanks,
Ivar
Back to top
View user's profile Send private message
hos
PostPosted: Sun Jan 18, 2009 11:40 pm Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

Hi,

you need to make sure that the cleanup interval is big enough to delete all
obsolete data. Once a week sounds not very much. Also make sure that your processes and workitems are modelled for deletion, i.e. avoid Never when you specify delete options.

1. The only way to reduce space consumption is to run the cleanup server.
2. No. Never update MQWF RT DB manually. You may corrupt the database.
3. I remember that there was a 'container leak' with cleanup. Apply the latest maintenance or migrate to MQWF 3.6 which is currently the only supported version.
Back to top
View user's profile Send private message
uppugandla
PostPosted: Mon Jan 19, 2009 1:07 am Post subject: Reply with quote

Newbie

Joined: 09 Dec 2008
Posts: 8

Thanks for the quick reply,

After running the cleanup server number of rows in the tables are reduced a lot, but table space is not getting released. I. e. rt_db\db2\FMCDB\ folder size not reducing.

DB size remains same after running the cleanup server. Any clue about this?


Thanks,
Ivar
Back to top
View user's profile Send private message
uppugandla
PostPosted: Mon Jan 19, 2009 8:41 pm Post subject: Reply with quote

Newbie

Joined: 09 Dec 2008
Posts: 8

HI,

Issue has been resolved, I have reorganized the DB, it resolved all the problems.

Thanks,
Ivar
Back to top
View user's profile Send private message
anveshita
PostPosted: Mon Jan 26, 2009 11:06 am Post subject: Reply with quote

Master

Joined: 27 Sep 2004
Posts: 254
Location: Jambudweepam

Please read the MQ Workflow best practices guide.
In our production we used to have scheduled jobs to:
1. REPRRO REORG job scehduled to run every week

Clean up server was set to run every day midnight ( when our load was less)
beyond this, we made sure our auditing was turned down as we were using a custom built, vendor supplied auditing utility.
Hope this helps.
Back to top
View user's profile Send private message
tim@KIN
PostPosted: Tue Dec 29, 2009 2:56 am Post subject: Reply with quote

Newbie

Joined: 26 Apr 2007
Posts: 9

I want to know how to reorg DB2
MQWF3.5
I get the message from MQWF Best Practice
Quote:

db2 select tabname, stats_time from syscat.tables where tabschema=”
FMC”
db2 select pkgname, LAST_ BIND_ TIME from syscat.packages where
pkgschema=” FMC”
db2 reorgchk update statistics on table all
db2 rebind <pkgname> (for all packages)

Can the command reduce the file size of rt_db?
Back to top
View user's profile Send private message
jmac
PostPosted: Thu Dec 31, 2009 6:29 am Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

I seriously doubt that this would have much effect on the RTDB size.

Are you purging your Audit table regularly? Do you keep Finished Instances and Workitems forever?
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
tim@KIN
PostPosted: Wed Jan 06, 2010 6:11 pm Post subject: Reply with quote

Newbie

Joined: 26 Apr 2007
Posts: 9

jmac wrote:
I seriously doubt that this would have much effect on the RTDB size.

Are you purging your Audit table regularly? Do you keep Finished Instances and Workitems forever?

Thanks for the reply.
We have enable the clean up server every day for around 2 hr. and finished instance should removed. Aduit function disabled.

I have found soe function on fmczutil.
Is this a method to reorg the WF DB?
Quote:

fmczutil -y XXX
<user name & password>

s ... Select
<XXX>
r ... Runtime Database Commands Menu
o ... Optimize Database
f ... Optimize all MQ Workflow tables
<FMC user name and password>
r ... Run runstats and rebind for the selected tableset
---AND
o ... Run reorganization for the selected tableset
Back to top
View user's profile Send private message
naitsab
PostPosted: Mon Jan 25, 2010 8:42 am Post subject: Reply with quote

Newbie

Joined: 11 Sep 2009
Posts: 2

Hi,

you can use this command to reorganize the runtime db
fmczkcfg -y <WFCONF> -o:o -m:o -t:a -p:<DB2USER>:<DB2PASSWORD>
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWorkflow Engines - IBM MQ Workflow & Business Process ChoreographerHow do I reduce the Worklfow rt_db Size
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.