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 » Stored Procedure ResultSet or RecordSet

Post new topic  Reply to topic
 Stored Procedure ResultSet or RecordSet « View previous topic :: View next topic » 
Author Message
malammik
PostPosted: Mon Dec 03, 2007 12:30 pm    Post subject: Stored Procedure ResultSet or RecordSet Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

I am going to call a stored procedure from within ESQL using MB6. Will the resultset of a query get loaded entirely into memory or does broker maintain some sort of a fetching mechanism between the db the thread accessing output tree?
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
mgk
PostPosted: Mon Dec 03, 2007 3:24 pm    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

The entire result will be brought back into the broker at the location specified on the CALL.
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
malammik
PostPosted: Mon Dec 03, 2007 3:30 pm    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

Thanks a lot for the response. It really really help to have folks from development here.


I should've asked this in the original post. But what are my options if I would like to get an actual cursor to the result set on a db side rather than waiting for the whole resultset get loaded?

1. Using java compute node access db directly?
2. ???
3. ???
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
jefflowrey
PostPosted: Mon Dec 03, 2007 3:43 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Call a stored procedure to get the cursor and return the "next" result

Also, you might be able to use Passthru. Although I'm not entirely sure how.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mgk
PostPosted: Tue Dec 04, 2007 1:29 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Can you explain why you want to do this?
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
malammik
PostPosted: Tue Dec 04, 2007 6:27 am    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

The reason, I need to do this is because as a result of an incoming message, I will have to potentially retrieve as many as 100K records and propagate them. Also my SLAs are very demanding and I would rather not wait for the DB to get ALL records and rather give it time to prefetch while I am processing.
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Stored Procedure ResultSet or RecordSet
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.