Entering content frame

Object documentation Overview of the Task States Locate the document in its SAP Library structure

Definition

The task state shows whether a task is active and which task it is currently being executed.

Use

To display the current task state, you can use the XCONS tool (database console), for example.

Task states

Name

Description

AsynClose

Closes I/O ports after the backup or recovery

AsynCntl

Determines parameter or initializes a backup device

AsynIO

Executes an asynchronous I/O operation (during backup or recovery)

AsynOpen

Opens I/O ports for the backup or recovery

AsynWaitRead/Write

Waits for the end of an I/O operation during backup or recovery

Command reply

Communicates the result of a request to the application

Command wait

Database session without a request

Connect wait

Free database session

DcomObjCalled

Executes a database procedure or a COM object

Diaginit

Initializes the database-internal trace file

Inactive

Is in an initial state and has no resources (such as a stack)

InsertEvent

Generates an event

IO wait (W/R)

Waits for the result of an I/O operation (W: write, R: read)

Locked

Was locked as the kernel was shut down (to avoid this task being rescheduled)

RescheduleMsec

Short-term wait situation, runs again automatically after a predefined time span (in microseconds)

Runnable

Can be run immediately, but was replaced with another task due to a long runtime or prioritization

Running

Running, using CPU

Stopped

Was suspended by the kernel and is waiting to run again

Sus<...>

Special suspend situations (can have different names)

Terminated

Task or database session was ended

UNKNOWN

Task state is unknown

Vattach

Opens I/O ports (volumes, normal operation)

Vbegexcl

Waiting to enter a protected area

Vdetach

Closes I/O ports (volumes, normal operation)

Vdevsize

Determines the size of a volume or formats a volume

Vdualvectorio

Performs a vector I/O operation (read or write) on two volumes in parallel

Vendexcl

Leaves a protected area

VenterRWRegion

Waiting to enter a protected area (reader/writer region)

Vfclose

Closes a file

Vfopen

Opens a file

Vfwrite

Writes to a file

VleaveRWRegion

Leaves a protected area (reader/writer region)

Vopmsg

Writes a message in one of the following database files: knldiag, knldiag.err, opmsg[n]

Vrelease

Ends the database session

Vshutdown

Changes the operational state of the database instance from ONLINE to ADMIN

Vsleep

Short-term wait situation, runs again after a predefined time span

Vsuspend

Is suspended and waiting to be re-activated explicitly by another task (Vresume). Example: waiting for B* tree lock (very short) or log I/O

Vvectorio

Executes a vector I/O operation (read or write)

Vwait

Is waiting to be re-activated explicitly by another task (Vsignal). Example: task is waiting for an SQL lock

WaitForEvent

Waiting for an event

 

 

Leaving content frame