Re: [PATCH] Increase the maximum value track_activity_query_size - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [PATCH] Increase the maximum value track_activity_query_size
Date
Msg-id CAA8=A7-u0J9za-du2YwPwOObHq24Dv=WLr4MesiKQShRchp6NQ@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Increase the maximum value track_activity_query_size  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Responses Re: [PATCH] Increase the maximum value track_activity_query_size  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Re: [PATCH] Increase the maximum value track_activity_query_size  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On Tue, Dec 31, 2019 at 10:16 AM Andrew Dunstan
<andrew.dunstan@2ndquadrant.com> wrote:
>
> On Tue, Dec 31, 2019 at 9:38 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> >
> > This doesn't seem like a reason not to allow a higher limit, like a
> > megabyte or so, but I'm not sure that pushing it to the moon would be
> > wise.
> >
>
>
> Just to get a mental handle on the size of queries we might be
> allowing before truncation, I did some very rough arithmetic on what
> well known texts might fit in a megabyte. By my calculations you could
> fit about four Animal Farms or one Madame Bovary in about a megabyte.
> So I think that seems like more than enough :-). (My mind kinda
> explores at the thought of debugging a query as long as Animal Farm.)
>


Turns out my arithmetic was a bit off. Animal Farm is 90 kb, Madame
Bovary 678 Kb.

cheers

andrew


-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [PATCH] Increase the maximum value track_activity_query_size
Next
From: Peter Geoghegan
Date:
Subject: Re: Building infrastructure for B-Tree deduplication that recognizeswhen opclass equality is also equivalence