Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 242CD2E2B56 for ; Wed, 14 Nov 2007 23:04:19 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 53855-10 for ; Wed, 14 Nov 2007 23:03:14 -0400 (AST) Received: from mail.emolecules.com (66-226-76-106.dedicated.abac.net [66.226.76.106]) by postgresql.org (Postfix) with ESMTP id 4AFC62E2D37 for ; Wed, 14 Nov 2007 23:03:06 -0400 (AST) Received: (qmail 25448 invoked by uid 2020); 14 Nov 2007 19:15:32 -0800 Received: from wsip-68-224-174-233.sd.sd.cox.net (HELO lisa-james-computer.local) (68.224.174.233) by 192.168.0.4 with SMTP; 14 Nov 2007 19:15:32 -0800 Message-ID: <473BB6D9.6090908@emolecules.com> Date: Wed, 14 Nov 2007 19:02:49 -0800 From: Craig James User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: pgsql performance Subject: Re: Curious about dead rows. References: <4735DBDB.5050208@verizon.net> <473B4AB4.70506@sime.com> <473B6398.9030507@verizon.net> <20071114213504.GW19014@alvh.no-ip.org> In-Reply-To: <20071114213504.GW19014@alvh.no-ip.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.11 tagged_above=0 required=5 tests=AWL=0.009, BAYES_50=0.001, RDNS_DYNAMIC=0.1 X-Spam-Level: X-Archive-Number: 200711/229 X-Sequence-Number: 27644 Alvaro Herrera wrote: > To recap: > > - your app only does inserts > - there has been no rollback lately > - there are no updates > - there are no deletes > > The only other source of dead rows I can think is triggers ... do you > have any? (Not necessarily on this table -- perhaps triggers on other > tables can cause updates on this one). > > Oh, rolled back COPY can cause dead rows too. What about an unreliable network that causes lot of disconnects? Wouldn't the server process do a rollback? Craig