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 » Database interaction

Post new topic  Reply to topic
 Database interaction « View previous topic :: View next topic » 
Author Message
vijayakumar
PostPosted: Wed Aug 17, 2011 3:05 pm    Post subject: Database interaction Reply with quote

Centurion

Joined: 01 Aug 2010
Posts: 101

please advise whether Select clause with Item selections fro doing the select query cause any performance overhead.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Aug 17, 2011 9:12 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Would you care to

1) Give us an example of the SELECT Command you are using?

2) Tell us how is the underlying table and its indexes structured?

At the moment, your question is more like

'How long is a piece of string?
which will get the answer,
'It depends'
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Aug 18, 2011 4:35 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Ask your DBA to give you a performance profile of your query. This is a databsae question which has no answer from WMB since WMB does not incur overhead when calling a database. The overhead is caused by the query itself, not WMB.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Aug 18, 2011 4:49 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Yes.

Every statement causes performance overhead.

It is meaningless to measure or discuss performance outside of a set of requirements.

Your particular statement may cause 1 microsecond of performance overhead or it may cause five hours of performance overhead. It's not possible to say without actually measuring it.

It is equally impossible to determine if either of those overheads is BAD without any REQUIREMENTS for the performance of the system. both of those times may be perfectly fine. Or both may be too slow.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Aug 18, 2011 5:56 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

mqjeff wrote:
Yes.

Every statement causes performance overhead.

It is meaningless to measure or discuss performance outside of a set of requirements.

Your particular statement may cause 1 microsecond of performance overhead or it may cause five hours of performance overhead. It's not possible to say without actually measuring it.

It is equally impossible to determine if either of those overheads is BAD without any REQUIREMENTS for the performance of the system. both of those times may be perfectly fine. Or both may be too slow.


In other words,
How long is that bit of string I see poking out of your pocket?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
anandsitha
PostPosted: Thu Aug 18, 2011 6:13 am    Post subject: Reply with quote

Acolyte

Joined: 26 Jul 2011
Posts: 59

Hi vijayakumar-

Write a stored procedure in the db itself. call the stored procedure in your mb.

Regards
Sithanandam.V
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 » Database interaction
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.