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.89) (envelope-from ) id 1hCUxQ-0004Kf-KL for pgsql-general@arkaria.postgresql.org; Fri, 05 Apr 2019 19:57:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hCUxP-0001Pz-C7 for pgsql-general@arkaria.postgresql.org; Fri, 05 Apr 2019 19:56:59 +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 1hCUxO-0001Pr-Uz for pgsql-general@lists.postgresql.org; Fri, 05 Apr 2019 19:56:59 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hCUxI-0002rL-LB for pgsql-general@lists.postgresql.org; Fri, 05 Apr 2019 19:56:57 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 756FD274D; Fri, 5 Apr 2019 21:56:49 +0200 (CEST) Date: Fri, 5 Apr 2019 21:56:49 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Recommendation to run vacuum FULL in parallel Message-ID: <20190405195649.gfittdsedz3bszsu@hjp.at> References: <9ed59ae2-6eb1-549d-eb05-d1546fd11515@mail.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ywc7i7ouvqsnwyig" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --ywc7i7ouvqsnwyig Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2019-04-03 19:42:03 +0400, rihad wrote: > > And future updates can reuse it, too (an update is very similar to an > > insert+delete). >=20 > Hm, then it's strange our DB takes 6 times as much space compared to fres= hly > restored one (only public schema is considered). This is indeed strange if you accumulated that much bloat gradually (as you wrote). It is much less strange if you did some massive reorganisations in the past (In one case I witnessed, changes had to be made to almost every value in 4 or 5 columns of a large table. So the person doing the updates first issued an update on the first column, checked that the result looked plausible, then issued an update on the second column, and so on. The result was of course massive bloat). hp --=20 _ | Peter J. Holzer | we build much bigger, better disasters now |_|_) | | because we have much more sophisticated | | | hjp@hjp.at | management tools. __/ | http://www.hjp.at/ | -- Ross Anderson --ywc7i7ouvqsnwyig Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAlynsvkACgkQ8g5IURL+ KF0pQw//TNbMU7zyYAI06VfPXdivpdW+X2VLY/R+m17nf8Q6GWIN1v7f4aZI9oWn aIpzWzSBQmu+mssQrsswrokvpjpx4r7N6esIlUDee8zaR+l1M1iCFGHF7X2m5Mdg 86OIXY/5lZfGKOr+ERW7sKsuVvs49iEvo9tXY4Li+SU4po5Mfqkc6Lpmg0kBRkEh pTeEudbdVERpGkWYeSGVVH9PXeW56Rb4tLd6xEObORdFKi2+1ua09yXx5r9kly+1 g7RDwLM6eDdTgJZfe4cj66ravY2tCsFsytNO3gwAiW+vZ516HjEFLUHupnMePq30 S8Zvbdf3TzWGzb8CAGd6V7TxMG5Z2oCgcJj1frQ3Bk+hgE5sXb9CpK4MTyI6WRo/ KGuYZIrIrqpkHNllzusCZWs95UMXAMk/5nhuIsAtMmu8EY4tXx4ReGf1mKcWvoTg UFeN5iDelwya+mwT9b61K4lXZE/poP0O78SKkae/iBf6zzhZgROaRGnOD1iiZL+D XAm2EF2y83W59cH1KnOTf1z566tKYdy7pwaOghFImHL4MZqvf3Oy6IYDTkCz+cdJ fltF8q+hDu2J20UcZ3abx17KtLVJ7ZHcXA0h5wIM8ot478ywxFw/vMvi90zhENV8 TqhFebOP6n8EKMDKYbtqsQXtic2SK7lRz7lCsOdQ+YB1bHmKDRM= =ZzQ0 -----END PGP SIGNATURE----- --ywc7i7ouvqsnwyig--