Viewing O&M Tasks
- Log in to the DWS console.
- Click the name of the target cluster.
- On the displayed Cluster Information page, click the Intelligent O&M tab.
- Switch to the O&M Status area.

- Click
next to a specified O&M task name to view the task details. The details include the O&M task (Vacuum), status (waiting, running, completed, or failed), progress, remaining time window, execution time window (local time), total number of vacuumed tables, number of tables to be vacuumed, number of tables being vacuumed, number of tables successfully vacuumed, number of tables that failed to be vacuumed, and the amount of space freed up during the vacuum. - If the cluster is read-only, the INSERT statement cannot be executed for intelligent O&M tasks. There may be tasks remaining in the Running status. The Running status in this case is a historical status, and it indicates that the task is not completed within the specified time. If you manually pause the task and the task is not scheduled, the task may remain in the Waiting status. In this case, cancel the cluster read-only state and contact technical support to update the task status.
- Check that the following tables are sorted in descending order based on the size of released space: tables being vacuumed, tables to be vacuumed, tables that have been vacuumed, and tables that failed to be vacuumed. A maximum of 100 tables can be displayed on each page.
- If more than 100 tables are processed by an O&M task, you are advised to create multiple O&M tasks and shorten the scheduling period of each task to handle fewer tables at a time.
- If there are still more than 100 tables after multiple O&M tasks are created, you can run the command below to query the scheduler.vacuum_full_rslt table in the cluster database postgres. The vacuum_full_rslt system catalog stores automatic vacuum information and can only be queried. For details about the fields in the table, see Table 1. You can run the following command to query it:
SELECT * FROM scheduler.vacuum_full_rslt WHERE Mission_Start_Time = 'xxxx-xx-xx xx:xx:xx' AND Mission_End_Time = 'xxxx-xx-xx xx:xx:xx' order by spacerelease desc;Table 1 vacuum_full_rslt information Field
Description
databasename
Database name
schemaname
Schema name
tablename
Table name
tableclass
Table class
vacuumstatus
Vacuum status
expandedratebeforevacuum
Expansion rate before vacuum
expandedrateaftervacuum
Expansion rate after vacuum
retrievingspace
Estimated space that can be reclaimed before vacuum
spacerelease
Difference between the tablespaces before and after vacuum. The value is affected by the data imported to the database.
categoryid
ID of the vacuum O&M task
mission_start_time
Start time of the vacuum task
mission_end_time
End time of the vacuum task
lastvacuumtime
Time when the record is imported to the database
tablesizebefore
Table size before vacuum
tablesizeafter
Table size after vacuum
smallcuratebeforevacuum
Percentage of small CUs before vacuum
smallcurateaftervacuum
Percentage of small CUs after vacuum
failedreason
Vacuum failure cause
taskstarttime
Start time of the vacuum task
taskendtime
End time of the vacuum task
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