From: vincent elschot <vinny@xs4all.nl>
To: pgsql-performance@postgresql.org
Subject: Re: Recursive query performance issue
Date: Thu, 22 Oct 2015 16:48:14 +0200
Message-ID: <5628F72E.2000005@xs4all.nl> (raw)
In-Reply-To: <BY2PR12MB07112FB4930B197E0CAB3307A4390@BY2PR12MB0711.namprd12.prod.outlook.com>
References: <BY2PR12MB07112FB4930B197E0CAB3307A4390@BY2PR12MB0711.namprd12.prod.outlook.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
On 20-10-15 19:34, Jamie Koceniak wrote:
>
> Version:
>
> -----------------------------------------------------------------------------------------------
>
> PostgreSQL 9.1.14 on x86_64-unknown-linux-gnu, compiled by gcc (Debian
> 4.7.2-5) 4.7.2, 64-bit
>
> Query Plan
>
> http://explain.depesz.com/s/4s37
>
> Normally, this query takes around 200-300 ms to execute.
>
> However when several queries are run concurrently, query performance
> drops to 30-60 seconds.
>
Is the concurrency the cause or the result of the slowdown?
Are you executing the same query with the same parameters or do the
parameters differ, perhaps making PostgreSQL
choose different queryplan?
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: vinny@xs4all.nl
Subject: Re: Recursive query performance issue
In-Reply-To: <5628F72E.2000005@xs4all.nl>
* 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