Stores information about subscriptions, triggers, and fragments.
Column |
Datatype |
Description |
---|---|---|
subname |
varchar(255) |
Name of the subscription, trigger, or fragment. |
subid |
rs_id |
ID for this subscription or fragment. |
type |
int |
Object type:
|
objid |
rs_id |
ID for the table replication definition, function replication definition, article, or publication for this subscription. Or, ID for fragment, or event for this trigger. |
dbid |
int |
ID of the database this object belongs to. |
pdbid |
int |
For system table replication and publication or article subscriptions, the value of <pdbid> is the ID of the primary database for the replication definition. Otherwise, value is 0. |
requestdate |
datetime |
Date and time the last DDL request (create, drop, alter) was entered. |
pownerid |
rs_id |
User ID at the primary Replication Server. |
rownerid |
rs_id |
User ID at the replicate Replication Server. |
status |
int |
|
recovering |
int |
Subscription recovery status:
|
error_flag |
int |
If set, subscription is unrecoverable |
materializing |
int |
If set, subscription is materializing |
dematerializing |
int |
If set, subscription is dematerializing |
primary_sre |
int |
If set, the subscription should be included in the subscription resolution engine at the primary Replication Server |
replicate_sre |
int |
If set, the subscription should be included in the subscription resolution engine at the replicate Replication Server |
released | int |
Status of a table subscription with database materialization |
materialization_try |
int |
Number of times this atomic materialization has been tried |
method |
int |
Method for materializing the subscription:
Note
For function replication definitions, this column is always set to 0x02 (bulk) |
generation |
binary(4) |
Generation number for the origin queue ID of the materialization queue |
parentid |
rs_id |
ID for the subscription for a publication if the current subscription is for an article. |
security |
int |
Security settings:
|
mechanism |
varchar(30) |
Name of the security mechanism Default: empty string |
tableowner |
varchar(30) |
Name of the table owner. |
tablename |
varchar(255) |
Table name. |
prsid |
int |
Primary SAP Replication Server ID The prsid value in the rs_subscriptions system table is always the prsid value in the rs_dbsubsets table |
num_selects |
int |
Number of select threads used with the direct load option. |
Unique clustered index on (subid)
Unique index on (objid, dbid, subname)
Unique index on (subid, recovering, error_flag,, materializing, dematerializing, primary_sre,replicate_sre, released)
Index on (recovering, requestdate )
Unique index on (subid, status)
Unique index on (objid)
Unique index on (pdbid)