vacuum with multiple jobs and a partitioned table

From: Wells Oliver <wells(dot)oliver(at)gmail(dot)com>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: vacuum with multiple jobs and a partitioned table
Date: 2023-09-19 20:13:14
Message-ID: CAOC+FBX8FzUjzeWo9GgRf8Tf5JNpQmgfzELvNbUBToG=JRokkg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I can do: vacuumdb -j 8 mydb

This will go about vacuuming tables and use 8 jobs to do it. Good stuff.

If I have a table which has partitions is there some way of using one
command to vacuum its partitions using multiple jobs so it does it
concurrently?

--
Wells Oliver
wells(dot)oliver(at)gmail(dot)com <wellsoliver(at)gmail(dot)com>

Browse pgsql-admin by date

  From Date Subject
Next Message Rajesh Kumar 2023-09-20 13:46:36 Unique index
Previous Message Matt Gibbins 2023-09-19 10:27:51 Re: Unable to drop extension dblink