Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kG0dN-0008OC-U8 for pgsql-general@arkaria.postgresql.org; Wed, 09 Sep 2020 13:59:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kG0dM-0005hT-4z for pgsql-general@arkaria.postgresql.org; Wed, 09 Sep 2020 13:59:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kG0dL-0005hK-T7 for pgsql-general@lists.postgresql.org; Wed, 09 Sep 2020 13:59:35 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kG0dG-0003bd-1k for pgsql-general@postgresql.org; Wed, 09 Sep 2020 13:59:34 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 59CC55F79F; Wed, 9 Sep 2020 09:59:28 -0400 (EDT) Date: Wed, 9 Sep 2020 09:59:28 -0400 From: Stephen Frost To: Michael Holzman Cc: pgsql-general@postgresql.org Subject: Re: Autovacuum of independent tables Message-ID: <20200909135928.GN29590@tamriel.snowman.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hfrHa13WIqdxLCL5" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --hfrHa13WIqdxLCL5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Greetings, * Michael Holzman (michaelholzman@gmail.com) wrote: > I have two applications A and B. A runs SELECT statements only and only on > tableA. B actively updates tableB, A never looks into tableB. B has nothing > to do with tableA. In an ideal world, such distinct applications would probably do better to live in independent PG clusters, which would address this issue with VACUUM'ing and also allow you to do file-level backup/restore of each independently, scale physical replicas independently, as well as manage roles to be specific for each without seeing others, etc. Thanks, Stephen --hfrHa13WIqdxLCL5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJfWN+/AAoJEO1sijiDR2RVVxgQALUstsARJkeSMiaqI2MHOVGp U/91hCPhIgvJklJmiwA5O2t4PZC9y9DH8E1niEld2J0/ANGONeZhVJjP+ziyxjnS Pj2nZpaeF/l7F04V3IijNqm+Z0q7j0Mz+Z3zALWmv99AE+rkVjAYRzcncVpMBsTp 3LKbREqyUel0TpFa4Qe06qhr0hEl2qo4yR7t3ZYlKYQwipbOZc4MR1RxYQ5iv+EY RhUOVwrz/cpmLvebpEU2MjkYEjvVxLZ+RuUFb5KfQ3CHzEZz/wk4lqBEyQ3q/rKW DyOL7mV3LCFGuGF8NEW7URwGvQVFE768oPECv6ZD9ZB4p3JU6hvre0608CyQrWEK myi/7p+UY4Co2yn6CjOzsyzeiKF2HiLZNA9uy1ua9UtS0PzN/nVSRD5PmwC97bsH EMDpT5SibOiT3MwJYI4Gc5ShZoD2fqQTnbvq2QM7DrhBOFYqRIKsIt0wlC9xx+j5 xF0H9b7lgpiUfFkQu/A4VzsKaNFdgMNWwyYw/p+VNqw+YqQBuporfVQj2X9ZdH4w UXv3hGO3dSOZYJJwLFCWCW5WMN/J7L86nS0rDwc8+aQUVyqMEj+zaaScIOWpGDsg edA8la71YTrNKJJiSoMgEiWOojKa45oaY1Euyv/Vvs3KF2ZVREWiFt5wBYfp8MIx Vev8cukDrLN3QGQM7oAr =4gc8 -----END PGP SIGNATURE----- --hfrHa13WIqdxLCL5--