Re: Performance of Postgresql Foreign Data Wrapper

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: "Cassiano, Marco" <mcassiano(at)manord(dot)com>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Performance of Postgresql Foreign Data Wrapper
Date: 2015-01-31 02:01:16
Message-ID: 54CC376C.9070508@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 1/14/15 10:48 AM, Cassiano, Marco wrote:
> Both query were issued repeatedly to get rid of disk access and database
> connection overhead time.
>
> Activating duration and statement logging on the remote server I can see
> that the query issued through the fdw from the LOCAL SERVER
>
> is actually performed by opening a cursor :

I don't think the cursor is the issue here, but can you try running
those same commands directly on the remote server to make sure?

It looks like it's the fetch itself that's slow, which makes me wonder
if there's some network or other problem.
--
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Pavel Stehule 2015-01-31 06:28:08 Re: Query performance
Previous Message Jim Nasby 2015-01-31 01:57:31 Re: Autocompletion with full text search