pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jessica Richard <rjessil@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: select from dblink very slow
Date: Fri, 18 May 2007 06:20:05 -0700 (PDT)
Message-ID: <267133.52846.qm@web56415.mail.re3.yahoo.com> (raw)

I need to joint select from table A in the current database A and dblink to table B in database B, the result coming from tableB in db B is very slow because I have to select all the rows from tableB from dblink then do "where" with table A in the current db....doing dblink this way is very very slow....

Any idea on how to improve this?

Thanks,
Jessica

       
---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. 

view thread (2+ messages)  latest in thread

Message-ID: <267133.52846.qm@web56415.mail.re3.yahoo.com>
Permalink:  ../267133.52846.qm@web56415.mail.re3.yahoo.com/
Also on:    postgresql.org/message-id/267133.52846.qm@web56415.mail.re3.yahoo.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: rjessil@yahoo.com
  Subject: Re: select from dblink very slow
  In-Reply-To: <267133.52846.qm@web56415.mail.re3.yahoo.com>

* 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