Re: Assert Levels - Mailing list pgsql-hackers

From Greg Smith
Subject Re: Assert Levels
Date
Msg-id Pine.GSO.4.64.0809211812110.27828@westnet.com
Whole thread Raw
In response to Re: Assert Levels  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, 19 Sep 2008, Tom Lane wrote:

> Well, there are certain things that --enable-cassert turns on that are 
> outrageously expensive...I don't think anyone knows what the performance 
> impact of just the regular Asserts is; it's been too long since these 
> other things were stuck in there.

The next time I'm doing some performance testing I'll try to quantify how 
much damage the expensive ones do by playing with pg_config_manual.h. 
Normally I'm testing with 1GB+ of shared_buffers which makes the current 
assert scheme unusable.  If I could run with asserts on only only lose a 
small amount of performance just by disabling the clobber and context 
checking, that would be valuable to know.  Right now I waste a fair amount 
of time running performance and assert builds in parallel.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD


pgsql-hackers by date:

Previous
From: "Marko Kreen"
Date:
Subject: Re: [patch] fix dblink security hole
Next
From: "Hans-Jürgen Schönig"
Date:
Subject: Re: Toasted table not deleted when no out of line columns left