pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Steben <msteben@autorevenue.com>
To: 'Tom Lane' <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: bgwriter update question
Date: Mon, 22 Oct 2007 14:30:35 -0400
Message-ID: <001101c814d9$a2fce2c0$b501a8c0@D1RPQZB1> (raw)
In-Reply-To: <19802.1193077052@sss.pgh.pa.us>

Thanks Tom, every piece of new information adds to my education.
I'm going to put to bed this effort of trying to verify BGWRITER, 
knowing that it works in 8.2 and move on.

Regards,
Mark Steben

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us] 
Sent: Monday, October 22, 2007 2:18 PM
To: Mark Steben
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] bgwriter update question 

"Mark Steben" <msteben@autorevenue.com> writes:
> I'm running on 7.4.5 (pre bgwriter) and moving to 8.2 in 3 weeks. I turn
> fsync off on my testing server. When I update a table I expect the file in
> the base directory to remain the same size until the next syncpoint when
it
> would then update. But it increases immediately. I thought updates remain
in
> memory until syncpoint in pre-8.0. Am I missing somethng?

The updates don't go to disk immediately (they didn't in 7.4 either).
But we always allocate disk space immediately when needed, to make sure
it's available.  Otherwise we could face the embarrassing situation of
having noplace to put rows inserted by an already-reported-committed
transaction.

			regards, tom lane




view thread (3+ messages)

Message-ID: <001101c814d9$a2fce2c0$b501a8c0@D1RPQZB1>
Permalink:  ../001101c814d9$a2fce2c0$b501a8c0@D1RPQZB1/
Also on:    postgresql.org/message-id/001101c814d9$a2fce2c0$b501a8c0@D1RPQZB1

 · 

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-admin@postgresql.org
  Cc: msteben@autorevenue.com, tgl@sss.pgh.pa.us
  Subject: Re: bgwriter update question
  In-Reply-To: <001101c814d9$a2fce2c0$b501a8c0@D1RPQZB1>

* 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