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 » Urgent! The Workflow's runtime database is growing

Post new topic  Reply to topic
 Urgent! The Workflow's runtime database is growing « View previous topic :: View next topic » 
Author Message
premkumar
PostPosted: Wed Mar 24, 2004 7:57 am    Post subject: Urgent! The Workflow's runtime database is growing Reply with quote

Apprentice

Joined: 24 Feb 2004
Posts: 40

Dear All,

In the production, Workflow runtime database filesystem is getting increased drastically and the filesystem is getting up filled..
For past 20 days the database usage is increased to 4GB which is 10% of the file system.


As i have analysed and found file SQL00008.DAT size is 26GB in the directory /var/fmc/rt_db/db2inst1/FMCDB/ACTWI/.

Find the files and their size respectively which are growing...

/var/fmc/rt_db/db2inst1/FMCDB/ACTWI>>ls -ltr
total 66976008
-rw------- 1 db2inst1 db2iadm1 512 Dec 10 2002 SQLTAG.NAM
-rw------- 1 db2inst1 db2iadm1 4096 Feb 28 07:02 SQL00005.DAT
-rw------- 1 db2inst1 db2iadm1 12288 Mar 24 08:20 SQL00004.INX
-rw------- 1 db2inst1 db2iadm1 4096 Mar 24 08:20 SQL00004.DAT
-rw------- 1 db2inst1 db2iadm1 4096 Mar 24 08:20 SQL00003.DAT
-rw------- 1 db2inst1 db2iadm1 12288 Mar 24 15:40 SQL00003.INX
-rw------- 1 db2inst1 db2iadm1 3889864704 Mar 24 20:14 SQL00006.DAT
-rw------- 1 db2inst1 db2iadm1 800972800 Mar 24 20:15 SQL00006.INX
-rw------- 1 db2inst1 db2iadm1 3371008 Mar 24 20:22 SQL00002.INX
-rw------- 1 db2inst1 db2iadm1 1179648 Mar 24 20:49 SQL00002.DAT
-rw------- 1 db2inst1 db2iadm1 268648448 Mar 24 20:52 SQL00007.INX
-rw------- 1 db2inst1 db2iadm1 26979168256 Mar 24 20:52 SQL00008.DAT
-rw------- 1 db2inst1 db2iadm1 566595584 Mar 24 20:53 SQL00008.INX
-rw------- 1 db2inst1 db2iadm1 1781657600 Mar 24 20:53 SQL00007.DAT
/var/fmc/rt_db/db2inst1/FMCDB/ACTWI>>

Note:
1. I have checked and Confirmed the AUDIT_TRAIL is OFF.
2. The number of records in the WORK_ITEM table is 2555 only.
3. I have tried to run the command db2 reorgchk for getting the report. After One hour the report was generated and found some of the tables requires reorg.
Does reorg will help in solving the problem?

Please help me on this issue and it is very critical.



Thanks and Regards,
Premkumar.S
_________________
Thanks and Regards,
Premkumar.S


Last edited by premkumar on Wed Mar 24, 2004 7:28 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
hos
PostPosted: Wed Mar 24, 2004 9:20 am    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

Hi,

did you ensure that the cleanup server is running on a regulary base? Check the system and the error log.
You may also check that you retention intervalls for various objects
like workitems or log entries has reasonable values.
Back to top
View user's profile Send private message
premkumar
PostPosted: Wed Mar 24, 2004 7:26 pm    Post subject: Reply with quote

Apprentice

Joined: 24 Feb 2004
Posts: 40

hos wrote:
Hi,

did you ensure that the cleanup server is running on a regulary base? Check the system and the error log.
You may also check that you retention intervalls for various objects
like workitems or log entries has reasonable values.



Hi,

The cleanup server is running for every one hour.
There is no error found in db2 log, workflow logs and other error logs.
As a whole the application has only 2500 workitems...

Thanks and Regards,
Premkumar.S
_________________
Thanks and Regards,
Premkumar.S
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
olan022
PostPosted: Thu Mar 25, 2004 5:28 am    Post subject: Reply with quote

Acolyte

Joined: 17 Apr 2002
Posts: 50

Connect to your runtime database via DB2 and run the following:

select count(*) from fmc.process_inst where state=128

Note the number of records it shows and increase your cleanup server schedule if needed. The records returned indicates how many processes still need to be cleared out by the cleanup server. I personally am running it for 6 hours a day and find that may be too little.
Back to top
View user's profile Send private message Send e-mail
premkumar
PostPosted: Thu Mar 25, 2004 9:59 pm    Post subject: Reply with quote

Apprentice

Joined: 24 Feb 2004
Posts: 40

olan022 wrote:
Connect to your runtime database via DB2 and run the following:

select count(*) from fmc.process_inst where state=128

Note the number of records it shows and increase your cleanup server schedule if needed. The records returned indicates how many processes still need to be cleared out by the cleanup server. I personally am running it for 6 hours a day and find that may be too little.



There is no records for the above query. And i have scheduled the cleanup server for every 30 minutes.
_________________
Thanks and Regards,
Premkumar.S
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
hos
PostPosted: Tue Mar 30, 2004 7:18 am    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

Hi,

the mentioned tablespace contains three tables, which are all related to activity work items. Since the ACTIVITY_WORK_ITEM table contains a similar number of records as the WORK_ITEM table a reorg on the three tables: ACTIVITY_WORK_ITEM, LOC_W_I_STUBS_SEG, REM_W_I_STUBS_SEG should help.

Beside that check your workflow model whether you specified KEEP_WORKITEMS FOREVER
in one of your active processes.
Back to top
View user's profile Send private message
sshaker
PostPosted: Tue Mar 30, 2004 12:16 pm    Post subject: Reply with quote

Disciple

Joined: 20 Sep 2002
Posts: 185

Quote:
Does reorg will help in solving the problem?



yes, if u have deleted lots of data using fmcsclad or cleanup server etc.
it will reclaim the storage used by those deleted.
_________________
shaker
Back to top
View user's profile Send private message
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 » Urgent! The Workflow's runtime database is growing
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.