> [!NOTE] ![[assets/wl_lwlock_autovacuumschedule.png|256]]
>
> | | |
> | :--- | :--- |
> | **Wait Category** | LWLock |
> | **Mechanism** | `AutovacuumScheduleLock` |
> | **Operations** | [[Operations/Table/SeqScan]] |
> | **Resources** | [[Resources/RAM|Memory]], [[Resources/CPU|CPU]] |
>
> Contention on the **Maintenance Prioritization Layer**. The Autovacuum Launcher must continuously scan the statistics for every table and index to decide which objects are "dirty" enough to warrant a vacuum or analyze worker.