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 engine. Spark: displays jobs whose execution engine is Spark. |
| 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 |
| 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, click
next to a job to view its details.
The details displayed vary depending on the job type, status, and configuration options. The console will show the precise information based on these factors. Below are examples for three common job types: load data, create table, and select jobs. For other job types, refer to the console for supported details.
- For load data jobs (job type: IMPORT), the following details are included: queue, job ID, username, type, status, execution statement, runtime duration, creation time, end time, parameter settings, tags, result count, scanned data volume, scan record count, error record count, storage path, data format, database, table, table headers, delimiter, quote character, escape character, date format, timestamp format, cumulative CPU usage, and output bytes.
- For create table jobs (job type: DDL), the details include: queue, job ID, username, type, status, execution statement, runtime duration, creation time, end time, parameter settings, tags, result count, scanned data volume, and database.
- For select jobs (job type: QUERY), the details consist of: queue, job ID, username, type, status, execution statement, runtime duration, creation time, end time, parameter settings, tags, result count (exportable if successful), scanned data volume, executing user, result status (view results if successful; failure reason if failed), database, cumulative CPU usage, 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.
What is your overall rating for this page?
Thank 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
