Re: Hash join on int takes 8..114 seconds - Mailing list pgsql-performance

From PFC
Subject Re: Hash join on int takes 8..114 seconds
Date
Msg-id op.ukzdioivcigqcu@soyouz
Whole thread Raw
In response to Re: Hash join on int takes 8..114 seconds  ("Andrus" <kobruleht2@hot.ee>)
Responses Re: Hash join on int takes 8..114 seconds
List pgsql-performance
> How to vacuum full pg_shdepend automatically so that other users can
> work at same time ?

    Your table is horribly bloated.
    You must use VACUUM FULL + REINDEX (as superuser) on it, however
unfortunately, it is blocking.
    Therefore, you should wait for sunday night to do this, when noone will
notice.
    Meanwhile, you can always VACUUM it (as superuser) and REINDEX it.
    And while you're at it, VACUUM FULL + reindex the entire database.

    To avoid such annoyances in the future, you should ensure that autovacuum
runs properly ; you should investigate this. If you use a cron'ed VACUUM
that does not run as superuser, then it will not be able to VACUUM the
system catalogs, and the problem will come back.


pgsql-performance by date:

Previous
From: "Andrus"
Date:
Subject: Re: Hash join on int takes 8..114 seconds
Next
From: PFC
Date:
Subject: Re: Hash join on int takes 8..114 seconds