Stores information about subscriptions, triggers, and fragments.
Column |
Datatype |
Description |
---|---|---|
subname |
varchar(30) |
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 |
materialization_try |
int |
Number of times this atomic materialization has been tried |
method |
int |
Method for materializing the subscription:
For function replication definitions, this column is always set to 0x02 (bulk) |
generation |
binary |
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:
Default: 0 |
mechanism |
char(30) |
Name of security mechanism Default: NULL |
Unique clustered index on (subid)
Unique index on (objid, dbid, subname)
Unique index on (subid, recovering, error_flag, materializing, dematerializing, primary_sre, replicate_sre)
Unique index on (subid, status)