pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Bruce Momjian <bruce@momjian.us>
Cc: Alexey Kondratov <a.kondratov@postgrespro.ru>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: v.makarov@postgrespro.ru
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: [PATCH] Increase the maximum value track_activity_query_size
Date: Sat, 21 Dec 2019 11:47:57 +0900
Message-ID: <20191221024757.GF15758@paquier.xyz> (raw)
In-Reply-To: <20191220135704.GC29807@momjian.us>
References: <7b5ecc5a9991045e2f13c84e3047541d@postgrespro.ru>
	<20191219154110.GL30116@momjian.us>
	<556.1576771167@sss.pgh.pa.us>
	<CA+Tgmobjp+cqjNW+397Ejbo=M8XNzykQPspfhbd39DVc8Wd7Wg@mail.gmail.com>
	<7a4ecea0-949e-efa7-865f-0ef2ddce52c3@postgrespro.ru>
	<20191220135704.GC29807@momjian.us>

On Fri, Dec 20, 2019 at 08:57:04AM -0500, Bruce Momjian wrote:
> I can imagine using larger pgstat_track_activity_query_size values for
> data warehouse queries, where they are long and there are only a few of
> them.

Why are those queries that long anyway?  A too long IN clause with an
insane amount of parameters which could be replaced by an ANY clause
with an array?
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (29+ messages)  latest in thread

Message-ID: <20191221024757.GF15758@paquier.xyz>
Permalink:  ../20191221024757.GF15758@paquier.xyz/
Also on:    postgresql.org/message-id/20191221024757.GF15758@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: michael@paquier.xyz, bruce@momjian.us, a.kondratov@postgrespro.ru, robertmhaas@gmail.com, tgl@sss.pgh.pa.us, v.makarov@postgrespro.ru
  Subject: Re: [PATCH] Increase the maximum value track_activity_query_size
  In-Reply-To: <20191221024757.GF15758@paquier.xyz>
  References: <7b5ecc5a9991045e2f13c84e3047541d@postgrespro.ru> <20191219154110.GL30116@momjian.us> <556.1576771167@sss.pgh.pa.us> <CA+Tgmobjp+cqjNW+397Ejbo=M8XNzykQPspfhbd39DVc8Wd7Wg@mail.gmail.com> <7a4ecea0-949e-efa7-865f-0ef2ddce52c3@postgrespro.ru> <20191220135704.GC29807@momjian.us> <20191221024757.GF15758@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox