Oracle Trace File Analyzer Service Request Data Collections (SRDCs)

Oracle Trace File Analyzer Service Request Data Collections (SRDCs) enable you to quickly collect the right diagnostic data.

To perform Service Request Data Collections:

$ tfactl diagcollect -srdc srdc_name

Running the command trims and collects all important log files updated in the past n hours across the whole cluster. The default number of hours for log collection varies from SRDC to SRDC. You can change the diagcollect timeframe with the `-last *n* h|d` option.

Oracle Support often asks you to run a Service Request Data Collection (SRDC). The SRDC depends on the type of problem that you experienced. An SRDC is a series of many data gathering instructions aimed at diagnosing your problem. Collecting the SRDC manually can be difficult with many different steps required.

Oracle Trace File Analyzer can run SRDC collections with a single command:

$ tfactl diagcollect
[-srdc srdc_profile]
[-sr sr_number]
[-tag tagname]
[-z filename]
[-last nh|d | -from time -to time | -for date]
[-database database]
OptionDescription
[-srdc srdc_profile ]Specify the SRDC profile.
-tag descriptionUse this parameter to create a subdirectory for the resulting collection in the Oracle Trace File Analyzer repository.
-z file_nameUse this parameter to specify an output file name.
[-last n h | d | -from time -to time | -for date ]
  • Specify the -last parameter to collect files that have relevant data for the past specific number of hours (h) or days (d). By default, using the command with this parameter also trims files that are large and shows files only from the specified interval.

    You can also use -since, which has the same functionality as -last. This option is included for backward compatibility.

  • Specify the -from and -to parameters (you must use these two parameters together) to collect files that have relevant data during a specific time interval, and trim data before this time where files are large.

    Supported time formats:

    "Mon/dd/yyyy hh:mm:ss"

    "yyyy-mm-dd hh:mm:ss"

    "yyyy-mm-ddThh:mm:ss"

    "yyyy-mm-dd"

  • Specify the -for parameter to collect files that have relevant data for the date specified. The files tfactl collects will have timestamps in between which the time you specify after -for is included. No data trimming is done for this option.

    Supported time formats:

    "Mon/dd/yyyy"

    "yyyy-mm-dd"

Note:

If you specify both date and time, then you must enclose both the values in double quotation marks (""). If you specify only the date or the time, then you do not have to enclose the single value in quotation marks.

-database databaseSpecify the name of the database.

Note:

To upload collections to the SR as part of diag collection:

If you have already set MOS configuration using the tfactl setupmos command, then you can use the -sr option along with the diag collection command. Note that tfactl setupmos is supported only in versions earlier than 20.2.

If you have not set MOS configuration using the tfactl setupmos command, then set up MOS configuration using the new generic command, ahfctl setupload -name mos -type https and follow the instructions.

For example: `tfactl diagcollect -srdc *srdc_type* -sr *sr_number*`

To run SRDCs, use one of the Oracle privileged user accounts:

  • ORACLE_HOME owner
  • GRID_HOME owner

One Command Service Request Data Collections

Available SRDCsType of ProblemCollection ScopeAuto Collection
ahfOracle Orachk and Oracle Exachk problems (to be run after running with -debug)Local onlyNo
avsAudit Vault Server related filesCluster-wideNo
crsCollect crs tracesCluster-wideNo
crsasmASM CRS-related problemsCluster-wideNo
crsasmcellASM CRS CELL-related problemsCluster-wideNo
dbaclProblems with Access Control Lists (ACLs)Local onlyNo
dbaqgenProblems in an Oracle Advanced Queuing environmentLocal onlyNo
dbaqmonQueue Monitor (QMON) problemsLocal onlyNo
dbaqnotifyNotification problems in an Oracle Advanced Queuing environmentLocal onlyNo
dbaqperfPerformance problems in an Oracle Advanced Queuing environmentLocal onlyNo
dbaqpurgeNon-purged messages in an Oracle Advanced Queuing environment problemsLocal onlyNo
dbasmOracle Database storage problemsLocal onlyNo
dbauditStandard information for Oracle Database auditingLocal onlyNo
dbaumAUM: Checklist of Evidence to Supply (Doc ID 1682741.1)Local onlyNo
dbaumwaiteventsWait Events related to Undo: Checklist of Evidence to Supply (Doc ID 1682723.1)Local onlyNo
dbawrspaceOracle Database Automatic Workload Repository (AWR) space problemsLocal onlyNo
dbbeqconnectionBequeath Connection Issues: Checklist of Evidence to Supply (Doc ID 1928047.1)Local onlyNo
dbcorruptGeneric Oracle Database corruptionLocal onlyNo
dbdataguardData Guard problems including BrokerLocal onlyNo
dbawrspaceExcessive SYSAUX space is used by the Automatic Workload Repository (AWR)Local onlyNo
dbdatapatchDatapatch problemsLocal onlyNo
dbddlerrorsDDL Errors: Checklist of Evidence to Supply (Doc ID 2383662.1)Local onlyNo
dbemonEvent Monitor (EMON) problemsLocal onlyNo
dbenqdeqCollect standard information for Advanced Queueing problems using TFA Collector (recommended) or manual stepsLocal onlyNo

dbexpdp

dbexpdpapi

dbexpdpperf

dbexpdptts

Oracle Data Pump Export (expdp)Local onlyNo
dbfsOracle Automatic Storage Management (Oracle ASM) / Database File System (DBFS) / Direct NFS / Oracle Advanced Cluster File System (Oracle ACFS) problemsLocal onlyNo
dbfraFast Recovery Area, also known as Flash Recovery Area problemsLocal onlyNo

dbggclassicmode

dbggintegratedmode

Oracle GoldenGateLocal onlyNo
dbhangOracle Database hang problemsLocal onlyNo
dbhangperfliteOracle Database performance and hang problemsLocal onlyNo

dbimpdp

dbimpdpperf

Oracle Data Pump Import (impdp)Local onlyNo
dbimpdpperfData Pump Import performance problemsLocal onlyNo

dbinstall

dbupgrade

dbpreupgrade

Oracle Database install / upgrade problemsLocal onlyNo
dbparametersOracle Database single instance shutdown problemsLocal onlyNo
dbparameterfilesParameter Files: Checklist of Evidence to Supply (Doc ID 1914153.1)Local onlyNo
dbpartitionCreate or maintain partitioned table, subpartitioned table, and index problemsLocal onlyNo
dbpartitionperfSlow Create, Alter, or Drop commands against partitioned table or indexLocal onlyNo

dbpatchinstall

dbpatchconflict

Oracle Database patching problemsLocal onlyNo
dbperfOracle Database performance problemsCluster-wideNo
dbperf_and_hangOracle Database performance and hang problems on FASaaS environmentsLocal onlyNo
dbplugincomplianceEnterprise Manager compliance related issuesLocal onlyNo
dbpreupgradeOracle Database preupgrade problemsLocal onlyNo
dbprocmgmtGeneric Process Management and Related Issues: Checklist of Evidence to Supply (Doc ID 2500734.1)Local onlyNo
dbracOracle RAC-related data collection for Oracle Clusterware and Oracle ASM problemsLocal onlyNo
dbracinstOracle RAC-related data collection for Oracle Database problemsLocal onlyNo
dbracperfOracle RAC-related performance problemsCluster-wideNo
dbresmgrOracle Database problems related to Resource ManagerLocal onlyNo

dbrman

dbrmanperf

Recovery Manager (RMAN) problemsLocal onlyNo
dbscnSystem Change Number (SCN)Local onlyNo

dbshutdown

dbstartup

Oracle Database startup or shutdown problemsLocal onlyNo
dbslowddlSlow DDL: Checklist of Evidence to SupplyLocal onlyNo
dbspacewaitSpace Related Wait Events and Performance Issues : Checklist of Evidence to Supply (Doc ID 2560286.1)Local onlyNo
dbspatialexportimportOracle Spatial export or import problemsLocal onlyNo
dbspatialinstallOracle Spatial installation problemsLocal onlyNo
dbspatialperfOracle Spatial performance problemsLocal onlyNo
dbspatialupgradeOracle Spatial upgrade problemsLocal onlyNo
dbspatialusageOracle Spatial usage problemsLocal onlyNo
dbsqlperfSQL performance problemsLocal onlyNo
dbstandalonedbcaOracle Database Configuration Assistant (Oracle DBCA) problemsLocal onlyNo
dbstoragestructuregenericStorage structure related diagnosisLocal onlyNo
dbtablespacegenericGeneric Tablespace and Segment Management: Checklist of Evidence to Supply (Doc ID 2560291.1)Local onlyNo
dbtdeTransparent Data Encryption (TDE) problemsLocal onlyNo
dbtextindexOracle Text problemsLocal onlyNo
dbtextissueOracle Text installation problems - 12c.Local onlyNo

dbtextupgrade

dbtextinstall

Oracle Text version 12.1.0.1 and later upgrade problemsLocal onlyNo
dbunixresourcesOracle Database resource problemsLocal onlyNo
dbvaultCollect standard information for Database VaultLocal onlyNo
dbwindowsresourcesOracle Database on Microsoft Windows resources: Checklist of Evidence to SupplyLocal onlyNo
dbwinserviceOracleService on Microsoft Windows: Checklist of Evidence to Supply (Doc ID 1918781.1)Local onlyNo
dbxdbXDB installation or invalid object problemsLocal onlyNo
dbxdbgenericXDB installation and invalid object problemsLocal onlyNo
dbxdbupgradeXDB installation and invalid object problems in 12c and aboveLocal onlyNo
dnfsXDB upgrade problemsLocal onlyNo
emagentgenericCollect trace/log information for Enterprise Manager Management Agent generic problemsOracle Management Service (OMS) and AgentNo
emagentpatchingEnterprise Manager failures during agent patchingOracle Management Service (OMS) and AgentNo
emagentperfEnterprise Manager 13c Agent performance problemsAgentNo
emagentsslEnterprise Manager Agent SSL configuration issuesOracle Management Service (OMS) and AgentNo
emagentstartupEnterprise Manager 13c Agent startup problemsAgentNo
emagentunreachEnterprise Manager 13c Agent unreachable errors or statusAgentNo
emagentuploadEnterprise Manager 13c Agent upload errorsAgentNo
emagtpatchdeployEnterprise Manager 13c Agent patch deployment problemsOracle Management Service (OMS) and AgentNo
emagtupginstCollecting diagnostic data for Enterprise Manager 13c Agent installation, upgrade, or deployment problemsAgentNo
emagtupgpatchEnterprise Manager 13c Agent upgrade, local installation, or patching problems.Oracle Management Service (OMS) and AgentNo
emauthldapEnterprise Manager authentication using LDAP provider issuesOracle Management Service (OMS)No
emblackoutEnterprise Manager blackout issuesOracle Management Service (OMS) and AgentNo

emcliadd

emclusdisc

emdbsys

emgendisc

Enterprise Manager target discovery or add problems

Oracle Management Service (OMS) and Agent

Agent

Oracle Management Service (OMS) and Agent

Oracle Management Service (OMS) and Agent

No
emcommEnterprise Manager communication information between Oracle Management Service (OMS) and AgentOracle Management Service (OMS) and AgentNo
emdbaasdeployDatabase As A Service (DBaaS): Collect trace or log information for failures during DBaaS deployment.Oracle Management Service (OMS) and remote DBaaS deployment serverNo

emdebugon

emdebugoff

Enterprise Manager debug log collection

Run emdebugon, reproduce the problem then run emdebugoff, which disables debug again and collects debug logs

Oracle Management Service (OMS) or AgentNo
emfleetpatchingEnterprise Manager Fleet Maintenance Patching problemsOracle Management Service (OMS) and AgentNo
emjobsEnterprise Manager all job related issuesOracle Management Service (OMS)No
emmetricalertEnterprise Manager general metrics page or threshold problemsAgentNo
emnotifEnterprise Manager incident rules and notification issuesOracle Management Service (OMS)No
emomsfailstartEnterprise Manager Oracle Management Service (OMS) start up failuresOracle Management Service (OMS)No
emomscrashEnterprise Manager Oracle Management Service (OMS) crash problemsOracle Management Service (OMS)No
emomsheapEnterprise Manager Java heap usage or performance problemsOracle Management Service (OMS)No
emomshungcpuEnterprise Manager Oracle Management Service (OMS) crash, restart or performance problemsOracle Management Service (OMS)No
emomspatchingEnterprise Manager failures during Oracle Management Service (OMS) patchingOracle Management Service (OMS)No
emomssslEnterprise Manager Oracle Management Service (OMS) SSL configuration issuesOracle Management Service (OMS)No
emomsupginstEnterprise Manager Oracle Management Service (OMS) installation, upgrade, and patchingLocal onlyNo
empatchplancrtEnterprise Manager patch plan creation problemsOracle Management Service (OMS) and AgentNo
emprocdiscOracle Database, Listener, or ASM target is not discovered or detected by the discovery processLocal onlyNo
emtbsmetricEnterprise Manager tablespace usage metric problemsLocal only (on Enterprise Manager Agent target)No
emwlssslEnterprise Manager WebLogic Server (WLS) SSL configuration issuesLocal onlyNo
emdbperfCovers cases where the Enterprise Manager Performance Hub is slow in rendering and/or missing informationLocal onlyNo
emdbratEnterprise Manager RAT collection issuesTarget replay/capture databaseNo
emcredsEnterprise Manager credential issuesOracle Management Service (OMS) and AgentNo
emdbpluginstatusEnterprise Manager DB plug in issuesOracle Management Service (OMS) and/or AgentNo
emdeployomsEnterprise Manager deploying additional Oracle Management Service (OMS) issuesOracle Management Service (OMS)No
emomsmigrationEnterpriser Manager Oracle Management Service (OMS) migration/cloning issuesOracle Management Service (OMS)No
esexalogicOracle Exalogic full Exalogs data collection informationLocal onlyNo
exadataCollect Oracle Exadata informationLocal onlyNo
exserviceOracle Exadata: Storage software service or offload server service problemsLocal onlyNo
exsmartscanOracle Exadata: Smart Scan not working problemsLocal onlyNo
genericFallthrough SRDC for Oracle Database errorLocal onlyNo
gg_abendOracle GoldenGate covering both classic and microservices implementationsLocal onlyNo
ggintegratedmodenodbOracle GoldenGate extract/replicate abends problemsLocal onlyNo
gridinfraOracle RAC-related data collection for Oracle Clusterware problemsLocal onlyNo
gridinfrainstOracle RAC upgrade and patching problemsLocal onlyNo
instterm

Collect traces for the following ORA errors:

  • ORA-00469
  • ORA-00470
  • ORA-00480
  • ORA-00490
  • ORA-00491
  • ORA-00492
  • ORA-00493
  • ORA-00495
  • ORA-00496
  • ORA-00497
  • ORA-00498
Local onlyNo
internalerrorOther internal Oracle Database errorsLocal onlyNo
listener_servicesListener errors: TNS-12516 / TNS-12518 / TNS-12519 / TNS-12520Local onlyNo
naming_servicesNaming service errors: TNS-12154 / TNS-12528Local onlyNo

|

ORA-00020

ORA-00060

ORA-00494

ORA-00600

ORA-00700

ORA-01031

ORA-01555

ORA-01578

ORA-01628

ORA-03137

ORA-04020

ORA-04021

ORA-04030

|

ORA-04023

ORA-04031

ORA-04063

ORA-07445

ORA-08102

ORA-08103

ORA-22924

ORA-27300

ORA-27301

ORA-27302

ORA-30036

| ORA Errors | Local only |

Only the following SRDCs:

  • ORA-00600
  • ORA-04030
  • ORA-04031
  • ORA-04021
  • ORA-07445
  • ORA-01578
| | ORA-01000 | Open Cursors problems | Local only | No | | ORA-00018 | ORA-00018 or sessions parameter problems | Local only | No | | ORA-12751 | ORA-12751 collection errors | Local only | No | | ORA-25319 |

Collect information for troubleshooting ORA-25319 error in an Advanced Queuing Environment

ORA-25319 problems in an Oracle Advanced Queuing Environment

| Local only | No | | ORA-00227 | Collect information for troubleshooting Control File block corruption reported by error ORA-00227 | Local only | No | | privsroles | Data Collection for privileges and roles | Local only | No | | xdb600 | Diagnostic data collection for XDB ORA-00600 and ORA-07445 internal rrror issues using TFA Collector | Local only | No | | zlgeneric | Zero Data Loss Recovery Appliance (ZDLRA) problems | Local only | No |

For more information about SRDCs, run tfactl diagcollect -srdc -help.

Note:

When you run the tfactl diagcollect command to query an ora-* error event, for example, tfactl diagcollect -srdc ora-600, AHF lists all ora-* error events without filtering. This is because of generic event mapping for all ORA-* error events in the srdc_dbrac.xml file.

The types of information that the SRDCs collect varies for each type, for example, the following table lists and describes what the SRDCs collect for each type.

SRDC collections

CommandWhat gets collected
$ tfactl diagcollect -srdc ORA-04031
  • Incident Packaging Service (IPS) package
  • Patch listing
  • Automatic Workload Repository (AWR) report
  • Memory information
$ tfactl diagcollect -srdc dbperf
  • Automatic Database Diagnostic Monitor (ADDM) report
  • Automatic Workload Repository (AWR) for good period and problem period
  • Automatic Workload Repository (AWR) Compare Period report
  • Active Session History (ASH) report for good and problem period
  • OSWatcher
  • Incident Packaging Service (IPS) package (if there are any errors during problem period)
  • Oracle ORAchk (performance-related checks)

Oracle Trace File Analyzer prompts you to enter the information required based on the SRDC type.

For example, when you run ORA-4031 SRDC:

$ tfactl diagcollect -srdc ORA-04031

Oracle Trace File Analyzer:

  1. Prompts to enter event date, time, and database name.
  2. Scans the system to identify recent events in the system (up to 10).
  3. Proceeds with diagnostic collection after you choose the relevant event.
  4. Identifies all the required files.
  5. Trims all the files where applicable.
  6. Packages all data in a zip file ready to provide to support.

You can also run an SRDC collection in non-interactive silent mode. Provide all the required parameters up front as follows:

$ tfactl diagcollect -srdc srdc_type -database db -from "date time" -to "date time"

For more information, see: