Re: Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote"
Дата
Msg-id 3261.1112889464@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote"  ("Mohan, Ross" <RMohan@arbinet.com>)
Список pgsql-performance
"Mohan, Ross" <RMohan@arbinet.com> writes:
> Is compiling postmaster with profiling support just a flag
> in the build/make? Or is there something more involved?

cd .../src/backend
make PROFILE="-pg -DLINUX_PROFILE" all
reinstall binary

You don't need -DLINUX_PROFILE if not on Linux, of course.

            regards, tom lane

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

Предыдущее
От: Alex Turner
Дата:
Сообщение: Re: How to improve db performance with $7K?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Any way to speed this up?