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 » WebSphere Message Broker (ACE) Support » MB optimization

Post new topic  Reply to topic
 MB optimization « View previous topic :: View next topic » 
Author Message
yaakovd
PostPosted: Fri Jun 27, 2008 10:55 am    Post subject: MB optimization Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

Hi ALL

I have message flow that transforms binary file to ASCII comma delimited. MB 6.1 on WIN XP, 2GB RAM.

8 MB contains fix length bloks of data. Each block has header, data records, trailer and filler.

1. read file using file input node
2. read bloks of data and removes fillers
3. parse record and decode fields.
4. writing output file.

I use on-demand parsing because records are of different types.
Most of fields require custom decoding (call ESQL functions).
Step 3 takes aproximatelly 4 hours for 8 MB file (44000 records).

In real system it will run on strong AIX machine, but 4 hours...

Any idea of optimization or MB configuration?
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
yaakovd
PostPosted: Sun Jun 29, 2008 1:01 am    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

I see no one helps...

I'm running files with different number of records:

240 - les then 1 sec - 24000 records/per sec
2400 - 7 sec - 20500 records/per sec
8000 - 2.85 min - 2800 records/per sec
16000 - 11.85 min - 1350 records/per sec

40 000 - 4-6 hours
60 000 record - low memory... It is just 8 MB file...
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
sami.stormrage
PostPosted: Sun Jun 29, 2008 1:19 am    Post subject: Reply with quote

Disciple

Joined: 25 Jun 2008
Posts: 186
Location: Bangalore/Singapore

MQ and MB are meant for smaller messages. If you have huge messages to transfer, try breaking them up using throtelling utility (write ur own custom code).. these things are seldom useful when u r transferring a huge database from one place to another.
_________________
*forgetting everything *
Back to top
View user's profile Send private message Yahoo Messenger
yaakovd
PostPosted: Sun Jun 29, 2008 8:15 pm    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

MB and MQ supports 100 MB files.

My system is not only transfer, and I don't have problem with transfer and simple transformation on 20 MB files.

But in complicated conversion I have resources issue with 1-2 MB file.
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
sebastianhirt
PostPosted: Mon Jun 30, 2008 1:41 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

Have you checked the performance of your ESQL code? In many cases there is some room for improvement. (e.g. proper usage of references, usage of SELECT rather then several Set commands...)
Back to top
View user's profile Send private message
golam1983
PostPosted: Mon Jun 30, 2008 3:57 am    Post subject: Reply with quote

Apprentice

Joined: 27 Jun 2008
Posts: 35

I had faced such a scenario when i was making a no of database calls from my flow...for this we can merge all queries into single query and pass it to oracle....

Also as sebastianhirt mentioned try using the reference variable...it has a lot of impact for large file...
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 » WebSphere Message Broker (ACE) Support » MB optimization
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.