Re: Huge table pg_shdepend

From: Zuhair Khayyat <zuhair(at)lucidya(dot)com>
To: Horst Düster <horst(dot)duester(at)sourcepole(dot)ch>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Huge table pg_shdepend
Date: 2019-01-21 10:33:22
Message-ID: CAD7diimqfU12=oUT0Pr1zZaNfDNhO4DzcshY8xFHoD8Xdtrzcw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Horst,

Try pg_repack
http://reorg.github.io/pg_repack/

On Mon, 21 Jan 2019 at 1:18 PM Horst Düster <horst(dot)duester(at)sourcepole(dot)ch>
wrote:

> Hi
>
> I'm struggling with a huge table pg_shdepend. My database has a size of
> 640MB exclude the size of the system tables. But the real size of the db
> is more than 2GB. The reason is a huge table pg_shdepend with more than
> 32000000 records. PgAdmin3 shows a table size of
> 1885MB and an index size of 1690MB. This looks strange for me, because
> this size is a multiple amount of the db size itself. I believe, that
> there are a lot of rubbish in that table, but I'm not sure.
>
> I had run a vacuum full process, but this didn't help. Could anyone give
> me an advice how to clean the table pg_shdepend or reduce the table size?
>
> Any hit would be appreciated.
>
> Regards
> Horst
>
> --
> Dr. Horst Düster
> Managing Director
> Sourcepole AG - Linux & Open Source Solutions
> Weberstrasse 5, 8004 Zürich, Switzerland
> <https://maps.google.com/?q=Weberstrasse+5,+8004+Z%C3%BCrich,+Switzerland&entry=gmail&source=g>
> Tel: +41 (0)44 440 77 11
> Direkt: +41 (0)44 515 67 70
> horst(dot)duester(at)sourcepole(dot)ch http://www.sourcepole.ch
>
> qgiscloud.com - Karten einfach vom Desktop ins Netz
>
>
>
>
>
> --

<https://www.twitter.com/lucidya>
<https://www.linkedin.com/company/lucidya/>
<https://www.facebook.com/lucidya>
Zuhair Khayyat
Chief Technology Officer
Lucidya
+966503418330
lucidya.com
Please consider the environment before printing this email
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager. This message contains confidential information and
is intended only for the individual named. If you are not the named
addressee you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system. If you
are not the intended recipient you are notified that disclosing,
copying, distributing or taking any action in reliance on the contents
of this information is strictly prohibited.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message AB_ba# 2019-01-21 11:04:46 IO scheduler recommendation
Previous Message Horst Düster 2019-01-21 10:18:37 Huge table pg_shdepend