A. OLCmd Reference
OLCmd dbage
The dbage command removes older records from the performance statistics database.
Format:
OLCmd dbage [-n instance ] [[ -d -a ] [[ -raw days ] [ -rpt days ]] -dd]
Where: |
|
| Specifies the database name. If |
| database is used. |
Removes records from the database by device according to | |
| the parameters selected when each device was added. |
Removes records from the database using the number of | |
| days in the |
| Optionally specifies the age in days of the oldest Raw |
| |
| overrides the Save Raw Data For value entered when each |
| device was added to the database. If 0 is specified, all Raw |
| data records in the database are deleted. |
| Optionally specifies the age in days of the oldest Report |
| (hourly user history) data record to be retained. This |
| overrides the Save Report Data For value entered when |
| each device was added to the database. If 0 is specified, all |
| Report data records in the database are deleted. |
Optionally deletes data for connections which no longer | |
| exist. The |
| |
| A connection is determined to be nonexistent when an |
| interface appears in the user history database but not in the |
| LDAP database. If the |
| records for nonexistent connections are eventually deleted |
| like other records, according to age. |
Example:
To delete Report data records older than 90 days and Raw data records older than
7 days, enter the command:
OLCmd dbage -n OracleStatsDB -raw 7 -rpt 90
To delete all records for nonexistent connections, then delete Report and Raw data records according to individual device definitions, enter the commands:
OLCmd dbage
OLCmd dbage
| January 2002 |