Re: vacuumdb and a long list of tables - Mailing list pgsql-admin

From Tom Lane
Subject Re: vacuumdb and a long list of tables
Date
Msg-id 1190571.1740342095@sss.pgh.pa.us
Whole thread Raw
In response to vacuumdb and a long list of tables  (Ron Johnson <ronljohnsonjr@gmail.com>)
Responses Re: vacuumdb and a long list of tables
List pgsql-admin
Ron Johnson <ronljohnsonjr@gmail.com> writes:
> Is there any specific order by which "vacuumdb -t t1 -t t2 -t t3 ..."
> processes those tables?

A quick look at the source code finds

    appendPQExpBufferStr(&catalog_query, " ORDER BY c.relpages DESC;");

so apparently it's trying to process them in descending size order,
although this doesn't account for indexes or toast tables.

            regards, tom lane



pgsql-admin by date:

Previous
From: Ron Johnson
Date:
Subject: vacuumdb and a long list of tables
Next
From: Ron Johnson
Date:
Subject: Re: vacuumdb and a long list of tables