From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Leon <leon(at)udmnet(dot)ru> |
Cc: | hackers <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] Profiling?] |
Date: | 1999-09-27 15:33:33 |
Message-ID: | 199909271533.LAA15302@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Bruce Momjian wrote:
> >
> > Yes, I have done it many times. I profile that postgres process, not
> > the backend.
>
> Hmm, isn't Postgres process called backend process? AFAIK postmaster
> (it's simply a nickname to Postgres) forks itself on receiveing new
> connection request. Isn't it true? I mean that Postmaster is the same
> binary as Postgres itself.
Yes.
>
> > Look for this in Makefile.global:
> >
> > # Comment out PROFILE to generate a profile version of the binaries
> > #PROFILE= -p -non_shared
> >
>
> Of course I used -p option. The problem is, when I start Postmaster,
> it complains about 'profile timer expired'. What do I do wrong?
That's strange. I have not profiled in a while. I wonder if the
removal of the exec() has caused this.
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Ansley, Michael | 1999-09-27 15:35:16 | RE: [HACKERS] Lexxing and yaccing... |
Previous Message | Lamar Owen | 1999-09-27 15:30:12 | Re: New init script and upgrade attempt: failed |