16.4 Managing Collections
Manage directories configured in Oracle Trace File Analyzer and diagnostic collections.
- Including Directories
Add directories to the Oracle Trace File Analyzer configuration to include the directories in diagnostic collections. - Managing the Size of Collections
Use the Oracle Trace File Analyzer configuration optionstrimfiles
,maxcorefilesize
,maxcorecollectionsize
, anddiagcollect
-cores
to include core files. - Temporarily Restrict Automatic Diagnostic Collections for Specific Events
Use thetfactl blackout
command to suppress automatic diagnostic collections.
Parent topic: Managing and Configuring Oracle Trace File Analyzer
16.4.1 Including Directories
Add directories to the Oracle Trace File Analyzer configuration to include the directories in diagnostic collections.
Oracle Trace File Analyzer then stores diagnostic collection metadata about the:
-
Directory
-
Subdirectories
-
Files in the directory and all sub directories
All Oracle Trace File Analyzer users can add directories they have read access to.
To manage directories:
Related Topics
Parent topic: Managing Collections
16.4.2 Managing the Size of Collections
Use the Oracle Trace File Analyzer configuration options
trimfiles
, maxcorefilesize
,
maxcorecollectionsize
, and diagcollect
-cores
to include core files.
To manage the size of collections:
Related Topics
Parent topic: Managing Collections
16.4.3 Temporarily Restrict Automatic Diagnostic Collections for Specific Events
Use the tfactl blackout
command to suppress automatic diagnostic collections.
If you set blackout for a target, then Oracle Trace File Analyzer stops automatic diagnostic collections if it finds events in the alert logs for that target while scanning.
You can also restrict automatic diagnostic collection at a granular level, for example, only for ORA-00600
or even only ORA-00600
with specific arguments.
tfactl blackout add -targettype database -target mydb -event "ORA-00600"
Event "ORA-00600" is blacked out until Wed Feb 20 00:20:34 PST 2019 on targettype : database, target : mydb
- Blackout the database you are about to create
- Create the database
- Remove the blackout
Parent topic: Managing Collections