dbTalk Databases Forums  

Sybase Performance Metrics API

comp.databases.sybase comp.databases.sybase


Discuss Sybase Performance Metrics API in the comp.databases.sybase forum.



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

Default Sybase Performance Metrics API - 04-15-2004 , 07:39 AM






Hi,

I am pretty new to Sybase and Databases in general.
Working with Sybase ASE 11.9.2

I require to get various query statistics such as response times,
cache hits, lock statistics from my C code.

Could you guide me about how to go about doing this. I read about
sp_sysmon procedure. Is there any APIs that could be called instead?

Also, any pointers to the load on the Database itself when such
queries are fired regularly say every 1 minute?

Thanks in advance,
Kaviall

Reply With Quote
  #2  
Old   
Michael Peppler
 
Posts: n/a

Default Re: Sybase Performance Metrics API - 04-15-2004 , 09:31 AM






On Thu, 15 Apr 2004 05:39:15 -0700, Kaviall wrote:

Quote:
Hi,

I am pretty new to Sybase and Databases in general. Working with Sybase
ASE 11.9.2

I require to get various query statistics such as response times, cache
hits, lock statistics from my C code.

Could you guide me about how to go about doing this. I read about
sp_sysmon procedure. Is there any APIs that could be called instead?

Also, any pointers to the load on the Database itself when such queries
are fired regularly say every 1 minute?
Look at the monitor server and historical server.

Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler (AT) peppler (DOT) org http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.peppler.org/resume.html



Reply With Quote
  #3  
Old   
Kaviall
 
Posts: n/a

Default Re: Sybase Performance Metrics API - 04-15-2004 , 10:51 PM



Michael Peppler <mpeppler (AT) peppler (DOT) org> wrote

Quote:
On Thu, 15 Apr 2004 05:39:15 -0700, Kaviall wrote:

Hi,

I am pretty new to Sybase and Databases in general. Working with Sybase
ASE 11.9.2

I require to get various query statistics such as response times, cache
hits, lock statistics from my C code.

Could you guide me about how to go about doing this. I read about
sp_sysmon procedure. Is there any APIs that could be called instead?

Also, any pointers to the load on the Database itself when such queries
are fired regularly say every 1 minute?

Look at the monitor server and historical server.

Michael

Thanks,

But we need to directly access the Sybase ASE statistics without the
Monitor server running. Does ASE provide any APIs to derefernce the
Shared mem statistics which the Monitor sefver would have done?

Thanks again,
Kaviall


Reply With Quote
  #4  
Old   
Michael Peppler
 
Posts: n/a

Default Re: Sybase Performance Metrics API - 04-16-2004 , 09:32 AM



On Thu, 15 Apr 2004 20:51:38 -0700, Kaviall wrote:

Quote:
Michael Peppler <mpeppler (AT) peppler (DOT) org> wrote in message
news:<pan.2004.04.15.14.31.35.533253 (AT) peppler (DOT) org>...
On Thu, 15 Apr 2004 05:39:15 -0700, Kaviall wrote:

Hi,

I am pretty new to Sybase and Databases in general. Working with
Sybase ASE 11.9.2

I require to get various query statistics such as response times,
cache hits, lock statistics from my C code.

Could you guide me about how to go about doing this. I read about
sp_sysmon procedure. Is there any APIs that could be called instead?

Also, any pointers to the load on the Database itself when such
queries are fired regularly say every 1 minute?

Look at the monitor server and historical server.

Michael


Thanks,

But we need to directly access the Sybase ASE statistics without the
Monitor server running. Does ASE provide any APIs to derefernce the Shared
mem statistics which the Monitor sefver would have done?
There's no published API that I know of. You might be able to get some
information from Sybase.

Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler (AT) peppler (DOT) org http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.peppler.org/resume.html



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.