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 » Indexing cached tables

Post new topic  Reply to topic
 Indexing cached tables « View previous topic :: View next topic » 
Author Message
raghubegur
PostPosted: Tue Apr 04, 2006 6:01 am    Post subject: Indexing cached tables Reply with quote

Apprentice

Joined: 15 Jul 2002
Posts: 45

Hi,

I have a message flow that does a look up on a db2 table for every message it processes. The number of look up's may vary from 6 to 600.
The table contains 500 rows and is indexed in db2.

To avoid multiple reads from the database, I have cached the look up table into broker memory. But I do not have index built into the table available in memory. This seems to be proving expensive.

Is there a way to put an index on the table in memory ?

Thanks.
_________________
Cheers
Raghu
Back to top
View user's profile Send private message Send e-mail
wschutz
PostPosted: Tue Apr 04, 2006 6:08 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

What version of broker? V6 has new "shared" variables that can hold ROWS.... or you can use supportpac IA91 for V5 and V6.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
raghubegur
PostPosted: Tue Apr 04, 2006 6:26 am    Post subject: Reply with quote

Apprentice

Joined: 15 Jul 2002
Posts: 45

Hi,

Sorry I forgot to mention the version.
It is WBIMB 6.0 on AIX. No fixpack / CSD.

I am using a 'shared' row variable.

It is working fine. The issue is one of 'indexing'.

Thanks.
_________________
Cheers
Raghu
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Tue Apr 04, 2006 6:33 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Well.

You could create another shared row variable that contained references to each of the entries in the main row. Then you can do a select from that row variable to get the reference and then use that to access the data.

BUT, it may not be possible to include references in shared variables. I know it is not possible to share references directly.
_________________
I am *not* the model of the modern major general.
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 » Indexing cached tables
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.