db
DatabaseFilePolicy

This class defines a specific database file policy. A File Policy is used to purge and/or archive log files on the database workstation. Log files that can be purged and/or archived are:

  1. $DB_INSTALL_DIR/admin/$INSTANCE_NAME/bdump/*alert_*
  2. $DB_INSTALL_DIR/admin/$INSTANCE_NAME/bdump/*trc*
  3. $DB_INSTALL_DIR/admin/$INSTANCE_NAME/udump/*.trc
  4. $ORACLE_HOME/rdbms/audit/*.aud
  5. $ORACLE_HOME/rdbms/log/*.trc
  6. $ORACLE_HOME/rdbms/trace/*.trc
  7. $ORACLE_HOME/network/log/*


public class DatabaseFilePolicy

Properties
description An optional user specified description.

type=string
default=
minimum=0
maximum=80
Displayed(tab/group)=Description

maxSize The maximum combined file size of the database log files before they are purged and/or deleted. Only applicable in maxSizeAndNArchives and maxSize purge modes

type=long
default=100000
minimum=0
maximum=2147483647
units=KB
Displayed(tab/group)=Max (Collective) Log Size (/Purge Details)

numArchives The number of archived log files to keep on the database. As new archives are created, old ones are deleted. Only applicable in maxSizeAndNArchives purge modes

type=int
default=50
minimum=0
maximum=2147483647
Displayed(tab/group)=Number of Archives (/Purge Details)

policyId The unique identifier of a DatabaseFilePolicy object

type=int
access=read-create
default=0
minimum=1
maximum=65535
Displayed(tab/group)=Policy ID

purgeMode The type of purging to be done on the database log files

type=db.FilePurgeMode
default=maxSizeAndNArchives
Displayed(tab/group)=Purge Mode (/Purge Details)

  
Properties inherited from ManagedObject
actionMask, children-Set, deploymentState, isFaultSquelched, name, objectFullName, selfAlarmed