Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJOPO-0004as-E5 for pgsql-admin@arkaria.postgresql.org; Sun, 04 Nov 2018 19:50:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gJOPM-0001N1-DY for pgsql-admin@arkaria.postgresql.org; Sun, 04 Nov 2018 19:50:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJOPM-0001Mu-60 for pgsql-admin@lists.postgresql.org; Sun, 04 Nov 2018 19:50:04 +0000 Received: from mtaout005-public.msg.strl.va.charter.net ([68.114.190.30]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gJOPJ-0000yc-M6 for pgsql-admin@lists.postgresql.org; Sun, 04 Nov 2018 19:50:03 +0000 Received: from impout002 ([68.114.189.17]) by mtaout005.msg.strl.va.charter.net (InterMail vM.9.00.023.01 201-2473-194) with ESMTP id <20181104194959.SVYZ3846.mtaout005.msg.strl.va.charter.net@impout002>; Sun, 4 Nov 2018 13:49:59 -0600 Received: from cerberus.crazybean.net ([24.151.10.150]) by impout002 with charter.net id vvpz1y0023EE3TL01vpzfQ; Sun, 04 Nov 2018 13:49:59 -0600 X-Authority-Analysis: v=2.2 cv=C6eZ8UH+ c=1 sm=1 tr=0 a=D2HTw/M6/8MmcHighGO7rg==:117 a=D2HTw/M6/8MmcHighGO7rg==:17 a=IkcTkHD0fZMA:10 a=xqWC_Br6kY4A:10 a=JHtHm7312UAA:10 a=pGLkceISAAAA:8 a=HPzTdImlQcVqgQTi5TIA:9 a=QEXdDO2ut3YA:10 Received: from [IPv6:2001:470:e117:4:f17c:e522:28ff:159e] (2001:470:e117:4:f17c:e522:28ff:159e [IPv6:2001:470:e117:4:f17c:e522:28ff:159e]) by cerberus.crazybean.net (OpenSMTPD) with ESMTPSA id 3976b97f (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sun, 4 Nov 2018 14:49:58 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Subject: Re: size of table + toasted tables + indexes != pg_total_relation_size From: Rui DeSousa In-Reply-To: Date: Sun, 4 Nov 2018 14:49:57 -0500 Cc: pgsql-admin@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <8EFF8B0B-6CDA-41A7-B059-AD2E5D7701CE@crazybean.net> References: To: Mariel Cherkassky X-Mailer: Apple Mail (2.3445.100.39) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Nov 4, 2018, at 5:14 AM, Mariel Cherkassky = wrote: >=20 > local dba used to run vacuum full on a daily basis Shouldn=E2=80=99t be doing vacuum fulls; that=E2=80=99s just bad db = management. Autovacuum/vacuum and normal turnover rate should be = enough; otherwise you server is mostly not sized correctly.