Stored procedures changed for security enhancements  force parameter for sp_dropalias

Chapter 12: Changes to Global Variables, Commands, and Stored Procedures

sp_monitor

Earlier versions of Adaptive Server did not include parameters with sp_monitor. Adaptive Server version 12.5.2 adds the parameters described in this section.

NoteBefore using the new parameters associated with sp_monitor, you must set up monitoring tables and the related stored procedures needed to enable these options, which are part of the installmontables script. For more information, see “Installing Monitoring Tables” in Performance and Tuning: Monitoring and Analyzing.

Description

Displays statistics about Adaptive Server.

Syntax

sp_monitor [ connection, [cpu | diskio | elapsed time ] ]  [event, [spid ] ]
[procedure, [ dbname, [ procname, [, summary | detail ] ] ] ]  [ enable ] 
[ disable ] [ statement, [ cpu | diskio | elapsed time ] ] 
[ help], [ connection | statement | procedure | event ] ]

Parameters

connection

cpu | diskio | elapsed time

event

spid

procedure

dbname

procname

summary | detail

enable

disable

statement

cpu | diskio | elapsed time

help

Examples

Usage

Permissions

You must have mon_role permissions to execute sp_monitor. For more information see “Monitoring Tables” Performance and Tuning: Monitoring and Analyzing.





Copyright © 2004. Sybase Inc. All rights reserved. force parameter for sp_dropalias

View this book as PDF