Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 8A7362E0205 for ; Fri, 7 Mar 2008 05:13:11 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 00639-04 for ; Fri, 7 Mar 2008 05:13:04 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from pih-relay06.plus.net (pih-relay06.plus.net [212.159.14.133]) by postgresql.org (Postfix) with ESMTP id C1FFC2E0066 for ; Fri, 7 Mar 2008 05:13:08 -0400 (AST) Received: from [84.51.143.99] (helo=server3.office.archonet.com) by pih-relay06.plus.net with esmtp (Exim) id 1JXYdW-0006El-Ts; Fri, 07 Mar 2008 09:13:07 +0000 Received: from [192.168.1.36] (dell36.office.archonet.com [192.168.1.36]) by server3.office.archonet.com (Postfix) with ESMTP id 7816D274059; Fri, 7 Mar 2008 09:13:06 +0000 (GMT) Message-ID: <47D10722.4080508@archonet.com> Date: Fri, 07 Mar 2008 09:13:06 +0000 From: Richard Huxton User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: Pavel Rotek CC: pgsql-performance@postgresql.org Subject: Re: Toast space grows References: <3556c08c0803070035p6d8b4aa8m6318f54728f61022@mail.gmail.com> In-Reply-To: <3556c08c0803070035p6d8b4aa8m6318f54728f61022@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Plusnet-Relay: ba50661c69096151c38692ed893a278b X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/151 X-Sequence-Number: 29105 Pavel Rotek wrote: > Hello, > > i have problem with following table... > > create table dataaction ( > id INT4 not null, > log text, > primary key (id) > ); > > It is the table for storing results of long running jobs. The log attribute > takes approximately 5MB for one row (there is about 300 rows). My problem > is, that table dataaction takes after restoring about 1,5G, but in few days > grows to 79G(Toast space)... 1. What is happening with this table - just inserts, lots of updates? 2. What does SELECT sum(length(log)) FROM dataaction; show? > Vacuum on the table doesn't finish. A plain vacuum doesn't finish, or vacuum full doesn't finish? -- Richard Huxton Archonet Ltd