Skip to main content

DROP ANALYZE JOB

Descriptionโ€‹

Delete the history of the specified statistics collection job.

Syntaxโ€‹

DROP ANALYZE JOB <job_id>

Required Parameters

<job_id>

Specifies the id of the job. You can obtain the job_id by running SHOW ANALYZE. For detailed usage, please refer to the "SHOW ANALYZE" section.

Access Control Requirementsโ€‹

The user executing this SQL command must have at least the following privileges:

PrivilegeObjectNotes
SELECT_PRIVTable

Examplesโ€‹

Delete the statistics information job record with id 10036

DROP ANALYZE JOB 10036

Enter to send ยท Shift+Enter for a new line