Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Browsing index pages (3587 articles)
↧

Re: Toggle table header output on/off

While isql does not have a command option to turn the display of headers on and off,the sqsh client does have such a command ("headers").  So in terms of having thiscapability under the control of the...

View Article


Re: Toggle table header output on/off

Sound advice Jeff for not polling sysprocesses.Bit off topic but that is what I ended up doing for a badly coded login trigger. As I took up one of my assignments I changed it to stop polling...

View Article


Re: Toggle table header output on/off

Please please please don't poll sysprocesses.   You kill yourself with PSS spinlock contention.   Use the ACF functions and SYS_SESSION: grant select on builtin get_appcontext to public select...

View Article

Re: Toggle table header output on/off

... and then the 'fun' begins ... proc will need to test for the parent application = 'isql' (monProcess(Lookup).Application; sysprocesses.program_name if MDA not available) so that other clients...

View Article

Re: Toggle table header output on/off

Printing headers is not an ASE function - it is result set metadata.  It is up to the client to determine whether to print these or not.   Obviously, "dumb" clients such as isql simply offer a switch...

View Article


Re: Toggle table header output on/off

Use -b on the isql side and use "print" statement inside the procedure to output custom header lines where you need them. To speed up your work you can first capture the header(s) you need with a...

View Article

Re: Toggle table header output on/off

Since the ability to hide/display headers is a client (isql in this case) setting, ASE would need some means of sending a signal to the client that says to override the client's show/hide header...

View Article

Toggle table header output on/off

Hi all, I know isql has the -b parameter that suppresses table header output, but is there any way to turn it back on?  I'm running a stored procedure that outputs some data, and I'd like the headings...

View Article


Re: Missing permissions even though role is granted

You've mentioned a 'new server' so I'm guessing your migration consisted of dumping from 12.5.4 and loading into 16.0 (ie, you did *not* do an in-place upgrade of the dataserver). In the case of...

View Article


Re: Missing permissions even though role is granted

BTW - I am not sure how deleting the 'problematic' user in master helps with the problem in a user database.   Ideally, there shouldn't be too many users in master.   If the 'problematic' user was a...

View Article

Web services server fails to start

HelloWe have just installed and configured Adaptive Server Enterprise/15.7/EBF 24646 SMP SP134  on AIX 7.When trying to boot Web services Server, we get the following error message in webservice.log...

View Article

Re: ASE on Power8 / 16 Cpus + SMT8 ( 128 Vcpus)

Ok thanks for your helpRgdsEmmanuel

View Article

Re: ASE on Power8 / 16 Cpus + SMT8 ( 128 Vcpus)

30-40% Idle is still quite a bit (with large engine counts and aggressive task stealing enabled) and is precisely what I was saying.   But you really need to look at IdleTicks:BusyTicks and TotalTicks.

View Article


Re: ASE on Power8 / 16 Cpus + SMT8 ( 128 Vcpus)

Thanks Jeff I my case the threads User time reaches 60%/70% , so the engines are not excaclty idle. My main question how Can I evaluate the rate or % of the spinlock activity on overall Engine % Usage...

View Article

Re: ASE on Power8 / 16 Cpus + SMT8 ( 128 Vcpus)

The problem is that the engines are largely idle - check monThreads - especially with idle timeout set that high.   I'd reduce idle timeout to 250 for a start.    When the engines are idle (no task in...

View Article


ASE on Power8 / 16 Cpus + SMT8 ( 128 Vcpus)

Hi  I'm performing perfromance testing with ASE 15.7 / SP134 on AIX Power8. The machine has 16 Cores and SMT 8 is activated ASE is configured with 'only' 64 'engines' (ie the thread pool...

View Article

Re: Sybase ASE 15.7 CE with unkillable sleeping process

I'd start with running sybdiag + collecting all possible metrics on the SPID (all MDAs that have any reference to SPID), collect multiple stacktraces (dbcc stacktrace(spid)) and send all this stuff to...

View Article


Re: Sybase ASE 15.7 CE with unkillable sleeping process

If the SPID is not in log suspend mode lct_admin will NOT help. On  test server open a session and try using lct_admin("abort", spid)  and it will return error saying said spid in the database is not...

View Article

Re: Sybase ASE 15.7 CE with unkillable sleeping process

I could and I will try next time but experience tells me you can't kill a process using lct_admin while it is not in log-suspend state. Besides, I'm using "abort tran on log full" so the process would...

View Article

Re: Errors 5859, 5899 and heap error

Hi Swapnil,  Actually I can see the output from dbcc checktable (sysonfigures) as below.  1> use master2> go1> dbcc checktable (sysconfigures)2> goChecking table 'sysconfigures' (object ID...

View Article
Browsing index pages (3587 articles)


Latest Images