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 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 differences in data types between Oracle and SQL Server are noted in Table 17. The Oracle type is on the first line, and the SQL Server type is on the second.
Table 17 SBYN_SEQ_TABLE Table Description
Column Name |
Data Type |
Description |
---|---|---|
VARCHAR2(20) Varchar(20) |
The name of the object for which the sequential ID is stored. |
|
NUMBER(38) numeric(38, 0) |
The current value of the sequence. The next record will be assigned the current value plus one. |
The default sequence numbers are listed in Table 18.
Table 18 Default Sequence Numbers
Sequence Name |
Description |
---|---|
The sequence number that determines how EUIDs are assigned to new records. The chunk size for the EUID sequence number is configurable in the Threshold file. |
|
The sequence number assigned each potential duplicate transaction record in sbyn_potentialduplicates (column name “potentialduplicateid”). |
|
The sequence number assigned to each transaction in the master index application. This number is stored in sbyn_transaction (column name “transactionnumber”). |
|
The sequence number assigned to each assumed match transaction record in sbyn_assumedmatch (column name “assumedmatchid”). |
|
The sequence number assigned to each audit log record in sbyn_audit (column name “audit_id”). |
|
The sequence number assigned to each merge transaction in sbyn_merge (column name “merge_id”). |
|
The sequence number assigned to each application listed in sbyn_appl (column name “appl_id”) |
|
The sequence number assigned to each common table data type listed in sbyn_common_header (column name “common_header_id”). |
|
The sequence number assigned to each common table data element listed in sbyn_common_detail (column name “common_detail_id”). |
|
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. |
|
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. |