pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Shijia Wei <shijiawei@utexas.edu>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-performance@lists.postgresql.org
Subject: Re: Consecutive Query Executions with Increasing Execution Time
Date: Mon, 16 Dec 2019 15:50:17 -0500
Message-ID: <19575.1576529417@sss.pgh.pa.us> (raw)
In-Reply-To: <CAH2-WzneCi_hM5_JGoPvGqKJr_Qd5hXcQzABz9-tQVndw9vwpw@mail.gmail.com>
References: <CABSfb-6iUvpGCzcgni+tVoiUWTc9aQdUtKbOzFzGqJcypiLa4g@mail.gmail.com>
	<adb87d39c5faa26d85274824ea4dd15ffc44ac40.camel@cybertec.at>
	<CABSfb-55VAcUwvy+PtsBsEk8EMfODtC6p65qVHSYhOqWWf80mA@mail.gmail.com>
	<CAH2-WzneCi_hM5_JGoPvGqKJr_Qd5hXcQzABz9-tQVndw9vwpw@mail.gmail.com>

Peter Geoghegan <pg@bowt.ie> writes:
> Why do the first and the twentieth executions of the query have almost
> identical "buffers shared/read" numbers? That seems odd.

It's repeat execution of the same query, so that doesn't seem odd to me.

This last set of numbers suggests that there's some issue with the
parallel execution infrastructure in particular, though I don't see what
it would be.  Doesn't execParallel wait for the workers to exit before
the leader finishes its query?  If so, how is there any persistent state
that would interfere with a later query?

			regards, tom lane





view thread (18+ messages)  latest in thread

Message-ID: <19575.1576529417@sss.pgh.pa.us>
Permalink:  ../19575.1576529417@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19575.1576529417@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pg@bowt.ie, shijiawei@utexas.edu, laurenz.albe@cybertec.at, pgsql-performance@lists.postgresql.org
  Subject: Re: Consecutive Query Executions with Increasing Execution Time
  In-Reply-To: <19575.1576529417@sss.pgh.pa.us>

* 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