Re: SELECT constant; takes 15x longer on 9.0?

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: SELECT constant; takes 15x longer on 9.0?
Date: 2010-04-06 18:28:38
Message-ID: 4BBB7D56.2050005@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David E. Wheeler wrote:
> By stupidly having configured with --enable-cassert --enable-debug without realizing it. I've just rebuilt without them and run the tests again using the default postgresql.conf and I'm back down to 57s and 46s over two runs.
>

Every performance test I run, regardless of where the binaries come from
or how I thought they were built, starts like this:

postgres=# show debug_assertions;
debug_assertions
------------------
off
(1 row)

It's a really good habit to get into, or even enforce in your testing
script if practical.

--
Greg Smith 2ndQuadrant US Baltimore, MD
PostgreSQL Training, Services and Support
greg(at)2ndQuadrant(dot)com www.2ndQuadrant.us

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2010-04-06 18:39:32 Re: SELECT constant; takes 15x longer on 9.0?
Previous Message Erik Rijkers 2010-04-06 18:27:45 Re: Remaining Streaming Replication Open Items