-ml Thisoption makes it possible for dbremote to delete old mirror log
fileswhen either of the following two circumstances occur:
theoffline mirror log is located in a different directory from the mirror
transactionlog
dbremoteis run on a different machine from the remote database server
Ina typical setup, the active mirror log and renamed mirror transaction logs
arelocated in the same directory, and dbremote is run on the same machine
asthe remote database, so this option is not required and old mirror log files
areautomatically deleted. Transactionlogs in this directory are only affected
ifthe DELETE_OLD_LOGS database option is set to ON or DELAY.
–o Appendoutput to a log file. Defaultis to send output to the screen.
–os Specifiesthe maximum file size for logging output messages. The
allowedsize can be specified as
n
(bytes),
n
K(Kb),or
n
M(Mb). By default
thereis no limit, and the minimum limit is 10000 bytes.
BeforeSQL Remote logs output messages to a file, it checks the current file
size. If the log message will make the file size exceed the specified size,
SQLRemote renames the output file to
yymmddxx.dbr
(fordbremote) and
yymmddxx.ss
r(for ssremote) where xx are sequential characters ranging
fromAA to ZZ, and
yymmdd
representsthe current year, month, and date.
Ifthe Message Agent us running in continuous mode for a long time, this
optionallows you to manually delete old log files and free up disk space.
–ot Truncatethe log file and then append output messages to it. Defaultis
tosend output to the screen.
–p Processthe messages without purging them.
–q ForWindowing operating systems only, starts the Message Agent with
aminimized window.
–r Receivemessages. Ifnone of -r,-I, or -s is specified, the Message
Agentexecutes all three phases. Otherwise,only the indicated phases are
executed.
TheMessage Agent runs in continuous mode if called with -r. Tohave the
MessageAgent shut down after receiving messages, use the -b option in
additionto -r .
–rdtime Bydefault, the Message Agent polls for incoming messages
everyminute. Thisoption (rd stands for receive delay) allows the polling
frequencyto be configured, which is useful when polling is expensive.
Youcan use a suffix of safter the number to indicate seconds, which may be
usefulif you want frequent polling. Forexample:
298