ADMIN ACCELERATOR GET TRACE statement
The ADMIN ACCELERATOR GET TRACE statement retrieves trace data for an accelerator.
Syntax
Option descriptions
- ON accelerator-name
- Specifies the name of the accelerator for which you want to retrieve trace data.
- TO dsn-name
- Specifies the name of the data set where you want the trace data to be stored.
- CONTENT
- Specifies the trace data content. You can specify one or more of the following values, separated by commas:
- ACCELERATOR
- Collect accelerator and SQL engine logs and system diagnostics from the Docker container in which Db2® Analytics Accelerator and the SQL engine run.
- APPLIANCE
- Collect system diagnostics from the IBM® Integrated Analytics System or the Secure Service Container LPAR for Db2 Analytics Accelerator.
- ADDITIONALSUPPORTINFO
- Retrieve support information that was collected during online support sessions with a client and saved to the ADDITIONALSUPPORTINFO folder.
- BACKENDENVIRONMENTFILE
- Collect environment information about the target database on the accelerator if ADDITIONALSUPPORTINFO is also specified.
- CURRENTTASKS
- Retrieve current accelerator task data.
- DATAUSAGE
- Retrieve information about currently processed data slices.
- SYSTEMUTILIZATION
- Retrieve current accelerator usage data.
- SYSTEMUTILIZATIONHISTORY
- Retrieve all available usage data for the selected accelerator.
- TASKMANAGER
- Retrieve current accelerator task data.
- TASKMANAGERHISTORY
- Retrieve all available information about completed accelerator tasks.
- REPLICATION
- Retrieve information about the current replication workload and the replication latency.
- REPLICATIONHISTORY
- Retrieve all information about the current replication workload and the replication latency.
- SINCELASTSAVEONLY
- Saves only support information files that were added since the previous generation of the saved archive. The older files are not deleted.
This option is applicable only if ADDITIONALSUPPORTINFO is also specified
- USERCONTENT usercontent-list
- Specifies trace data types. Separate each type by a comma.
This list is passed unchanged to the <getTraceData > element of the ACCEL_CONTROL_ACCELERATOR stored procedure. You are responsible for ensuring that all values in the list are valid. For a list of valid values, see the <getTraceData > information in SYSPROC.ACCEL_CONTROL_ACCELERATOR (IBM DB2 Analytics Accelerator for z/OS 8.1).
Alternatively, you can specify the CONTENT option with its suboptions (ACCELERATOR, APPLIANCE, and so on). This approach provides built-in validation to ensure that the syntax is correct when the list is passed to ACCEL_CONTROL_ACCELERATOR.