Re: performance hit with --enable-debug

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: performance hit with --enable-debug
Дата
Msg-id 26527.979495096@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: performance hit with --enable-debug  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: performance hit with --enable-debug  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: performance hit with --enable-debug  (Patrick Welche <prlw1@newn.cam.ac.uk>)
Список pgsql-general
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> The effect in terms of query execution speed is probably minimal.  The
>> problem is that the executables get about 15% larger, which can lead to
>> longer load times, more memory usage, and ultimately to some speed issues.

> Not sure about the longer load times.

I don't believe that either.  The debug symbol tables aren't part of the
memory-resident image, they just sit out there on disk ... at least in
Unixen that I'm familiar with.

I think this is worth looking at more closely.  I can't see any reason
that Tom should be seeing a 30x performance hit from --enable-debug;
there's something going on here that I don't understand.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: performance hit with --enable-debug
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: performance hit with --enable-debug