Skip to Content
Oracle Distributed Systems
book

Oracle Distributed Systems

by Charles Dye
April 1999
Intermediate to advanced
552 pages
15h 39m
English
O'Reilly Media, Inc.
Content preview from Oracle Distributed Systems

Name

DBMS_DEFER_SYS.SCHEDULE_EXECUTION

Synopsis

If you are using the advanced replication facilities or if your application queues deferred RPCs on a continual basis, then you should schedule the calls to the EXECUTE procedure at prescribed intervals for each destination. The SCHEDULE_EXECUTION procedure does just that by placing calls to the EXECUTE procedure in the job queue.

PROCEDURE DBMS_DEFER_SYS.SCHEDULE_EXECUTION
   (dblink IN VARCHAR2,
    interval IN VARCHAR2,
    next_date IN DATE,
    reset IN BOOLEAN default FALSE,
    stop_on_error IN BOOLEAN := NULL,
    transaction_count IN BINARY_INTEGER := NULL,
    execution_seconds IN BINARY_INTEGER := NULL,
    execute_as_user IN BOOLEAN := NULL,
    delay_seconds IN NATURAL := NULL,
    batch_size IN NATURAL := NULL);

The SCHEDULE_EXECUTION procedure does not raise any exceptions nor are there any restrictions on calling this procedure.

Parameters

Parameter Name

Description

dblink

Global name of the destination database.

interval

Frequency with which to execute the RPC.

next_date

First time to execute transactions queued for dblink.

reset

If TRUE, then last_txn_count, last_error, and last_msg are nulled in DEFSCHEDULE data dictionary view for this dblink.

stop_on_error

If not NULL, value is used by the call to EXECUTE.

transaction_count

If not NULL, value is used by the call to EXECUTE.

execution_seconds

If not NULL, value is used by the call to EXECUTE.

execute_as_user

If not NULL, value is used by the call to DBMS_DEFER_SYS.EXECUTE (obsolete in Oracle8).

delay_seconds

If not NULL, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Expert Oracle Exadata, Second Edition

Expert Oracle Exadata, Second Edition

Martin Bach, Karl Arao, Andy Colvin, Frits Hoogland, Randy Johnson, Kerry Osborne, Tanel Poder
Expert Oracle RAC 12c

Expert Oracle RAC 12c

Syed Jaffar Hussain, Tariq Farooq, Riyaj Shamsudeen, Kai Yu

Publisher Resources

ISBN: 1565924320Supplemental ContentCatalog PageErrata