Appendix A Origin Queue ID

Each record in the transaction log is identified by the origin queue ID. The format of the origin queue ID is determined by the primary database type and the Replication Agent instance.

The origin queue ID (OQID) for Sybase Adaptive Server Replication Agent is 36 bytes and contains the following fields:

Bytes

Contents

1-2 (2)

Generation number

3-8 (6)

Log page timestamp

9-14 (6)

Rowid of this tran

15-20 (6)

Rowid of begin tran

21-28 (8)

Datetime of begin tran

29-30 (2)

Reserved for RepAgent to delete orphans

31-32 (2)

Unused

33-34 (2)

Appended by TD (Transaction Delivery module) for uniqueness

35-36 (2)

Appended by MD (Message Delivery module)

The origin queue ID for Replication Agent 15.0 is 32 ...

Get Sybase 15.0 Replication Server Administration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.