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 > Problem : Long Time for closing a cursor

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-21-05, 09:31
azcarate azcarate is offline
Registered User
 
Join Date: Nov 2005
Posts: 3
Problem : Long Time for closing a cursor

I remarke in my trace event (monitor switch on) evry 2Mn an exec time (elaps) to CLOSE A CURSOR of a dynamique SQL, need more than 14s 20s or 80seconds !

The machine unix is a regata an OS is an Aix 5.L (5.2.2)

My db2 udb is old V7 (7.1.0.72) Fixpack 8

The cpu is at 30% and no swap memory opere (<10%)

The cpu time in my trace is 0.000000s
1 or 2 Fetch was proceed.
5 Getpages more or less.
Tables acceded are very small (50 lines to 500 lines)
It's a join with 2 tables or any other simple SELECT using an index of course.
The normal time for CLOSE a cursor to the same SELECT (cursor) and same user and PID; is about 0.00002 second !

We have db2 connect with ODBC driver.
Thanks for your help
Reply With Quote
  #2 (permalink)  
Old 02-22-08, 01:52
vaibsk vaibsk is offline
Registered User
 
Join Date: Feb 2008
Posts: 1
Does anyone know the reason for this ? I face the same issue and would like to know the solution.
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