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.PURGE (Oracle8 Only)

Synopsis

The PURGE procedure purges transactions that have been propagated from the deferred transaction queue.

FUNCTION DBMS_DEFER_SYS.PURGE(
   purge_method IN BINARY_INTEGER := purge_method_quick,
   rollback_segment IN VARCHAR2 := NULL,
   startup_seconds IN BINARY_INTEGER := 0,
   execution_seconds IN BINARY_INTEGER := seconds_infinity,
   delay_seconds IN BINARY_INTEGER := 0,
   transaction_count IN BINARY_INTEGER := transactions_infinity,
   write_trace IN BOOLEAN := FALSE )
RETURN BINARY_INTEGER;

Parameters

Parameter Name

Description

purge_method

1 = purge_method_quick (not necessarily complete, but faster).

2 = purge_method_precise (complete purge).

rollback_segment

Which rollback segment should be used.

startup_seconds

Maximum number of seconds to wait for the completion of a previous push to the same destination.

execution_seconds

If > 0, maximum number of seconds to spend executing transactions.

delay_seconds

If > 0, routine sleeps for this many seconds before resuming when there are no more transactions to push to destination.

transaction_count

Maximum number of transactions to push per execution.

write_trace

If TRUE, record result in a trace file.

The return values for PURGE are listed in the following table:

Value

Meaning

0

Normal completion after delay_seconds expired

1

Terminated by lock timeout while starting

2

Terminated by exceeding execution_seconds

3

Terminated by exceeding transaction_count

4

Terminated at delivery_order_limit

5

Terminated after errors

Exceptions

Exception ...

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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Oracle SQL Tuning with Oracle SQLTXPLAIN: Oracle Database 12c Edition, Second Edition

Oracle SQL Tuning with Oracle SQLTXPLAIN: Oracle Database 12c Edition, Second Edition

Stelios Charalambides
Expert Oracle Exadata, Second Edition

Expert Oracle Exadata, Second Edition

Martin Bach, Karl Arao, Andy Colvin, Frits Hoogland, Randy Johnson, Kerry Osborne, Tanel Poder

Publisher Resources

ISBN: 1565924320Catalog PageErrata