pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedvacuum of pg_attribute and other infrastructure tables
3+ messages / 2 participants
[nested] [flat]
* vacuum of pg_attribute and other infrastructure tables
@ 2019-05-02 15:36 Mark Steben <mark.steben@drivedominion.com>
2019-05-02 16:10 ` Re: vacuum of pg_attribute and other infrastructure tables Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 1 reply; 3+ messages in thread
From: Mark Steben @ 2019-05-02 15:36 UTC (permalink / raw)
To: pgsql-admin
Good morning,
I would like to vacuum full pg_attribute and some other postgres
infrastructure tables to eliminate bloat. Could you please confirm that
the recommended method to do this is to
stop postgres, restart in single user mode, and issue the vacuum command?
Thank you,
Mark
--
*Mark Steben*
Database Administrator
@utoRevenue <http://www.autorevenue.com/; | Autobase
<http://www.autobase.net/;
CRM division of Dominion Dealer Solutions
95D Ashley Ave.
West Springfield, MA 01089
t: 413.327-3045
f: 413.383-9567
www.fb.com/DominionDealerSolutions
www.twitter.com/DominionDealer
www.drivedominion.com <http://www.autorevenue.com/;
<http://autobasedigital.net/marketing/DD12_sig.jpg;
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: vacuum of pg_attribute and other infrastructure tables
2019-05-02 15:36 vacuum of pg_attribute and other infrastructure tables Mark Steben <mark.steben@drivedominion.com>
@ 2019-05-02 16:10 ` Laurenz Albe <laurenz.albe@cybertec.at>
2019-05-02 16:36 ` Re: vacuum of pg_attribute and other infrastructure tables Mark Steben <mark.steben@drivedominion.com>
0 siblings, 1 reply; 3+ messages in thread
From: Laurenz Albe @ 2019-05-02 16:10 UTC (permalink / raw)
To: Mark Steben <mark.steben@drivedominion.com>; pgsql-admin
Mark Steben wrote:
> I would like to vacuum full pg_attribute and some other postgres infrastructure tables to eliminate bloat.
> Could you please confirm that the recommended method to do this is to
> stop postgres, restart in single user mode, and issue the vacuum command?
That is not necessary. Just run the VACUUM (FULL) as superuser.
Concurrent access to pg_attribute will be blocked, which means that
the database is pretty much unusable, but you don't need single
user mode.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: vacuum of pg_attribute and other infrastructure tables
2019-05-02 15:36 vacuum of pg_attribute and other infrastructure tables Mark Steben <mark.steben@drivedominion.com>
2019-05-02 16:10 ` Re: vacuum of pg_attribute and other infrastructure tables Laurenz Albe <laurenz.albe@cybertec.at>
@ 2019-05-02 16:36 ` Mark Steben <mark.steben@drivedominion.com>
0 siblings, 0 replies; 3+ messages in thread
From: Mark Steben @ 2019-05-02 16:36 UTC (permalink / raw)
To: Laurenz Albe <laurenz.albe@cybertec.at>; +Cc: pgsql-admin
Thank you for the clarification.
On Thu, May 2, 2019 at 12:10 PM Laurenz Albe <laurenz.albe@cybertec.at>
wrote:
> Mark Steben wrote:
> > I would like to vacuum full pg_attribute and some other postgres
> infrastructure tables to eliminate bloat.
> > Could you please confirm that the recommended method to do this is to
> > stop postgres, restart in single user mode, and issue the vacuum command?
>
> That is not necessary. Just run the VACUUM (FULL) as superuser.
>
> Concurrent access to pg_attribute will be blocked, which means that
> the database is pretty much unusable, but you don't need single
> user mode.
>
> Yours,
> Laurenz Albe
> --
> Cybertec | https://www.cybertec-postgresql.com
>
>
--
*Mark Steben*
Database Administrator
@utoRevenue <http://www.autorevenue.com/; | Autobase
<http://www.autobase.net/;
CRM division of Dominion Dealer Solutions
95D Ashley Ave.
West Springfield, MA 01089
t: 413.327-3045
f: 413.383-9567
www.fb.com/DominionDealerSolutions
www.twitter.com/DominionDealer
www.drivedominion.com <http://www.autorevenue.com/;
<http://autobasedigital.net/marketing/DD12_sig.jpg;
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2019-05-02 16:36 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-05-02 15:36 vacuum of pg_attribute and other infrastructure tables Mark Steben <mark.steben@drivedominion.com>
2019-05-02 16:10 ` Laurenz Albe <laurenz.albe@cybertec.at>
2019-05-02 16:36 ` Mark Steben <mark.steben@drivedominion.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox