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 > Sybase > Tracing in ase

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-18-10, 12:25
jarchies jarchies is offline
Registered User
 
Join Date: Jun 2010
Posts: 9
Tracing in ase

how to trace which command were received by ASE server and in which order?
just as we do in IQ "RequestLogFile" is there any similar option available in ASE?
Reply With Quote
  #2 (permalink)  
Old 08-21-10, 13:55
sybanva sybanva is offline
Registered User
 
Join Date: Aug 2010
Location: India
Posts: 23
Thumbs up

Hi,
Please go through below article:
=============================

Version 15.0.2 of ASE comes with the new feature of 'application tracing'. This is simple mechanism to figure out what your client applications are actually doing: apptracing lets you capture the SQL submitted to the ASE server by a specific client connection, and writes it into a file.
Basically, it works as follows : there's an application connected to your ASE server with session number (spid #) 54, and you want to see what SQL it is actually executing. You run the following SQL:

set tracefile '/tmp/spid54.trace.out' for 54
set show_sqltext on

... and from here on, any SQL executed by the application on session 54 will be captured into the file /tmp/spid54.trace.out.

Source : www, sybase website
White paper acan be downloadedfrom sybase.com
http://www.sybase.com/files/White_Pa...-070507-wp.pdf

Cheers!!
__________________
Thanks,
sybanva
http://sybaseblog.com

Last edited by sybanva; 08-21-10 at 14:04.
Reply With Quote
Reply

Tags
sybase, sybase ase

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