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 > Informix > which session heavy load

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-18-06, 05:32
supinformix supinformix is offline
Registered User
 
Join Date: Apr 2004
Location: Brussels
Posts: 57
which session heavy load

Have someone an idea how we can determine the sessions with the most I/O on the server ?
We have generallly about 800 sessions and sometimes somebody is doing heavy load on the database. I think depending on the criteria he invoked in the appli. The checkpoints are raising from 0 seconds to 5, 6 seconds.
How to determine which sql ??
environment is AIX with IDS 7.31

Thanks a lot,
Yves
Reply With Quote
  #2 (permalink)  
Old 01-18-06, 11:45
nitin_math nitin_math is offline
Registered User
 
Join Date: Nov 2004
Posts: 143
Hi,

You can check the output of onstat -u and sort it on the column nreads/nwrites.
Also you can run the query

select syssesprof.sid,
isreads,
iswrites,
isrewrites,
isdeletes
from syssesprof, syssessions
where syssesprof.sid = syssessions.sid

and use the desc order.

Bye

Nitin
Reply With Quote
  #3 (permalink)  
Old 01-19-06, 07:04
supinformix supinformix is offline
Registered User
 
Join Date: Apr 2004
Location: Brussels
Posts: 57
that 's it,
nice

thanks
Reply With Quote
  #4 (permalink)  
Old 01-19-06, 08:38
plumas plumas is offline
Registered User
 
Join Date: Nov 2005
Posts: 1
Question Sessions with the most I/O

Hi Yves,

Will the locks,nreads and nwrites columns of onstat -u do the job for you? If it does then use the sessid column and check out what's going on with onstat -g ses sessid

Regards,

Plumas

Quote:
Originally Posted by supinformix
Have someone an idea how we can determine the sessions with the most I/O on the server ?
We have generallly about 800 sessions and sometimes somebody is doing heavy load on the database. I think depending on the criteria he invoked in the appli. The checkpoints are raising from 0 seconds to 5, 6 seconds.
How to determine which sql ??
environment is AIX with IDS 7.31

Thanks a lot,
Yves
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