Re: Spread checkpoint sync - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Spread checkpoint sync
Date
Msg-id 201102011830.p11IUrW19502@momjian.us
Whole thread Raw
In response to Re: Spread checkpoint sync  (Greg Smith <greg@2ndquadrant.com>)
List 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@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: SSI patch version 14
Next
From: Robert Haas
Date:
Subject: Re: Spread checkpoint sync