Main Page | Report this Page
Computers Forum Index  »  Computer - Databases - Sybase  »  Sybase log...
Page 1 of 1    

Sybase log...

Author Message
Subind...
Posted: Mon Sep 08, 2008 3:08 pm
Guest
Hello All,

Is there a way to determine which stored proc / SQL ran on a given day
in Sybase?
Does Sybase maintain a log which have these information?

Thanks in advance,
Subind.
 
Bret_Halford...
Posted: Mon Sep 08, 2008 3:38 pm
Guest
On Sep 8, 9:08 am, Subind <subind... at (no spam) gmail.com> wrote:
Quote:
Hello All,

Is there a way to determine which stored proc / SQL ran on a given day
in Sybase?
Does Sybase maintain a log which have these information?

Thanks in advance,
Subind.

Which of Sybase's database products are you asking about?
(Adaptive Server Enterprise? SQL Anywhere? IQ?)

If ASE, you can use the auditing feature to audit all cmdtext sent by
clients.
You can also use the mda monitoring table monSysSQLText if you
configure the
"max sql text monitored" configuration high enough to store a full
day's worth,
so arrange for a scheduled job to regularly flush the contents to more
permanent
storage. monSysStatement can give you exactly which stored
procedures ran and when.
 
Marcin Najs...
Posted: Fri Sep 12, 2008 5:01 pm
Guest
Subind pisze:
Quote:
Hello All,

Is there a way to determine which stored proc / SQL ran on a given day
in Sybase?
Does Sybase maintain a log which have these information?

Thanks in advance,
Subind.

Hi,
You can turn on Auditing for ASE (or you can use MDA tables)
More details: http://infocenter.sybase.com

Regards,

--
Marcin Najs
 
 
Page 1 of 1    
All times are GMT
The time now is Tue Mar 16, 2010 2:09 am