Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a8mWh-00008G-UJ for pgsql-performance@arkaria.postgresql.org; Tue, 15 Dec 2015 10:08:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a8mWh-0003bj-GH for pgsql-performance@arkaria.postgresql.org; Tue, 15 Dec 2015 10:08:11 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a8mWg-0003Zy-VQ for pgsql-performance@postgresql.org; Tue, 15 Dec 2015 10:08:11 +0000 Received: from mailout01.ims-firmen.de ([213.174.32.96]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1a8mWW-0005Ld-Rl for pgsql-performance@postgresql.org; Tue, 15 Dec 2015 10:08:09 +0000 Received: from mailin02.ims-firmen.de ([192.168.1.142]) by mailout01.ims-firmen.de with esmtp (envelope-from ) id 1a8mWU-0003BJ-i7 for pgsql-performance@postgresql.org; Tue, 15 Dec 2015 11:07:58 +0100 Received: from [79.204.171.189] (helo=a-kretschmer.de) by mailin02.ims-firmen.de with esmtpsa (TLSv1:AES256-SHA:256) (envelope-from ) id 1a8mWU-0006tN-56 for pgsql-performance@postgresql.org; Tue, 15 Dec 2015 11:07:58 +0100 Received: from kretschmer by a-kretschmer.de with local (Exim 4.69) (envelope-from ) id 1a8mWU-0005at-0e for pgsql-performance@postgresql.org; Tue, 15 Dec 2015 11:07:58 +0100 Date: Tue, 15 Dec 2015 11:07:58 +0100 From: Andreas Kretschmer To: pgsql-performance@postgresql.org Subject: Re: Can't explain db size Message-ID: <20151215100757.GA20413@tux> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-OS: Debian/GNU Linux - weil ich es mir Wert bin! X-GPG-Fingerprint: EE16 3C01 7B9C 10F7 2C8B 3B86 4DB3 D9EE 7F45 84DA X-Message-Flag: "Windows" is not the answer. "Windows" is the question and the answer is "no"! X-Lugdd: Gerd Kube X-Info: My name is root. Just root. And I am licensed to kill -9 User-Agent: Mutt/1.5.18 (2008-05-17) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Matteo Grolla wrote: > > -------Questions---------------- > > 1) Can you explain me the big difference between the result in A for table > alf_node_properties: 17GB and the result in B: ~6GB ? > > 2) Can you explain me the difference between the result in B: ~6GB and the > result in C, the sum of all column sizes, 3717MB ? Maybe there are some dead tuples, run a VACUUM FULL (be careful, it requires an explicit lock). And please keep in mind that a table can contains indexes and other objects. A nice explanation and some ways to gather informations on table-, index- and database sizes can you find here: http://andreas.scherbaum.la/blog/archives/282-table-size,-database-size.html Regards, Andreas -- Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect. (Linus Torvalds) "If I was god, I would recompile penguin with --enable-fly." (unknown) Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889° -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance