dbs_fields

The dbs_fields table holds the field definitions for every field in every installed iProcess table.

Structure

The dbs_fields table has the following structure:

TABLE dbs_fields (
node_id number(5) NOT NULL,
dbs_id number(5) NOT NULL,
field_id number(5) NOT NULL,
field_name varchar2(15) NOT NULL,
field_type varchar2(1) NOT NULL,
field_length number(5) NOT NULL,
field_decimals number(5) NOT NULL)

Column

Description

node_id

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

dbs_id

ID of the table that this field is defined in, as defined in the dbs_names table.

field_id

Unique ID for the field in this TIBCO iProcess® Engine table.

field_name

Name of this field.

field_type

Field type: Either ASCII (A), Numeric (R), Date (D) or Time (T).

field_length

Length of this field, in characters.

field_decimals

Number of characters after the decimal place in this field (relevant only for Numeric fields).

Primary Key

The following primary key is defined for this table.

Key Name

Column(s)

Index Tablespace

pk_dbs_fields

dbs_id
field_id
node_id

MEDIUMINDEXSPACE

Foreign Keys

The following foreign key is defined for this table.

Key Name

Column(s)

Referenced in Table...

fk_dbs_fields1

node_id
dbs_id

dbs_names

Indexes

The following indexes are defined for this table.

Index Name

Column(s) Indexed

Tablespace

idx_dbs_fields_fk

dbs_id
node_id

MEDIUMINDEXSPACE

idx_dbs_fields

field_id
dbs_id

MEDIUMINDEXSPACE

Storage

The following STORAGE values are defined for this table.

Value

Definition

Initial

MEDIUMTABLESIZE

Percentage Increase

MEDIUMTABLEPCTINCREASE

Tablespace

MEDIUMTABLESPACE

Table Activity

The dbs_fields table contains one row for each field in each installed TIBCO iProcess table.

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 Tables data area has been modified.

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

updated

never.

deleted

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

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