Trace File Analyzer (TFA)


The Oracle Trace File Analyzer (TFA) analyzes trace files and packages them up in a zip file for upload to My Oracle Support (MOS).

If the TFA is already installed, reinstalling will perform an upgrade to the existing location. If it is not already installed, the recommended location is /opt/oracle.tfa

The Cluster Ready Services (CRS) do not manage Oracle Trace File Analyzer. This is because it needs to be available should CRS go down. The installation configures Oracle Trace File Analyzer for auto start (via init).


Download latest TFA via: Doc ID 1513912.1

 su -
 mkdir /u01/orasw/tfa
 cp file to /u01/orasw/tfa
 cd /u01/orasw/tfa

 Do you want to continue with patching TFA? [Y|N] [Y]: Y

 If RAC you will get this prompt:
  Do you want to configure SSH on these nodes ? [Y|N] [Y]: Y

 Process runs...

Success looks similar to this:

 | Host  | TFA Version | TFA Build ID         | Upgrade Status |
 | lnx01 | | 12213020171106082156 | UPGRADED       |


Perform as the root user.

Format: tfactl diagcollect -from "yyyy-mm-dd hh:mm:ss" -to "yyyy-mm-dd hh:mm:ss"
Example: ./tfactl diagcollect -from "2017-11-17 14:00:00" -to "2017-11-20 16:00:00"


  • cd /u01/app/oracle/tfa/bin


  • cd /u01/app/

Run Command

 ./tfactl diagcollect -from "2017-11-17 13:00:00" -to "2017-11-17 16:00:00"

The -all option is now deprecated as this is the default.

Output looks similar to this:

 |        Collection Summary        |
 | Host  | Status    | Size  | Time |
 | lnx01 | Completed | 224kB |  31s |


Logs are collected to: /u01/app/oracle/tfa/repository/collection_<date>


Logs are collected to: /u01/app/grid/tfa/repository/collection_<date>