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 » Cache refresh mechanism in wmb 7.0.0.4

Post new topic  Reply to topic
 Cache refresh mechanism in wmb 7.0.0.4 « View previous topic :: View next topic » 
Author Message
Paras_sachdeva
PostPosted: Mon Aug 08, 2016 6:12 am    Post subject: Cache refresh mechanism in wmb 7.0.0.4 Reply with quote

Newbie

Joined: 05 Aug 2016
Posts: 5

Hi Team,

We are using WMB 7.0.0.4 and are implementing cache mechanism using ESQL functions. We are using putIntoNamedCache() and getFromNamedCache() to put and retrieve the data in cache.

I want to know how can i refresh the cache after a certain interval using any ESQL function. The scenario is to execute a query on database and store the results in cache. How do i make the process of refreshing the cache automatic.

All suggestions are welcome. Please feel free to correct the approach, if needed.

Many thanks in advance.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 08, 2016 6:33 am    Post subject: Re: Cache refresh mechanism in wmb 7.0.0.4 Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Paras_sachdeva wrote:
We are using WMB 7.0.0.4 and are implementing cache mechanism using ESQL functions. We are using putIntoNamedCache() and getFromNamedCache() to put and retrieve the data in cache.


What cache? The internal cache supplied with the product wasn't supplied with the version you quote.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Paras_sachdeva
PostPosted: Mon Aug 08, 2016 10:16 am    Post subject: Reply with quote

Newbie

Joined: 05 Aug 2016
Posts: 5

We have implemented IA91 SupportPac for cache.

This below link contains the documentation for this.
https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwiSw9zctLLOAhUEOI8KHdStDgcQFgghMAA&url=ftp%3A%2F%2Fpublic.dhe.ibm.com%2Fsoftware%2Fintegration%2Fsupport%2Fsupportpacs%2Findividual%2Fia91.wbimb.pdf&usg=AFQjCNFeBHCS6-_LwWnHcO3FnA9A_tjBwQ&sig2=yN_8sSaUItOWMtgtrAFbcg&cad=rja

What i need to know is where do i set the parameters for automatically refreshing the cache.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 08, 2016 10:23 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Paras_sachdeva wrote:
We have implemented IA91 SupportPac for cache.


So you've implemented a 4 year old support pac on a out-of support version of the broker that's not even at the most recent maintenance before it went out of support? Awesome solution design.

Paras_sachdeva wrote:
What I need to know is where do i set the parameters for automatically refreshing the cache.


As described on page 28 of the document you posted the link to I'd imagine.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Aug 08, 2016 10:26 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

What do you mean by "automatically refreshing the cache"?

You mean, having it automatically re-read new data from somewhere?

The options for doing that are described in the doc you pointed at. I personally don't see any functions it has for doing that.

So you will have to figure out some way to tell it to reload data, and then use one of the mechanisms mentioned to load the data.

Or, instead, you could migrate to a supported version of IIB and use the builtin global cache functions.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Paras_sachdeva
PostPosted: Mon Aug 08, 2016 10:33 am    Post subject: Reply with quote

Newbie

Joined: 05 Aug 2016
Posts: 5

Yeah we are working on a very older version and will be migrating to IIB 10 soon. In the meantime, what i was looking for is the ESQL function that can load the table from database in cache and then refreshes the cache after certain period of time.
Currently we reload the Execution group(EG) to reflect the changes but how do we automate this so that we do not have to reload the EG .
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Aug 08, 2016 10:37 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There's an esql function to read data from a database.

There are esql functions provided by the out of support cache to insert data into the cache.
_________________
chmod -R ugo-wx /
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 » Cache refresh mechanism in wmb 7.0.0.4
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.