wait_step

The wait_step table holds information about each step that is currently being waited for by a wait defined in the wait table.

Structure

The wait_step table has the following structure:

TABLE wait_step (
node_id number(5) NOT NULL,
proc_id number(5) NOT NULL,
wait_id number(10) NOT NULL,
step_id number(9) NOT NULL)

Column

Description

node_id

ID of the node that the wait is hosted on, as defined in the nodes table.

proc_id

ID of the procedure that the wait belongs to, as defined in the proc_index table.

wait_id

ID of the wait, as defined in the wait_step table.

step_id

Number of the step that is being waited for, as defined (by the step_num column) in the status table.

Primary Key

The following primary key is defined for this table.

Key Name

Column(s)

Index Tablespace

pk_wait_step

wait_id
step_id

BIGINDEXSPACE

Foreign Keys

The following foreign key is defined for this table.

Key Name

Column(s)

Referenced in Table...

fk_wait_step1

node_id
wait_id

wait

Indexes

The following indexes are defined for this table.

Index Name

Column(s) Indexed

Tablespace

idx_wait_step_fk

wait_id
node_id

BIGINDEXSPACE

idx_wait_step

wait_id
proc_id

BIGINDEXSPACE

Storage

The following STORAGE values are defined for this table.

Value

Definition

Initial

BIGTABLESIZE

Percentage Increase

BIGTABLEPCTINCREASE

Tablespace

BIGTABLESPACE

Table Activity

The wait_step table contains one row for each for each step currently being waited for.

Rows are added, updated and deleted in the following situations.

A row is...

When...

added

a new wait is triggered.

updated

never.

deleted

a step that is being waited for is released or withdrawn.