>>> with this query I see how much queries running, but the field
>>> current_query are free, so i can't see which queries are very slow.
>>
>>
>> You must perform that query with permission of  super_user.
>>
> I've made it in root-account with psql -U postgres - but i can't see
> the query

You must have these lines in your postgresql.conf for the query stats to be
collected:

stats_start_collector = true
stats_command_string = true

--------------------------------------------------------------------
Russ Garrett                                            [EMAIL PROTECTED]
                                                      http://last.fm


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to