X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 7D87DD1B561 for ; Thu, 14 Aug 2003 11:40:25 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 80826-08 for ; Thu, 14 Aug 2003 08:38:50 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 8E22ED1C4D5 for ; Thu, 14 Aug 2003 08:40:14 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h7EBcuSa015526; Thu, 14 Aug 2003 07:38:56 -0400 (EDT) To: "Matt Clark" Cc: pgsql-admin@postgresql.org Subject: Re: Transactions, tuples, and VACUUM In-reply-to: References: Comments: In-reply-to "Matt Clark" message dated "Thu, 14 Aug 2003 11:01:27 +0100" Date: Thu, 14 Aug 2003 07:38:55 -0400 Message-ID: <15525.1060861135@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/171 X-Sequence-Number: 9893 "Matt Clark" writes: > consider: > begin; > update a set col1 = 'p' where id = '1'; > update a set col2 = 'q' where id = '1'; > commit; > versus: > update a set col1 = 'p', col2 = 'q' where id = '1'; > Does the first case generate any more dead tuples that will need > vacuuming than the second case, Yes. Takes twice as long, too. regards, tom lane