role_users

The role_users table holds information about which roles are defined on the system, and which queues are assigned to them.

Structure

The role_users table has the following structure:

TABLE role_users (
node_id number(5) NOT NULL,
role_id number(5) NOT NULL,
role_name varchar2(15) NOT NULL,
usernode_name varchar2(49) NOT NULL)

Column

Description

node_id

ID of the node that this role is registered on, as defined in the nodes table.

role_id

Unique ID for this role.

role_name

Name of this role.

usernode_name

Name of the (user or group) queue that the role is assigned to, as defined in the user_names table.

Primary Key

The following primary key is defined for this table.

Key Name

Column(s)

Index Tablespace

pk_role_users

role_id
node_id

MEDIUMINDEXSPACE

Foreign Keys

The following foreign key is defined for this table.

Key Name

Column(s)

Referenced in Table...

fk_role_users1

node_id

nodes

Indexes

The following index is defined for this table.

Index Name

Column(s) Indexed

Tablespace

idx_role_users_fk

node_id

MEDIUMINDEXSPACE

Storage

The following STORAGE values are defined for this table.

Value

Definition

Initial

MEDIUMTABLESIZE

Percentage Increase

MEDIUMTABLEPCTINCREASE

Tablespace

MEDIUMTABLESPACE

Table Activity

The role_users table contains one row for each role defined on the system.

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

A row is...

When...

added

a Move System Information is performed, if the flag_table indicates that the Roles data area has been modified.

Note: The table is purged and rewritten using the values from the tsys_role_users table.

updated

never.

deleted

a Move System Information is performed, if the flag_table indicates that the Roles data area has been modified.

Note: The table is purged and rewritten using the values from the tsys_role_users table.