From: | Tim Uckun <timuckun(at)gmail(dot)com> |
---|---|
To: | Melvin Davidson <melvin6925(at)gmail(dot)com> |
Cc: | Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Getting truncated queries from pg_stat_statements |
Date: | 2015-01-20 02:40:00 |
Message-ID: | CAGuHJrNMq326D6e-xg8TKn89NALcgunHZub=Uo0ToV_5OoPMgQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Thanks for that tip. I'll check it out.
On Tue, Jan 20, 2015 at 3:12 PM, Melvin Davidson <melvin6925(at)gmail(dot)com>
wrote:
> Since you are on 9.3. you might want to consider using PgBadger as a
> better way to get information about slow queries.
> http://sourceforge.net/projects/pgbadger/
>
>
> On Mon, Jan 19, 2015 at 6:41 PM, Tim Uckun <timuckun(at)gmail(dot)com> wrote:
>
>> Ok thanks. I am still on 9.3 so I'll adjust that setting.
>>
>> On Tue, Jan 20, 2015 at 12:15 PM, Peter Geoghegan <
>> peter(dot)geoghegan86(at)gmail(dot)com> wrote:
>>
>>> On Mon, Jan 19, 2015 at 2:37 PM, Tim Uckun <timuckun(at)gmail(dot)com> wrote:
>>> > I am trying to get some slow query information and the results from my
>>> query
>>> > are truncated at 2047 characters. Some of my queries are very long
>>> so they
>>> > get truncated in the select. Is there a way around this?
>>>
>>>
>>> Yes. This is fixed in PostgreSQL 9.4, so that query texts can be of
>>> virtually unlimited size and still be stored. Otherwise, it depends on
>>> your track_activity_query_size setting.
>>>
>>> --
>>> Regards,
>>> Peter Geoghegan
>>>
>>
>>
>
>
> --
> *Melvin Davidson*
> I reserve the right to fantasize. Whether or not you
> wish to share my fantasy is entirely up to you.
>
From | Date | Subject | |
---|---|---|---|
Next Message | Roxanne Reid-Bennett | 2015-01-20 02:54:49 | Re: Simple Atomic Relationship Insert |
Previous Message | Kyotaro HORIGUCHI | 2015-01-20 02:33:40 | Re: partitioning query planner almost always scans all tables |