dbTalk Databases Forums  

show processes

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss show processes in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Marten Lehmann
 
Posts: n/a

Default show processes - 09-09-2009 , 10:53 AM






Hello,

how can I find out which sql statements from database users are
currently processed and how long they already took? I want to find out
which queries slow down the database and increase the CPU usage.

Kind regards
Marten

Reply With Quote
  #2  
Old   
Bruce Hay
 
Posts: n/a

Default Re: show processes - 09-09-2009 , 02:05 PM






See the documentation on sa_conn_activity:
http://dcx.sybase.com/index.php#http...y-sysproc.html

and also:

http://dcx.sybase.com/index.php#http...t-monitor.html

SQL Anywhere Developer Community:
http://www.sybase.com/developer/libr...ere-techcorner


SQL Anywhere Blog Center: http://www.sybase.com/sqlanyblogs




Marten Lehmann wrote:
Quote:
Hello,

how can I find out which sql statements from database users are
currently processed and how long they already took? I want to find out
which queries slow down the database and increase the CPU usage.

Kind regards
Marten

Reply With Quote
  #3  
Old   
Marten Lehmann
 
Posts: n/a

Default Re: show processes - 09-11-2009 , 06:00 AM



Hello,

Quote:
See the documentation on sa_conn_activity:
http://dcx.sybase.com/index.php#http...y-sysproc.html
thanks.

Kind regards
Marten

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.