Re: Large arrays give long lag on server side before command executes

Поиск
Список
Период
Сортировка
От David Helgason
Тема Re: Large arrays give long lag on server side before command executes
Дата
Msg-id E98572D7-0E3F-11D9-A5DE-000A9566DA8A@uti.is
обсуждение исходный текст
Ответ на Re: Large arrays give long lag on server side before command executes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On 24. sep 2004, at 16:32, Tom Lane wrote:
> David Helgason <david@uti.is> writes:
>> Any suggestions how I go about finding the bottleneck here? What tools
>> do other people use for profiling on Linux.
>
> Rebuild with profiling enabled (make clean; make PROFILE="-pg
> -DLINUX_PROFILE")
> and then use gprof to produce a report from the trace file that the
> backend drops when it exits.
>
> If that sounds out of your league, send along a self-contained test
> case
> and I'll be glad to take a look.

I can try to make a self-contained test case, but right now there's a
10e6 dependancies, so it would be great if this is enough:



Here's the gmon.out file that was created after a short run of
postgres, and the output of 'gprof /usr/local/postgres/bin/postgres
gmon.out'. The data didn't make much sense to me though.

I'll try to investigate further.

d.
--
David Helgason,
Business Development et al.,
Over the Edge I/S (http://otee.dk)
Direct line +45 2620 0663
Main line +45 3264 5049

Вложения

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

Предыдущее
От: Oliver Nolden
Дата:
Сообщение: How to insert values in BYTEA?
Следующее
От: joseph speigle
Дата:
Сообщение: Re: How to pass initdb LC_COLLATE & locale parameters when using wind ows? (with or without pginstaller)