Re: reducing statistics write overhead - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: reducing statistics write overhead
Date
Msg-id 1220716164.4371.1328.camel@ebony.2ndQuadrant
Whole thread Raw
In response to Re: reducing statistics write overhead  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: reducing statistics write overhead  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, 2008-09-05 at 15:23 -0400, Tom Lane wrote:

> How necessary is this given the recent fixes to allow the stats file to
> be kept on a ramdisk?

I would prefer this approach and back-out the other change.

On-demand is cheaper and easier to use.

> > Attached is a WIP patch, which basically implements this:
> 
> This patch breaks deadlock checking and statement_timeout, because
> backends already use SIGALRM.  You can't just take over that signal.
> It's possible that you could get things to work by treating this as an
> additional reason for SIGALRM, but that code is unreasonably complex
> already.  I'd suggest finding some other way.

There are other ways already in use in backend, so just use those.

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



pgsql-hackers by date:

Previous
From: "Ryan Bradetich"
Date:
Subject: Re: Fwd: [Patch Review] TRUNCATE Permission
Next
From: Simon Riggs
Date:
Subject: Re: Synchronous Log Shipping Replication