If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > How to resolve performance issues?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-28-09, 10:59
Neharao Neharao is offline
Registered User
 
Join Date: Dec 2007
Posts: 49
How to resolve performance issues?

Hi All

I am trying to resolve performance issues in my application. Front end is Web interface which is developed with JavaScript, AJAX, and HTML. Backend database is DB2 Database.

I would like to know, when a Tab is clicked on the web page, I would like to know what are the queries that are ran in the backend and which one is talking more time.

Though the developers should be able to give me what are the queries that get fired. But As our application is a complex application. Its just not that a single query gets fired, a lot of queries will be fired for a single event.

So do we have something in DB2 to know on which table select has been issued, when an event occurred in webpage? More precisely can we know which time elapsed for each query when an event occurs on the front-end?

Thanks in Anticipation
Neha
Reply With Quote
  #2 (permalink)  
Old 07-28-09, 11:10
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
You can use the Event Monitor to capture the information.

Andy
Reply With Quote
  #3 (permalink)  
Old 07-28-09, 11:12
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
Quote:
Originally Posted by Neharao
But As our application is a complex application. Its just not that a single query gets fired, a lot of queries will be fired for a single event.
Regardless how complex your app is, your developers should be able to tell you what it is doing. If not, get better developers.

Quote:
Originally Posted by Neharao
So do we have something in DB2 to know on which table select has been issued, when an event occurred in webpage? More precisely can we know which time elapsed for each query when an event occurs on the front-end?
Yes, it is called monitors. You can set those up and see what is coming and going.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On