Re: Re: performance hit with --enable-debug - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Re: performance hit with --enable-debug
Date
Msg-id 200101141739.MAA29525@candle.pha.pa.us
Whole thread Raw
In response to Re: performance hit with --enable-debug  ("Thomas T. Thai" <tom@minnesota.com>)
List pgsql-general
> i'm running mnogosearch along with pgsql-current. and performance have
> been just terrible to get results back on a resonable time. i couldn't
> figure out so i check my ./configure flags. and there it was
> --enable-debug. after sending my email to the list, i recompiled w/o debug
> and now i can get my results back from a query in less than 2
> seconds. before it was 59 secs if it returned at all. size of postgres
> went down from 11.5 MB to a little less than 3mb. overall things seem
> faster for inserts and selects for newly started backends too.

Wow, now there is a good testimonial to not run production stuff with
debug enabled.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: performance hit with --enable-debug
Next
From: Tom Lane
Date:
Subject: Re: Re: performance hit with --enable-debug