Manage table cleaner resource usage

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:2分
  • Control the system resources used table cleaner by updating the table cleaner job.

    始める前に

    Role required: admin

    このタスクについて

    By default, the table cleaner job runs asynchronously with multiple producer threads creating chunks of records for deletion and multiple consumer threads processing the chunks and deleting records.

    You can mitigate the impact to system performance by starting a table cleaner run using a smaller dataset, checking resource usage as it runs, and then adjusting the number of producer and consumer threads as necessary to complete the job with minimal impact to your users.

    手順

    1. Open the DMJobs [sys_dm_job] table by entering sys_dm_job.list in the filter navigator.
    2. Select the DMTableCleaner job record.
    3. オプション: Change the number of producer threads devoted to creating chunks of records by updating the value in the Max producers field.
    4. オプション: Change the number of consumer threads devoted to deleting chunks of records by updating the value in the Max consumers field.
    5. Select Update.

    タスクの結果

    Table cleaner begins the next run using the updated DMTableCleaner job configuration.

    次のタスク

    Check the status of the next table cleaner run by checking the values in the Chunks Errored column in the DMJob Runs [sys_dm_run] table. If a problem occurs, determine whether the issue occurred in all chunks or a single chunk. View the status of the individual chunks in the DMJob Chunks [sys_dm_chunk] table by checking the values in the Message and State columns.