Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jCkZF-0001wV-Bt for pgsql-general@arkaria.postgresql.org; Fri, 13 Mar 2020 13:41:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jCkZD-0000tU-TP for pgsql-general@arkaria.postgresql.org; Fri, 13 Mar 2020 13:41:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jCkZD-0000tM-CE for pgsql-general@lists.postgresql.org; Fri, 13 Mar 2020 13:41:35 +0000 Received: from mx2.stadt-zuerich.ch ([194.56.33.11]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jCkZ9-00015N-CU for pgsql-general@postgresql.org; Fri, 13 Mar 2020 13:41:34 +0000 X-IronPort-AV: E=Sophos;i="5.70,548,1574118000"; d="scan'208,217";a="44029602" Received: from unknown (HELO SZHM27377.global.szh.loc) ([10.7.49.80]) by mx2.prm.szh.zone with ESMTP/TLS/AES256-GCM-SHA384; 13 Mar 2020 14:41:29 +0100 Received: from SZHM27370.global.szh.loc (10.7.50.50) by SZHM27377.global.szh.loc (10.7.49.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 13 Mar 2020 14:41:28 +0100 Received: from SZHM27370.global.szh.loc ([fe80::2839:247b:c8d4:9198]) by SZHM27370.global.szh.loc ([fe80::2839:247b:c8d4:9198%10]) with mapi id 15.01.1713.004; Fri, 13 Mar 2020 14:41:28 +0100 From: "Zwettler Markus (OIZ)" To: pgsql-general Subject: vacuum full doubled database size Thread-Topic: vacuum full doubled database size Thread-Index: AdX5PE/9hyrYKEeASKO3OUh+l54Yrg== Date: Fri, 13 Mar 2020 13:41:28 +0000 Message-ID: <87ee68cc208c4775bd422277291fbcaf@zuerich.ch> Accept-Language: de-CH, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.7.48.249] Content-Type: multipart/alternative; boundary="_000_87ee68cc208c4775bd422277291fbcafzuerichch_" MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_87ee68cc208c4775bd422277291fbcafzuerichch_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable We did a "vacuum full" on a database which had been interrupted by a networ= k outage. We found the database size doubled afterwards. Autovacuum also found a lot of orphaned tables afterwards. The ophan temp objects went away after a cluster restart while the db size = remained doubled. Any idea? Postgres 9.6.17 --_000_87ee68cc208c4775bd422277291fbcafzuerichch_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

We d= id a "vacuum full" on a database which had been interrupted by a = network outage.

 

We f= ound the database size doubled afterwards.

 

Auto= vacuum also found a lot of orphaned tables afterwards.

 

The = ophan temp objects went away after a cluster restart while the db size rema= ined doubled.

 

Any = idea?

 

Post= gres 9.6.17

 

 

--_000_87ee68cc208c4775bd422277291fbcafzuerichch_--