Re: Cost of AtEOXact_Buffers in --enable-cassert - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Cost of AtEOXact_Buffers in --enable-cassert
Date
Msg-id 20100811074224.GA2951@anarazel.de
Whole thread Raw
In response to Re: Cost of AtEOXact_Buffers in --enable-cassert  (Greg Smith <greg@2ndquadrant.com>)
List pgsql-hackers
On Wed, Aug 11, 2010 at 12:51:36AM -0400, Greg Smith wrote:
> Andres Freund wrote:
> >The most prohibitively expensive part is the AtEOXact_Buffers
> >check of running through all buffers and checking their pin count.
> >And it makes $app's regression tests take thrice their time...
> Have you tried reducing shared_buffers from the default the system
> found by probing to make this overhead smaller?
Yes. Its getting slower just as you make them bigger. Which is not
surprising...
Using a smaller value than the default is painfull again as well
though...

Andres


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: string_to_array with an empty input string
Next
From: Marko Tiikkaja
Date:
Subject: Re: assertions and constraint triggers