Managing SQL Jobs
Viewing Basic Job Information on the SQL Jobs Page
The SQL Jobs page displays all SQL jobs, which may span multiple pages if there are many jobs. You can navigate to a specific page as needed. DLI allows you to view jobs in all statuses. Jobs in the job list are sorted by creation time in descending order by default.
Parameter |
Description |
---|---|
Queues |
Name of the queue to which a job belongs |
Engine |
SQL jobs support the Spark and Trino engines.
|
Username |
Name of the user who executed the job. |
Type |
Job type. The following types are supported:
|
Status |
Job status. Possible values are as follows:
|
Query |
SQL statements for operations such as exporting and creating tables You can click to copy the query statement. |
Duration |
Running duration of a job |
Created |
Time when a job is created. Jobs can be displayed in ascending or descending order of the job creation time. |
Operation |
NOTE:
The View Log button is not available for synchronization jobs and jobs running on the default queue. |
Viewing Job Details
On the SQL Jobs page, you can click in front of a job record to view details about the job.
Job details vary with job types. The job details vary depending on the job types, status, and configuration options. The following describes how to load data, create a table, and select a job. For details about other job types, see the information on the management console.
- Load data (job type: IMPORT) include the following information: queue, job ID, username, type, status, execution statement, running duration, creation time, end time, parameter settings, label, number of results, scanned data, number of scanned data, number of error records, storage path, data format, database, table, table header, separator, reference character, escape character, date format, timestamp format, total CPU used, and output bytes.
- Create table (job type: DDL) include the following information: queue, job ID, username, type, status, execution statement, running duration, creation time, end time, parameter settings, tags, number of results, scanned data, and database.
- Select (job type: QUERY) include the following information: queue, job ID, username, type, status, execution statement, running duration, creation time, end time, parameter setting, label, number of results (results of successful executions can be exported), and scanned data, username, result status (results of successful tasks can be viewed. Failure causes of failed tasks are displayed), database, total CPU used, and output bytes.
- Total CPU Used (Core x ms): total CPU used during job execution.
- Output Bytes: number of output bytes after the job is executed.
Searching for a Job
On the SQL Jobs page, you can search jobs with any of the following operations.
- Select a queue name.
- Select an engine.
- Set the date range.
- Enter a username, statement, tag, or job ID.
- Select the creation time in ascending or descending order.
- Select a job type.
- Select a job status.
- Select the job execution duration in ascending or descending order.
Terminating a SQL Job
On the SQL Jobs page, you can click Terminate in the Operation column to stop a submitting or running job.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot