Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 3F6BA2E15C5 for ; Mon, 19 Nov 2007 11:24:12 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 93260-02 for ; Mon, 19 Nov 2007 11:24:03 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id E70932E15CB for ; Mon, 19 Nov 2007 11:24:08 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id lAJFNIds029752; Mon, 19 Nov 2007 10:23:19 -0500 (EST) To: Decibel! cc: tv@fuzzy.cz, "Tobias Brox" , =?ISO-8859-1?Q?G=E1bor_Farkas?= , pgsql-performance@postgresql.org Subject: Re: autovacuum: recommended? In-reply-to: <7DA6747D-E739-4E25-9D5C-0516A6A97F1C@decibel.org> References: <473D659B.1070008@nekomancer.net> <20071116111355.GB1195@mail.nordicbet.com> <61575.212.24.144.68.1195220303.squirrel@mail.fuzzy.cz> <7DA6747D-E739-4E25-9D5C-0516A6A97F1C@decibel.org> Comments: In-reply-to Decibel! message dated "Sun, 18 Nov 2007 22:11:15 -0600" Date: Mon, 19 Nov 2007 10:23:18 -0500 Message-ID: <29751.1195485798@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/268 X-Sequence-Number: 27683 Decibel! writes: > FWIW, 20k rows isn't all that big, so I'm assuming that the > descriptions make the table very wide. Unless those descriptions are > what's being updated frequently, I suggest you put those in a > separate table (vertical partitioning). That will make the main table > much easier to vacuum, as well as reducing the impact of the high > churn rate. Uh, you do realize that the TOAST mechanism does that pretty much automatically? regards, tom lane