Recursive query performance issue - Mailing list pgsql-performance

From Jamie Koceniak
Subject Recursive query performance issue
Date
Msg-id BY2PR12MB07112FB4930B197E0CAB3307A4390@BY2PR12MB0711.namprd12.prod.outlook.com
Whole thread Raw
Responses Re: Recursive query performance issue
Re: Recursive query performance issue
Re: Recursive query performance issue
List pgsql-performance

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.

 

 

pgsql-performance by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: SELECT slows down on sixth execution
Next
From: Pavel Stehule
Date:
Subject: Re: Recursive query performance issue