Log query statistics

From: Rubén Rubio <tk421(dot)1(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Log query statistics
Date: 2008-02-02 11:51:09
Message-ID: 74d025900802020351n5188a502nc448137f1d7be439@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Im trying to disable query statistics from log, and I am unable to do it.
Cannot find the correct option. I have been cheking google, postgres
documentation, i didn't found how to do it so ... I am writting here:

I have my logs full of this info:

[...]
DETAIL: ! system usage stats:
! 0.001546 elapsed 0.001000 user 0.000000 system sec
! [0.097985 user 0.008998 sys total]
! 0/0 [0/0] filesystem blocks in/out
! 0/93 [0/3920] page faults/reclaims, 0 [0] swaps
! 0 [0] signals rcvd, 0/0 [0/0] messages rcvd/sent
! 0/0 [5/11] voluntary/involuntary context switches
! buffer usage stats:
! Shared blocks: 0 read, 0 written, buffer
hit rate = 100.00%
! Local blocks: 0 read, 0 written, buffer
hit rate = 0.00%
! Direct blocks: 0 read, 0 written
LOG: QUERY STATISTICS
DETAIL: ! system usage stats:
! 0.000610 elapsed 0.000999 user 0.000000 system sec
! [0.098984 user 0.008998 sys total]
! 0/0 [0/0] filesystem blocks in/out
! 0/22 [0/3942] page faults/reclaims, 0 [0] swaps
! 0 [0] signals rcvd, 0/0 [0/0] messages rcvd/sent
! 0/0 [5/12] voluntary/involuntary context switches
! buffer usage stats:
! Shared blocks: 0 read, 0 written, buffer
hit rate = 100.00%
! Local blocks: 0 read, 0 written, buffer
hit rate = 0.00%
! Direct blocks: 0 read, 0 written
LOG: QUERY STATISTICS
[...]

How to disable this output ? Im using postgres 8.2.4

Thanks in advance!
--
Ignore Linux at your own risk

Responses

Browse pgsql-general by date

  From Date Subject
Next Message vladimir konrad 2008-02-02 12:02:29 [OT] "advanced" database design (long)
Previous Message Olexandr Melnyk 2008-02-02 11:17:36 Re: need help optimizing query