sp_showcontrolinfo  sp_showplan

Chapter 1: System Procedures

sp_showexeclass

Description

Displays the execution class attributes and the engines in any engine group associated with the specified execution class.

Syntax

sp_showexeclass [execlassname]

Parameters

execlassname

is the name of an execution class.

Examples

Example 1

Displays the priority and engine group attribute values for all execution classes:

sp_showexeclass
classname   priority   engine_group   engines
---------  ---------- ------------- -----------
EC1         HIGH       ANYENGINE          ALL 
EC2         MEDIUM     ANYENGINE          ALL 
EC3         LOW        LASTONLINE         0 

Example 2

Displays the attribute values of execution class EC1:

sp_showexeclass 'EC1'
classname   priority   engine_group           engines
----------- ---------- ---------------------- -----------
EC1         HIGH       ANYENGINE              ALL 

Usage

Permissions

Any user can execute sp_showexeclass.

Auditing

Values in event and extrainfo columns from the sysaudits table are:

Event

Audit option

Command or access audited

Information in extrainfo

38

exec_procedure

Execution of a procedure

  • Roles – Current active roles

  • Keywords or options – NULL

  • Previous value – NULL

  • Current value – NULL

  • Other information – All input parameters

  • Proxy information – Original login name, if set proxy in effect

See also

System procedures sp_addexeclass, sp_bindexeclass, sp_dropexeclass, sp_showcontrolinfo, sp_unbindexeclass





Copyright © 2005. Sybase Inc. All rights reserved. sp_showplan

View this book as PDF