Hm, it is rather a broad question. One of the Sybase P&T modules talks about sp_sysmon output but doesn't put a lot of hard numbers behind it.
I haven't taught the P&T courses as of ASE 15.0.x, but the 12.5.x versions at least mentioned the parts of sp_sysmon relevant to each section.
Asking "how do I interpret the output" is a bit like asking "how do I interpret an x-ray or ultrasound scan?" We kinda need to know what you were looking for and what motivated you to run sp_sysmon in the first place. I know I have a few sections I always scan first (context switches, data cache hit rates per second, device semaphore waits on devices), but the next area I look at after those totally depends on what I saw there.
Start with context switches. Roughly speaking this is where ASE is telling you "these are the reasons I didn't get more work done."
Note that a very good reason for not getting more work done is because there wasn't any more work to do! If the application tries to do most of the work itself and doesn't ask much of the database (or asks it very slowly) then Sybase will never show anything much in sp_sysmon.
I will slightly disagree with my learned colleague IncisiveOne and suggest a better starting place for sp_sysmon duration might be 20-30 minutes. It uses integer counters and in a very busy server these will overflow for long durations. Pick the busiest/worst time on your busiest/worst server, then we might see something interesting. Post an output here, you'll have half a dozen of us picking it to pieces immediately! :)
Main Topics
Browse All Topics





by: IncisiveOnePosted on 2009-02-10 at 15:15:34ID: 23606657
This is not a fair "question", it will lead into a tutorial, with the complication of several experts having several different viewpoints. You are better off (a) posting the sysmon report [please ensure it is for a few hours duration on a busy server] and (b) asking EE to identify the bottlenecks and suggest enhancements. If you have been on the courses and you are still struggling then we have an additional obstacle to providing you with help (we will be giving you the same information). Unless you have formal IT education, and an understanding of the hardware; server software; and database architecture in general, it is no use trying to understand Sybase ASE in particular.
Remember also, there are many layers of P&T, in reducing order of importance/benefit obtained:
- Data Model (your particular db)
- application (transaction design)
- server resource allocation
- server coupling to the machine (your particular machine)
- server configuration (tweaking parms)
That's why P&T is a hands-on exercise, after you have gained substantial experience actually improving each of the above areas.