ra_deviceoffset

(Microsoft SQL Server only) Changes the raw disk device read offset for a log device recorded in the RASD.

Syntax

ra_deviceoffset device_id, device_offset

Parameters

Examples

Usage

  • When ra_devicepath is invoked, Replication Agent records the specified raw device read offset for the specified log device in the RASD.

  • To get information about log devices stored in the RASD, use the ra_helpdevice command.

  • When ra_updatedevices is invoked, device offset is not reset to the default value. The default device read offset is zero.

  • If ra_deviceoffset is invoked when the Replication Agent instance is in Replicating state, it returns an error.

  • The ra_deviceoffset command is valid only when the Replication Agent instance is in the Admin, Replicating, or Replication Down state.

Related reference
ra_helpdevice
pdb_xlog
ra_admin
ra_updatedevices