Skip site navigation (1) Skip section navigation (2)

Re: Spread checkpoint sync

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Greg Smith <greg(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Spread checkpoint sync
Date: 2011-02-01 18:30:53
Message-ID: 201102011830.p11IUrW19502@momjian.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Greg Smith wrote:
> Greg Smith wrote:
> > I think the right way to compute "relations to sync" is to finish the 
> > sorted writes patch I sent over a not quite right yet update to already
> 
> Attached update now makes much more sense than the misguided patch I 
> submitted two weesk ago.  This takes the original sorted write code, 
> first adjusting it so it only allocates the memory its tag structure is 
> stored in once (in a kind of lazy way I can improve on right now).  It 
> then computes a bunch of derived statistics from a single walk of the 
> sorted data on each pass through.  Here's an example of what comes out:

In that patch, I would like to see a meta-comment explaining why the
sorting is happening and what we hope to gain.

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

In response to

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2011-02-01 18:32:22
Subject: Re: Spread checkpoint sync
Previous:From: Kevin GrittnerDate: 2011-02-01 18:30:34
Subject: Re: SSI patch version 14

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group