Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s86eP-009ntJ-HO for pgsql-general@arkaria.postgresql.org; Fri, 17 May 2024 23:06:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s86eP-001Dhy-7V for pgsql-general@arkaria.postgresql.org; Fri, 17 May 2024 23:06:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s86eO-001Dgu-Qm for pgsql-general@lists.postgresql.org; Fri, 17 May 2024 23:06:08 +0000 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1s86eM-000jSQ-9f for pgsql-general@lists.postgresql.org; Fri, 17 May 2024 23:06:07 +0000 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2e1fa1f1d9bso19439561fa.0 for ; Fri, 17 May 2024 16:06:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715987164; x=1716591964; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dRfZOT1V4FuajLlMRs9MaQFDgSASj4JPsvzzVGDjfu8=; b=nosaSke5BDgsWH6Itq4zJZ9f2M5Az+1zHu1MyI3zsBTO4H2BHySSrjFS0sabcvtSbb uBsAEZF1VQzoZp63h/EpDPR6wNJMQMcrMZxDoU0pq1LqDrpbhwCid1Rdhu0dunhCwiSB HAoWi78nJ8C3K7eesCOI3n/aFXKqe7yxvRdc7cI08rE86tuzB4hur4YMNMSLr0geQc9E yzb+yCBjX9LUn3oKvjMl+afZdZ+LI0OgJjYy+SPlojh3zbmqXw4fYVrr6c4y+W25c2tb 8QwnaP5i7l/hnFHzFOTg2ydDCwq3vyZjwP7Y7SbHnv18Ta2zU6uFYmB/qczbv+Bp7Xh4 Us9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715987164; x=1716591964; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dRfZOT1V4FuajLlMRs9MaQFDgSASj4JPsvzzVGDjfu8=; b=Eli4XqAlbK9lVB0vE1Btr+amoh9HijL7LJlMJm1uN3NweMF4VCDQYgwT0AMrVl7B31 agb4Ljk+zpAN9bCPNiuFg0FCKHYbb2UWN5Ylp3chc7NC6NerLBOaVf+wRZi+8n8rSSaE L4Sqo3+8vBjmeeQP+LGYGBEekaweeJYB31ms7DeavBqXJwl0a4XJ29tUQYUVbXrsV4Ab /fhCvisfwDykmC9E8yAxldgxa24GrpdbIZR+PwpOz5H7VnbKZYkZ6EaYf3LptfphsEdw +J8M1fiWplEjkFD2ZGajpIm+7Ot5TCHcwl3Xo8gEnV6nq60n/kVEklOqTBwle54L4hI1 3+XQ== X-Gm-Message-State: AOJu0YzrNasVfIcppwLuiyUgTYc2oXWmgS5cOCpbqFWvOSChwS9n5pRw gLmn4zzEslMyaiHx/WLW+5R84R9WD6+Th7WQlWXHSOpzljIjOEL7NDt7kCpj4dvSG8WXtzriBdW CNkP5BTIH4Eri0ym8cQYpgvZ4GAg= X-Google-Smtp-Source: AGHT+IGjoWcQ8KMPEqGmytXH7kP/r+SOxbSoS9Vg1DHXK4xok8qpluzd9Jjggh2gh14r6IXlIkdaCsf3CiPn180Np4c= X-Received: by 2002:a2e:b002:0:b0:2db:a9c9:4c5e with SMTP id 38308e7fff4ca-2e51fd47edfmr232964041fa.21.1715987163328; Fri, 17 May 2024 16:06:03 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Julien Rouhaud Date: Sat, 18 May 2024 07:05:51 +0800 Message-ID: Subject: Re: Execution history of a single query To: arun chirappurath Cc: "pgsql-generallists.postgresql.org" Content-Type: multipart/alternative; boundary="0000000000004f38020618ae65c1" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000004f38020618ae65c1 Content-Type: text/plain; charset="UTF-8" On Sat, 18 May 2024, 00:42 arun chirappurath, wrote: > Hi All, > > From pg_stat_statements we can get the overall execution details of > queries. > > Can we get the execution details of a single queryid ? > > Like today it took 6 seconds,yesterday 5 and so on..just for one query. > you can use PoWA for that: https://powa.readthedocs.io/en/latest/ > --0000000000004f38020618ae65c1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, 18 May 2024, 00:42 arun chirappurath, <arunsnmimt@gmail.com> wrote:
=
Hi All,

From pg_stat_statements we can get the ove= rall execution details of queries.

Can we get the execution details of a single queryid ?

Like today it took 6 seconds,yest= erday 5 and so on..just for one query.

you can use PoWA for that:=C2=A0https://powa.readthedocs.io= /en/latest/
--0000000000004f38020618ae65c1--