After you enable ARCHIVELOG, you can change the archiving status at the archive destination to DEFER to suspend archiving.
Background information
The following table describes the archiving status at the archive destination.
| Status | Description |
|---|---|
| ENABLE | Archiving is enabled at the archive destination. By default, the archive destination is in the ENABLE state. |
| DEFER | Archiving is stopped at the archive destination. If the archive destination is in this state, the system will suspend any existing archiving jobs. |
Procedure
Log in to the database as an administrator of the
systenant or a user tenant.Note
The administrator user is the
rootuser in MySQL mode and theSYSuser in Oracle mode.Disable archiving at the archive destination.
Execute the following statement in the
systenant to disable archiving at the archive destination for a specified tenant:ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE='DEFER' TENANT = tenant_name;Execute the following statement in a user tenant to disable archiving at the archive destination for the tenant:
ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE='DEFER';
Query the archiving status of the archive destination from a view. For more information, see View the archiving parameter settings.
What to do next
After archiving is suspended, you can re-enable archiving by setting the archiving status at the archive destination to ENABLE.