Understanding Sun Master Index Processing

SBYN_SEQ_TABLE

This table controls and maintains a record of the sequential identification numbers used in various tables in the database, ensuring that each number is unique and assigned in order. Several of the ID numbers maintained in this table are determined by the object structure. The numbers are assigned sequentially, but are cached in chunks of 1000 numbers for optimization (so the application does not need to query the sbyn_seq_table table for each transaction). The chunk size for the EUID sequence is configurable. If the Repository server is reset before all allocated numbers are used, the unused numbers are discarded and never used, and numbering is restarted at the beginning of the next 1000-number chunk.

The following table lists Oracle data types. For information about the differences in data types between database vendors, see Table 3.

Table 16 SBYN_SEQ_TABLE Table Description

Column Name 

Data Type 

Description 

SEQ_NAME

VARCHAR2(20) 

The name of the object for which the sequential ID is stored. 

SEQ_COUNT

NUMBER(38) 

The current value of the sequence. The next record will be assigned the current value plus one. 

The default sequence numbers are listed in the following table.

Table 17 Default Sequence Numbers

Sequence Name 

Description 

EUID

The sequence number that determines how EUIDs are assigned to new records. The chunk size for the EUID sequence number is configurable in the master.xml file.

POTENTIALDUPLICATE

The sequence number assigned each potential duplicate transaction record in sbyn_potentialduplicates (column name “potentialduplicateid”). 

TRANSACTIONNUMBER

The sequence number assigned to each transaction in the master index application. This number is stored in sbyn_transaction (column name “transactionnumber”). 

ASSUMEDMATCH

The sequence number assigned to each assumed match transaction record in sbyn_assumedmatch (column name “assumedmatchid”). 

AUDIT

The sequence number assigned to each audit log record in sbyn_audit (column name “audit_id”). 

MERGE

The sequence number assigned to each merge transaction in sbyn_merge (column name “merge_id”). 

SBYN_APPL

The sequence number assigned to each application listed in sbyn_appl (column name “appl_id”) 

SBYN_COMMON_HEADER

The sequence number assigned to each common table data type listed in sbyn_common_header (column name “common_header_id”). 

SBYN_COMMON_DETAIL

The sequence number assigned to each common table data element listed in sbyn_common_detail (column name “common_detail_id”). 

OBJECT_NAME

Each parent and child object system record table is assigned a sequential ID. The column names are named after the object (for example, sbyn_address has a sequential column named “addressid”). The parent object ID is included in each child object table. 

OBJECT_NAMESBR

Each parent and child object SBR table is assigned a sequential ID. The column names are named after the object (for example, sbyn_addresssbr has a sequential column named “addressid”). The parent object ID is included in each child object SBR table.