メインコンテンツまでスキップ
バージョン: 26.2 Preview

stream_loads

stream_loads provides information about stream load jobs.

stream_loads shows a stream load job to users who hold at least one privilege on each table that the job loads data into, or the OPERATE privilege. Unless you hold the SELECT privilege on each of those tables, ERROR_MSG, TRACKING_URL, and TRACKING_SQL are NULL. The root user can see all stream load jobs in full. A stream load job whose target table has been dropped is shown in full only to the root user, and with these fields hidden to users with the OPERATE privilege.

The following fields are provided in stream_loads:

FieldDescription
LABELLabel of the stream load job.
IDID of the stream load job.
LOAD_IDLoad ID of the stream load job.
TXN_IDTransaction ID of the stream load job.
DB_NAMEName of the database to which the stream load job belongs.
TABLE_NAMEName of the table to which the data is loaded.
STATEState of the stream load job.
ERROR_MSGError message if the stream load job failed.
TRACKING_URLURL for tracking the stream load job.
CHANNEL_NUMNumber of channels used in the stream load job.
PREPARED_CHANNEL_NUMNumber of prepared channels in the stream load job.
NUM_ROWS_NORMALNumber of normal rows loaded.
NUM_ROWS_AB_NORMALNumber of abnormal rows loaded.
NUM_ROWS_UNSELECTEDNumber of unselected rows.
NUM_LOAD_BYTESNumber of bytes loaded.
TIMEOUT_SECONDTimeout in seconds for the stream load job.
CREATE_TIME_MSCreation time of the stream load job (in milliseconds).
BEFORE_LOAD_TIME_MSTime before loading started (in milliseconds).
START_LOADING_TIME_MSTime when loading started (in milliseconds).
START_PREPARING_TIME_MSTime when preparing started (in milliseconds).
FINISH_PREPARING_TIME_MSTime when preparing finished (in milliseconds).
END_TIME_MSEnd time of the stream load job (in milliseconds).
CHANNEL_STATEState of the channels.
TYPEType of the stream load job.
TRACKING_SQLSQL statement for tracking the stream load job.