sp_showexeclass

Description

Displays the execution class attributes and the thread pool name associated with the specified execution class.

Considerations for process mode

In process mode, sp_showexeclass 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 thread pool for all execution classes:

sp_showexeclass
classname            priority      threadpool
------------------   ---------     ---------------
EC1                       HIGH    syb_default_pool
EC2                     MEDIUM    syb_default_pool
EC3                          LOW     syb_default_pool

Example 2

Displays the attribute values of execution class EC1:

sp_showexeclass 'EC1'
classname            priority      threadpool
------------------   ---------     ---------------
EC1                         HIGH      syb_default_pool 

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