Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Browsing all 3587 articles
Browse latest View live

Re: best size of procedure cache size?

It looks like you have quite big enough procedure cache. There is a problem with "Reuse_cnt". You can only reset this by ASE reboot.So the best way is to make ASE reboot after you increase Procredure...

View Article


Re: how to retrieve tree data with one sql query with sybase ase 12.5?

interesting thing is:I create a insert trigger to go through a tree parent, by default, it's fired only one time. Then I turn on recursive by:set self_recursion on it crash ase. error msg from log...

View Article


Re: how to retrieve tree data with one sql query with sybase ase 12.5?

The first couple lines of the stack trace mention issues (overflow, stackguard corruption) with the stack. You could try increasing your stack [guard] sizes via: sp_configure 'stack size' and...

View Article

Re: best size of procedure cache size?

Thanks. but there is no table:master..monProcedureCacheModuleUsagemaster..monProcedureCacheMemoryUsage so these tables available for which version of ase?

View Article

how to check audit setting and read audit data?

I enable auditing for ase and then check information for sysaudits_xx table like: select * from sysaudits_02 order by eventtime desc and got same data like:...

View Article


Re: best size of procedure cache size?

Those tables were introduced in ASE 15.x, ie, they're not available in ASE 12.5.x.

View Article

Re: how to retrieve tree data with one sql query with sybase ase 12.5?

Very helpful info, Mark. thanks.I have a tree data in a table with (id, parentid,...) the depth of the tree reach 100.As I mentioned in for this post, I want to find out all parent id for any node. I...

View Article

Re: how to check audit setting and read audit data?

Hi Kent, In general sp_displayaudit will show you what audit options are currently on. The function audit_event_name  will help you decode the audit event numbers. 1>2> select...

View Article


how to use audit to monitor sp runing and time?

Suppose I have a stored procedure mysp, I want to monitor when the sp is called and running and how much time the sp running(when it's started and when it ends).  Is it possible to use ase auditing to...

View Article


log increase too fast

I have a table with about 1.5G data. I need to update one column for this table like: update mytab set col = value.  In order to see the log space growth, before running update, I truncate log. then...

View Article

Re: log increase too fast

When you update a table, the action is logged so that the server can rollback the transaction if an error happens. Therefore, your log needs to be big enough to hold all that information.The log can't...

View Article

not null or not exists for ase 12.5

try to use case in t-sql like: case when not null(select * from tab) then 1     else 0end or  case when not exists(select * from tab) then 1     else 0end it gives me syntax error at when.  How to fix it?

View Article

Re: how to use audit to monitor sp runing and time?

You could audit execution of the procedure and get the time it was called, but not how long it ran. If you own the procedure, the easiest thing would be to add some logging code to the procedure,...

View Article


Re: how to stop logging in stored procedure?

more than likely, your loop logic can be replaced by sql as Mark suggests.  Depends on what the requirement is, and how many different ways it can be coded.  wihtout actual details in those areas, you...

View Article

Re: not null or not exists for ase 12.5

You're going to have to supply the complete query and the complete error message. The case statement cannot stand by itself but must be part of a larger query, eg: ====================selectcase when...

View Article


Image may be NSFW.
Clik here to view.

Re: not null or not exists for ase 12.5

several possible solutions.  Here is one: 1> select isnull(sum(1),0)  where exists (select 1 from sysobjects)2> select isnull(sum(1),0)  where not exists (select 1 from sysobjects)3>...

View Article

Re: Got error while installing Sybase 15.7

I also get this error with sp122. errorlog of backupserver says : Jun  1 11:03:18 2014: Backup Server: 2.24.2.1: The host '11.22.33.44' is not authorized to connect to this Backup Server. I have...

View Article


Re: Got error while installing Sybase 15.7

Thanks Luc Van for confirmation.  Regards,Murtaza Najmi

View Article

Re: Got error while installing Sybase 15.7

Ok, i solved my problem. The IP Address (syslisteners) of my server is different from the host ip address. I added the ASE server's IP Address  to the hosts.allow file and then the dataserver can...

View Article

Re: create test data in sybase

Thanks Ryan.I was looking for this pubs. Regards,Chandrish M

View Article
Browsing all 3587 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>