pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedSemantics of PostgreSQL Server Log Stats
2+ messages / 2 participants
[nested] [flat]
* Semantics of PostgreSQL Server Log Stats
@ 2007-07-31 14:35 Camilo Porto <camiloporto@hotmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Camilo Porto @ 2007-07-31 14:35 UTC (permalink / raw)
To: pgsql-performance
Hello,
I would like to better understand the semantics of the statistics shown in PostgreSQL Logs. For example, in the report:
DETAIL: ! system usage stats:
! 0.000100 elapsed 0.000000 user 0.000000 system sec
! [0.016997 user 0.006998 sys total]
! 0/0 [0/0] filesystem blocks in/out
! 0/2 [0/1301] page faults/reclaims, 0 [0] swaps
! 0 [0] signals rcvd, 0/0 [0/0] messages rcvd/sent
! 0/0 [6/20] voluntary/involuntary context switches
! buffer usage stats:
! Shared blocks: 1 read, 0 written, buffer hit rate = 0.00%
! Local blocks: 0 read, 0 written, buffer hit rate = 0.00%
! Direct blocks: 0 read, 0 written
What each element of this report mean?
many thanks.
[Camilo Porto]
_________________________________________________________________
Receba GRÁTIS as mensagens do Messenger no seu celular quando você estiver offline. Conheça o MSN Mobile!
http://mobile.live.com/signup/signup2.aspx?lc=pt-br
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Semantics of PostgreSQL Server Log Stats
@ 2007-07-31 18:22 Bruce Momjian <bruce@momjian.us>
parent: Camilo Porto <camiloporto@hotmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Momjian @ 2007-07-31 18:22 UTC (permalink / raw)
To: Camilo Porto <camiloporto@hotmail.com>; +Cc: pgsql-performance
Camilo Porto wrote:
>
> Hello,
>
> I would like to better understand the semantics of the statistics shown in PostgreSQL Logs. For example, in the report:
>
> DETAIL: ! system usage stats:
> ! 0.000100 elapsed 0.000000 user 0.000000 system sec
> ! [0.016997 user 0.006998 sys total]
> ! 0/0 [0/0] filesystem blocks in/out
> ! 0/2 [0/1301] page faults/reclaims, 0 [0] swaps
> ! 0 [0] signals rcvd, 0/0 [0/0] messages rcvd/sent
> ! 0/0 [6/20] voluntary/involuntary context switches
The above are from getrusage(). See the getrusage manual page.
> ! buffer usage stats:
> ! Shared blocks: 1 read, 0 written, buffer hit rate = 0.00%
> ! Local blocks: 0 read, 0 written, buffer hit rate = 0.00%
> ! Direct blocks: 0 read, 0 written
>
> What each element of this report mean?
This outlines the shared/local buffer I/O and file system I/O performed.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-07-31 18:22 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-07-31 14:35 Semantics of PostgreSQL Server Log Stats Camilo Porto <camiloporto@hotmail.com>
2007-07-31 18:22 ` Bruce Momjian <bruce@momjian.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox