Re: Recursive query performance issue

From: vincent elschot <vinny(at)xs4all(dot)nl>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Recursive query performance issue
Date: 2015-10-22 14:48:14
Message-ID: 5628F72E.2000005@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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?

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message David Osborne 2015-10-23 14:29:17 GroupAggregate and Integer Arrays
Previous Message Merlin Moncure 2015-10-21 19:49:33 Re: Recursive query performance issue