Re: Fwd: Query with high planning time compared to execution time

Поиск
Список
Период
Сортировка
От Justin Pryzby
Тема Re: Fwd: Query with high planning time compared to execution time
Дата
Msg-id 20181105135519.GA25283@telsasoft.com
обсуждение исходный текст
Ответ на Re: Fwd: Query with high planning time compared to execution time  (Richard Lee <swift1984@gmail.com>)
Ответы Re: Fwd: Query with high planning time compared to execution time
Список pgsql-performance
On Mon, Nov 05, 2018 at 03:04:29PM +0800, Richard Lee wrote:
> Executed perf-record and perf-report:
> -bash-4.2$ perf record -g -- psql -U sri sri <
> /var/lib/pgsql/10/data/pg_log/1-b10/query.txt
> < ... snipped ... >

That's showing perf output for the psql client.  What you want is output for
the server process (essentially all the client does is move data between the
user to the server).

https://wiki.postgresql.org/wiki/Profiling_with_perf

Justin


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

Предыдущее
От: Richard Lee
Дата:
Сообщение: Re: Fwd: Query with high planning time compared to execution time
Следующее
От: Richard Lee
Дата:
Сообщение: Re: Fwd: Query with high planning time compared to execution time