INFORMATION_SCHEMA.TDSTORE_TIERING_COLD_RG_JOB_PROGRESS is used to view the execution progress of hot-to-cold data migration tasks for RGs on TDStore nodes across the cluster under the tiered storage mode. It covers both ongoing tasks and completed historical tasks.Validating: The validation stage.DrainingTransactions: The transaction draining stage.Preparing: The preparation stage.ExportingSnapshot: The snapshot export stage.Uploading: The SST upload stage, where the upload percentage is displayed.Committing: The commit stage.Done: The task is completed.Field Name | Type | Description |
NODE_NAME | VARCHAR(64) | The name of the TDStore node where the task resides. |
JOB_ID | BIGINT UNSIGNED | The ID of the cold data migration job. |
REP_GROUP_ID | BIGINT UNSIGNED | The ID of the Replication Group that is undergoing cold data migration. |
STAGE | VARCHAR(64) | The current stage of the job. Valid values: Validating, DrainingTransactions, Preparing, ExportingSnapshot, Uploading, Committing, Done. |
UPLOADED_FILE_NUM | BIGINT | The number of uploaded SST files. It is meaningful only during and after the Uploading stage, and is NULL in other stages. |
TOTAL_FILE_NUM | BIGINT | The total number of SST files that need to be uploaded for this job. It is meaningful only during and after the Uploading stage, and is NULL in other stages. |
UPLOADED_FILE_SIZE | BIGINT | The number of uploaded bytes. It is meaningful only during and after the Uploading stage, and is NULL in other stages. |
TOTAL_FILE_SIZE | BIGINT | The total number of bytes that need to be uploaded for this job. It is meaningful only during and after the Uploading stage, and is NULL in other stages. |
PROGRESS_PCT | VARCHAR | The upload progress percentage, calculated based on bytes. It is meaningful only during and after the Uploading stage, and is NULL in other stages. |
START_TIME | VARCHAR(64) | The start time of the job, in the format YYYY-MM-DD hh:mm:ss. |
END_TIME | VARCHAR(64) | The end time of the job, in the format YYYY-MM-DD hh:mm:ss. It is NULL while the job is in progress. |
ELAPSED_TIME_MS | BIGINT UNSIGNED | The elapsed time of the job, in milliseconds. While the job is in progress, it is the cumulative time from the start to the current moment. After the job is completed, it is the total time consumed. |
ERR_MSG | VARCHAR | The error information generated during job execution. It is NULL when the job runs normally. |
DETAIL_COST_INFO | TEXT | Detailed information about the time consumed in each stage of the job, facilitating performance analysis. |
tdsql > SELECT * FROM information_schema.TDSTORE_TIERING_COLD_RG_JOB_PROGRESS\\G*************************** 1. row ***************************NODE_NAME: tdstore-node-1JOB_ID: 1001REP_GROUP_ID: 200STAGE: DoneUPLOADED_FILE_NUM: 12TOTAL_FILE_NUM: 12UPLOADED_FILE_SIZE: 134217728TOTAL_FILE_SIZE: 134217728PROGRESS_PCT: 100.00%START_TIME: 2026-06-05 10:00:00END_TIME: 2026-06-05 10:05:23ELAPSED_TIME_MS: 323000ERR_MSG: NULLDETAIL_COST_INFO: Validating:5ms,DrainingTransactions:120ms,Preparing:30ms,ExportingSnapshot:200ms,Uploading:322000ms,Committing:645ms*************************** 2. row ***************************NODE_NAME: tdstore-node-2JOB_ID: 1002REP_GROUP_ID: 201STAGE: UploadingUPLOADED_FILE_NUM: 6TOTAL_FILE_NUM: 10UPLOADED_FILE_SIZE: 67108864TOTAL_FILE_SIZE: 104857600PROGRESS_PCT: 64.00%START_TIME: 2026-06-05 10:08:00END_TIME: NULLELAPSED_TIME_MS: 45000ERR_MSG: NULLDETAIL_COST_INFO: Validating:4ms,DrainingTransactions:115ms,Preparing:28ms,ExportingSnapshot:180ms,Uploading:44673ms2 rows in set (0.01 sec)
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan