pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Horst Düster <horst.duester@sourcepole.ch>
To: pgsql-admin@lists.postgresql.org
Subject: Huge table pg_shdepend
Date: Mon, 21 Jan 2019 11:18:37 +0100
Message-ID: <7ecdbaa3-07a6-1ec1-d991-06440c05b4cb@sourcepole.ch> (raw)

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
Tel: +41 (0)44 440 77 11
Direkt: +41 (0)44 515 67 70
horst.duester@sourcepole.ch  http://www.sourcepole.ch

qgiscloud.com - Karten einfach vom Desktop ins Netz








view thread (7+ messages)  latest in thread

Message-ID: <7ecdbaa3-07a6-1ec1-d991-06440c05b4cb@sourcepole.ch>
Permalink:  ../7ecdbaa3-07a6-1ec1-d991-06440c05b4cb@sourcepole.ch/
Also on:    postgresql.org/message-id/7ecdbaa3-07a6-1ec1-d991-06440c05b4cb@sourcepole.ch

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: horst.duester@sourcepole.ch, pgsql-admin@lists.postgresql.org
  Subject: Re: Huge table pg_shdepend
  In-Reply-To: <7ecdbaa3-07a6-1ec1-d991-06440c05b4cb@sourcepole.ch>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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