Query Run-Time Statistics - Parallel Transporter

Teradata® Parallel Transporter Application Programming Interface Programmer Guide - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Parallel Transporter
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2023-11-20
dita:mapPath
haz1691132518981.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
ana1478611373864
lifecycle
latest
Product Category
Teradata Tools and Utilities

You can use the GetEvent function to query the driver for run-time statistics. The GetEvent function takes four arguments:

  • Type of event
  • A pointer for the output data buffer
  • A pointer for the output data buffer length
  • A target table index. The target table index argument is only used by the Update and Stream drivers.
    conn->GetEvent(eventType,eventData,&eventDataLen,tableIndex);

Call the GetEvent method after the driver initiates and before it terminates. Some events require the job to reach a certain point before their data becomes available. If the job has not yet reached this point, the GetEvent method returns TD_Unavailable.