pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jean-David Beyer <jeandavid8@verizon.net>
To: pgsql performance <pgsql-performance@postgresql.org>
Subject: Re: Curious about dead rows.
Date: Wed, 14 Nov 2007 22:16:45 -0500
Message-ID: <473BBA1D.2050702@verizon.net> (raw)
In-Reply-To: <473BB6D9.6090908@emolecules.com>
References: <4735DBDB.5050208@verizon.net>
	<473B4AB4.70506@sime.com>
	<473B6398.9030507@verizon.net>
	<20071114213504.GW19014@alvh.no-ip.org>
	<473BB6D9.6090908@emolecules.com>

Craig James wrote:
> 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?
> 
Perhaps in theory, but in practice my client and the postgreSQL servers are
on the same machine and the 127.0.0.1 is pretty reliable:

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:30097919 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30097919 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:931924602 (888.7 MiB)  TX bytes:931924602 (888.7 MiB)



-- 
  .~.  Jean-David Beyer          Registered Linux User 85642.
  /V\  PGP-Key: 9A2FC99A         Registered Machine   241939.
 /( )\ Shrewsbury, New Jersey    http://counter.li.org
 ^^-^^ 22:10:01 up 22 days, 15:28, 0 users, load average: 4.25, 4.21, 4.12



view thread (41+ messages)  latest in thread

Message-ID: <473BBA1D.2050702@verizon.net>
Permalink:  ../473BBA1D.2050702@verizon.net/
Also on:    postgresql.org/message-id/473BBA1D.2050702@verizon.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: jeandavid8@verizon.net
  Subject: Re: Curious about dead rows.
  In-Reply-To: <473BBA1D.2050702@verizon.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox