Re: track row / field usage - Mailing list pgsql-general

From brian
Subject Re: track row / field usage
Date
Msg-id 46B8ECF2.9030407@zijn-digital.com
Whole thread Raw
In response to track row / field usage  ("John Smith" <jayzee.smith@gmail.com>)
List pgsql-general
John Smith wrote:
> guys,
> i want to track just how many times a particular row, field or
> contained value gets queried / fetched? i guess a trigger like so
> would do the trick:
> on query, update value in column
> even a log and then parsing it would help. but is there a cooler way-
> some built-in stats counter? just trying to see which rows, fields or
> values are most sort after.
> cheers, jzs
>

Set the log_statement line in postgresql.conf to "all".

brian

pgsql-general by date:

Previous
From: Kristo Kaiv
Date:
Subject: Re: List tables in load order
Next
From: "Scott Marlowe"
Date:
Subject: Re: Take your postgresSql on the road, and live to tell of it.