pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Kellerer <shammat@gmx.net>
Cc: Markhof, Ingolf <ingolf.markhof@de.verizon.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Foreign table performance issue / PostgreSQK vs. ORACLE
Date: Fri, 29 Jan 2021 10:16:05 -0500
Message-ID: <2781126.1611933365@sss.pgh.pa.us> (raw)
In-Reply-To: <7289a882-66eb-c0d4-dc7a-c6ab16eb0201@gmx.net>
References: <f3b693bf6e5842bda2b7077469504eca@MS-FRA-E13EX02.intl.ad.vzwcorp.com>
	<7289a882-66eb-c0d4-dc7a-c6ab16eb0201@gmx.net>

Thomas Kellerer <shammat@gmx.net> writes:
> Markhof, Ingolf schrieb am 29.01.2021 um 13:56:
>> So, I wonder: Is there a fundamental difference between Oracle
>> database links and foreign tables in PostgreSQL that could explain
>> the different run times?

> My guess is, that your queries use predicates that can't be pushed down
> to the foreign server on Postgres, but Oracle can.
> If my assumption is correct, then maybe if you showed one example query,
> it might be possible to figure out a way to restructure it.

More generally:

https://wiki.postgresql.org/wiki/Slow_Query_Questions

These sorts of questions seldom have generic fixes, but if you give
us enough detail, we might be able to help.

			regards, tom lane





view thread (7+ messages)  latest in thread

Message-ID: <2781126.1611933365@sss.pgh.pa.us>
Permalink:  ../2781126.1611933365@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2781126.1611933365@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, shammat@gmx.net, ingolf.markhof@de.verizon.com
  Subject: Re: Foreign table performance issue / PostgreSQK vs. ORACLE
  In-Reply-To: <2781126.1611933365@sss.pgh.pa.us>
  References: <f3b693bf6e5842bda2b7077469504eca@MS-FRA-E13EX02.intl.ad.vzwcorp.com> <7289a882-66eb-c0d4-dc7a-c6ab16eb0201@gmx.net> <2781126.1611933365@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